Compare commits
No commits in common. "main" and "v1.0.1" have entirely different histories.
|
@ -1,19 +1,13 @@
|
||||||
This release of Moloch adds support for `\thanks` in the title page and allows
|
## [0.6.0](https://github.com/jolars/moloch/compare/v0.5.0...v0.6.0) (2025-01-17)
|
||||||
customization of the bar line width. The 1.0.0 version was not released
|
|
||||||
on CTAN due to a couple of small issues, which were then fixed in 1.0.1.
|
|
||||||
|
|
||||||
See below fro detailed changes.
|
|
||||||
|
|
||||||
## [1.0.1](https://github.com/jolars/moloch/compare/v1.0.0...v1.0.1) (2025-04-01)
|
|
||||||
|
|
||||||
### Bug Fixes
|
|
||||||
|
|
||||||
* add missing files for updating version tags ([ba01d33](https://github.com/jolars/moloch/commit/ba01d33b1993d4992372420f25f6390c5e4baa91))
|
|
||||||
* use proper package names ([0c4d38e](https://github.com/jolars/moloch/commit/0c4d38e3c2e2b0b93bfc1b6c1abe6bf0a3a01311))
|
|
||||||
|
|
||||||
## [1.0.0](https://github.com/jolars/moloch/compare/v0.6.0...v1.0.0) (2025-04-01)
|
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
* add customization of bar line width ([#42](https://github.com/jolars/moloch/issues/42)) ([be0d8f2](https://github.com/jolars/moloch/commit/be0d8f23c72b9760baeb31a58d2e9988cba5d19a))
|
* add back highcontrast theme from metropolis ([3039994](https://github.com/jolars/moloch/commit/3039994e27a01d54d7a3cfa696318413161f5e15))
|
||||||
* support `\thanks` in title page ([#45](https://github.com/jolars/moloch/issues/45)) ([de3db5e](https://github.com/jolars/moloch/commit/de3db5e517c06d1b8793b3a1c134b9bf4ad8b189))
|
* add new color theme based on the tomorrow color theme ([13e7300](https://github.com/jolars/moloch/commit/13e73007c6d29989684aa228f7f74d3bdcce526f))
|
||||||
|
* add option to customize frame numbering of standout pages ([d6d0e3c](https://github.com/jolars/moloch/commit/d6d0e3c61565f06d1987c275e2460c9b61ef8ae3)), closes [#33](https://github.com/jolars/moloch/issues/33)
|
||||||
|
* redesign section and subsection pages ([#30](https://github.com/jolars/moloch/issues/30)) ([5a98c69](https://github.com/jolars/moloch/commit/5a98c69a3f07b5b36d5d2c5e5a117e25c472ad22))
|
||||||
|
* use golden rule in top-bottom spacing of title page ([85eabc7](https://github.com/jolars/moloch/commit/85eabc7beef4296dcc7a7ac53eb0f7a785fe8c35))
|
||||||
|
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
* "test: remove standoutnumbering test" ([ce7540d](https://github.com/jolars/moloch/commit/ce7540d71caf490cbd3129345cd778b1519394d9))
|
||||||
|
|
87
package.nix
87
package.nix
|
@ -1,87 +0,0 @@
|
||||||
{
|
|
||||||
writeShellScript,
|
|
||||||
writableTmpDirAsHomeHook,
|
|
||||||
|
|
||||||
stdenvNoCC,
|
|
||||||
|
|
||||||
texlivePackages,
|
|
||||||
texliveBasic,
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
texEnv = texliveBasic.withPackages (ps: with ps; [
|
|
||||||
# l3build
|
|
||||||
beamer
|
|
||||||
biblatex
|
|
||||||
enumitem
|
|
||||||
fileinfo
|
|
||||||
hypdoc
|
|
||||||
hyperref
|
|
||||||
listings
|
|
||||||
metalogo
|
|
||||||
parskip
|
|
||||||
pgf
|
|
||||||
pgfopts
|
|
||||||
setspace
|
|
||||||
xurl
|
|
||||||
microtype
|
|
||||||
|
|
||||||
latexmk
|
|
||||||
]);
|
|
||||||
in stdenvNoCC.mkDerivation rec {
|
|
||||||
pname = "moloch";
|
|
||||||
version = "1.0.2-DEV-xenia";
|
|
||||||
|
|
||||||
outputs = [
|
|
||||||
"tex"
|
|
||||||
"texdoc"
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru.tlDeps = with texlivePackages; [ latex ];
|
|
||||||
|
|
||||||
src = ./.;
|
|
||||||
|
|
||||||
dontConfigure = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
texEnv
|
|
||||||
|
|
||||||
# multiple-outputs.sh fails if $out is not defined
|
|
||||||
(writeShellScript "force-tex-output.sh" ''
|
|
||||||
out="''${tex-}"
|
|
||||||
'')
|
|
||||||
|
|
||||||
writableTmpDirAsHomeHook # Need a writable $HOME for latexmk
|
|
||||||
];
|
|
||||||
|
|
||||||
# we just build manually, but moloch's own method of building is using l3build
|
|
||||||
# i have no idea how to get that working, so for now just do it normal style
|
|
||||||
buildPhase = ''
|
|
||||||
runHook preBuild
|
|
||||||
|
|
||||||
# Generate the style files
|
|
||||||
cd src
|
|
||||||
latex beamertheme${pname}.ins
|
|
||||||
|
|
||||||
# Generate the documentation
|
|
||||||
cp ../doc/${pname}.tex .
|
|
||||||
latexmk -pdf ${pname}.tex
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
runHook postBuild
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
path="$tex/tex/latex/${pname}"
|
|
||||||
mkdir -p "$path"
|
|
||||||
cp src/*.{cls,def,clo,sty} "$path/"
|
|
||||||
|
|
||||||
path="$texdoc/doc/tex/latex/${pname}"
|
|
||||||
mkdir -p "$path"
|
|
||||||
cp src/${pname}.pdf "$path/"
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
}
|
|
|
@ -47,16 +47,7 @@
|
||||||
\RequirePackage{tikz}
|
\RequirePackage{tikz}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% \subsubsection{Memoization and Tikz Externalization}
|
|
||||||
%
|
%
|
||||||
% See the documentation for the correspondign section under the outer theme for
|
|
||||||
% more information on the following lines.
|
|
||||||
%
|
|
||||||
% \begin{macrocode}
|
|
||||||
\providecommand{\tikzexternalenable}{}
|
|
||||||
\providecommand{\tikzexternaldisable}{}
|
|
||||||
\providecommand{\mmzUnmemoizable}{}
|
|
||||||
% \end{macrocode}
|
|
||||||
%
|
%
|
||||||
% \subsubsection{Options}
|
% \subsubsection{Options}
|
||||||
%
|
%
|
||||||
|
@ -404,7 +395,7 @@
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\setbeamertemplate{progress bar in section page}{
|
\setbeamertemplate{progress bar in section page}{
|
||||||
\pgfmathsetlength{\moloch@progressonsectionpage}{
|
\pgfmathsetlength{\moloch@progressonsectionpage}{
|
||||||
\textwidth * min(1,\insertframenumber/\insertmainframenumber)
|
\textwidth * min(1,\insertframenumber/\inserttotalframenumber)
|
||||||
}%
|
}%
|
||||||
\tikzexternaldisable%
|
\tikzexternaldisable%
|
||||||
\begin{tikzpicture}[baseline=(current bounding box.north)]
|
\begin{tikzpicture}[baseline=(current bounding box.north)]
|
||||||
|
@ -442,12 +433,9 @@
|
||||||
% \subsubsection{Lists and Floats}
|
% \subsubsection{Lists and Floats}
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\setbeamertemplate{itemize item}[circle]
|
\setbeamertemplate{itemize item}{\(\bullet\)}
|
||||||
\setbeamertemplate{itemize subitem}{\raise1.5pt\hbox{\vrule width 0.8ex height 0.8ex}}
|
\setbeamertemplate{itemize subitem}{\(\circ\)}
|
||||||
\setbeamerfont{itemize subsubitem}{size=\tiny}
|
\setbeamertemplate{itemize subsubitem}{\textbullet}
|
||||||
\setbeamertemplate{itemize subsubitem}{%
|
|
||||||
\usebeamerfont*{itemize subsubitem}\raise1.75pt\hbox{\donotcoloroutermaths$\blacktriangleright$}%
|
|
||||||
}
|
|
||||||
\setbeamertemplate{caption label separator}{: }
|
\setbeamertemplate{caption label separator}{: }
|
||||||
\setbeamertemplate{caption}[numbered]
|
\setbeamertemplate{caption}[numbered]
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
|
|
|
@ -38,20 +38,6 @@
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
% \subsubsection{Memoization and Tikz Externalization}
|
|
||||||
%
|
|
||||||
% To avoid generating externalized figures of the progressbar we have to disable
|
|
||||||
% them with ``tikzexternalenable'' and ``tikzexternaldisable''. However, if the
|
|
||||||
% ``external'' library is not loaded we would get undefined control sequence
|
|
||||||
% problems, hence we define them as no-ops if they are not defined yet.
|
|
||||||
% We do the same for the ``mmzUnmemoizable'' command from the memoize package, in
|
|
||||||
% order to avoid memoization of the progress bars.
|
|
||||||
%
|
|
||||||
% \begin{macrocode}
|
|
||||||
\providecommand{\tikzexternalenable}{}
|
|
||||||
\providecommand{\tikzexternaldisable}{}
|
|
||||||
\providecommand{\mmzUnmemoizable}{}
|
|
||||||
% \end{macrocode}
|
|
||||||
%
|
%
|
||||||
% \subsubsection{Options}
|
% \subsubsection{Options}
|
||||||
%
|
%
|
||||||
|
@ -125,23 +111,42 @@
|
||||||
% \end{macrocode}%
|
% \end{macrocode}%
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
%
|
%
|
||||||
|
% \subsubsection{Deprecated Options}
|
||||||
|
%
|
||||||
|
% These options are deprecated and will be removed in a future version.
|
||||||
|
%
|
||||||
|
% \begin{macro}{numbering}
|
||||||
|
% Adds slide numbers to the bottom right of each slide.
|
||||||
|
% \begin{macrocode}
|
||||||
|
\pgfkeys{
|
||||||
|
/moloch/outer/numbering/.cd,
|
||||||
|
.is choice,
|
||||||
|
none/.code={%
|
||||||
|
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
|
||||||
|
Use beamer's ``page number in head/foot'' template instead}%
|
||||||
|
\setbeamertemplate{page number in head/foot}[default]
|
||||||
|
},
|
||||||
|
counter/.code={%
|
||||||
|
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
|
||||||
|
Use beamer's ``page number in head/foot'' template instead}%
|
||||||
|
\setbeamertemplate{page number in head/foot}[framenumber]
|
||||||
|
},
|
||||||
|
fraction/.code={%
|
||||||
|
\PackageWarning{moloch}{The ``numbering'' option is deprecated.
|
||||||
|
Use beamer's ``page number in head/foot'' template instead}%
|
||||||
|
\setbeamertemplate{page number in head/foot}[totalframenumber]
|
||||||
|
},
|
||||||
|
}
|
||||||
|
% \end{macrocode}
|
||||||
|
% \end{macro}
|
||||||
|
%
|
||||||
% \subsubsection{Slide Numbering}
|
% \subsubsection{Slide Numbering}
|
||||||
%
|
%
|
||||||
% Moloch defaults to numbering frames. To modify this, simply copy this line to your
|
% Moloch defaults to numbering frames. To modify this, simply copy this line to your
|
||||||
% preamble and replace |appendixframenumber|.
|
% preamble and replace |framenumber|.
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\setbeamertemplate{page number in head/foot}[appendixframenumber]
|
\setbeamertemplate{page number in head/foot}[framenumber]
|
||||||
% \end{macrocode}
|
|
||||||
%
|
|
||||||
% \subsubsection{Notes Page Numbering}
|
|
||||||
%
|
|
||||||
% Moloch defaults to numbering notes pages in a format compatible with Pympress.
|
|
||||||
% This means that presentations using |show notes| (i.e., notes on every other
|
|
||||||
% slide) work by default.
|
|
||||||
%
|
|
||||||
% \begin{macrocode}
|
|
||||||
\addtobeamertemplate{note page}{}{\thispdfpagelabel{notes:\insertframenumber}}
|
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% \subsubsection{Head and footline}
|
% \subsubsection{Head and footline}
|
||||||
|
|
|
@ -104,6 +104,19 @@
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
|
% To avoid generating externalized figures of the progressbar we have to disable
|
||||||
|
% them with ``tikzexternalenable'' and ``tikzexternaldisable''. However, if the
|
||||||
|
% ``external'' libray is not loaded we would get undefined control sequence
|
||||||
|
% problems, hence we define them as no-ops if they are not defined yet.
|
||||||
|
% We do the same for the ``mmzUnmemoizable'' command from the memoize package, in
|
||||||
|
% order to avoid memoization of the progress bars.
|
||||||
|
%
|
||||||
|
% \begin{macrocode}
|
||||||
|
\providecommand{\tikzexternalenable}{}
|
||||||
|
\providecommand{\tikzexternaldisable}{}
|
||||||
|
\providecommand{\mmzUnmemoizable}{}
|
||||||
|
% \end{macrocode}
|
||||||
|
%
|
||||||
% \subsubsection{Component Sub-Packages}
|
% \subsubsection{Component Sub-Packages}
|
||||||
%
|
%
|
||||||
% Having processed the options, we can now load the component sub-packages of
|
% Having processed the options, we can now load the component sub-packages of
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
\documentclass[hyperref={draft}]{beamer}
|
|
||||||
|
|
||||||
\useoutertheme{moloch}
|
|
||||||
\useinnertheme{moloch}
|
|
||||||
\usefonttheme{moloch}
|
|
||||||
\usecolortheme{moloch}
|
|
||||||
|
|
||||||
\usepackage{lmodern}
|
|
||||||
|
|
||||||
\input{separationexample}
|
|
File diff suppressed because it is too large
Load Diff
|
@ -38,37 +38,40 @@
|
||||||
\end{proof}
|
\end{proof}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
|
\vfil\break
|
||||||
|
\END
|
||||||
|
|
||||||
{
|
{
|
||||||
\molochset{titleformat frame=smallcaps}
|
\molochset{titleformat frame=smallcaps}
|
||||||
\begin{frame}{Small caps}
|
\begin{frame}{Small caps}
|
||||||
This frame uses the \texttt{smallcaps} title format.
|
This frame uses the \texttt{smallcaps} title format.
|
||||||
|
|
||||||
\begin{block}{Block}
|
\begin{block}{Block}
|
||||||
Some content
|
Some content
|
||||||
\end{block}
|
\end{block}
|
||||||
|
|
||||||
\begin{alertblock}{Alert Block}
|
\begin{alertblock}{Alert Block}
|
||||||
Yet more content
|
Yet more content
|
||||||
\end{alertblock}
|
\end{alertblock}
|
||||||
|
|
||||||
\begin{exampleblock}{Example Block}
|
\begin{exampleblock}{Example Block}
|
||||||
Just to try out the different blocks
|
Just to try out the different blocks
|
||||||
\end{exampleblock}
|
\end{exampleblock}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
\molochset{titleformat frame=allsmallcaps}
|
\molochset{titleformat frame=allsmallcaps}
|
||||||
\begin{frame}{All small caps}
|
\begin{frame}{All small caps}
|
||||||
This frame uses the \texttt{allsmallcaps} title format.
|
This frame uses the \texttt{allsmallcaps} title format.
|
||||||
\end{frame}
|
\end{frame}
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
\molochset{titleformat frame=allcaps}
|
\molochset{titleformat frame=allcaps}
|
||||||
\begin{frame}{All caps}
|
\begin{frame}{All caps}
|
||||||
This frame uses the \texttt{allcaps} title format.
|
This frame uses the \texttt{allcaps} title format.
|
||||||
\end{frame}
|
\end{frame}
|
||||||
}
|
}
|
||||||
|
|
||||||
\begin{frame}{Lists}
|
\begin{frame}{Lists}
|
||||||
|
@ -76,15 +79,7 @@
|
||||||
\column{0.33\textwidth}
|
\column{0.33\textwidth}
|
||||||
Items
|
Items
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Flour
|
\item Milk \item Eggs \item Potatoes
|
||||||
\begin{itemize}
|
|
||||||
\item Wheat
|
|
||||||
\begin{itemize}
|
|
||||||
\item Whole-grain
|
|
||||||
\item White
|
|
||||||
\end{itemize}
|
|
||||||
\end{itemize}
|
|
||||||
\item Eggs
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\column{0.33\textwidth}
|
\column{0.33\textwidth}
|
||||||
|
@ -143,6 +138,7 @@
|
||||||
\end{column}
|
\end{column}
|
||||||
\end{columns}
|
\end{columns}
|
||||||
|
|
||||||
|
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\appendix
|
\appendix
|
||||||
|
@ -151,7 +147,8 @@
|
||||||
Here are some backup slides
|
Here are some backup slides
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\vfil\break
|
|
||||||
\END
|
|
||||||
|
\end{document}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
\input regression-test
|
|
||||||
|
|
||||||
\title{Moloch Test Suite}
|
|
||||||
\subtitle{A subtitle that is way to long and in fact might just need to be split across lines}
|
|
||||||
|
|
||||||
\author[Johan]{Johan Larsson}
|
|
||||||
\institute[LU]{Lund Univesity//Department of Statistics}
|
|
||||||
\date{April 23, 2024}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\START
|
|
||||||
\showoutput
|
|
||||||
|
|
||||||
\begin{frame}{Table of contents}
|
|
||||||
\setbeamertemplate{section in toc}[sections numbered]
|
|
||||||
\tableofcontents[hideallsubsections]
|
|
||||||
\end{frame}
|
|
||||||
|
|
||||||
\section{Results}
|
|
||||||
|
|
||||||
\subsection{Proof of the Main Theorem}
|
|
||||||
|
|
||||||
\begin{frame}<1>
|
|
||||||
\frametitle{There Is No Largest Prime Number}
|
|
||||||
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
|
|
||||||
|
|
||||||
\begin{theorem}
|
|
||||||
There is no largest prime number.
|
|
||||||
\end{theorem}
|
|
||||||
\begin{proof}
|
|
||||||
\begin{enumerate}
|
|
||||||
\item<1-| alert@1> Suppose $p$ were the largest prime number.
|
|
||||||
\item<2-> Let $q$ be the product of the first $p$ numbers.
|
|
||||||
\item<3-> Then $q$\;+\,$1$ is not divisible by any of them.
|
|
||||||
\item<1-> Thus $q$\;+\,$1$ is also prime and greater than $p$.\qedhere
|
|
||||||
\end{enumerate}
|
|
||||||
\end{proof}
|
|
||||||
\end{frame}
|
|
||||||
|
|
||||||
\vfil\break
|
|
||||||
\END
|
|
||||||
|
|
||||||
\end{document}
|
|
4384
testfiles/test.tlg
4384
testfiles/test.tlg
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue