comparison docs/_latex/my-doc-style.sty @ 780:47ae57d92ed3

New version of my-doc-style.sty
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 16 May 2026 13:04:04 +0200
parents 48deafc1fd2f
children
comparison
equal deleted inserted replaced
779:49d43c125781 780:47ae57d92ed3
2 % 2 %
3 % Some font hacks for my Sphinx PDF documents 3 % Some font hacks for my Sphinx PDF documents
4 % 4 %
5 \NeedsTeXFormat{LaTeX2e} 5 \NeedsTeXFormat{LaTeX2e}
6 \ProvidesPackage{my-doc-style}[% 6 \ProvidesPackage{my-doc-style}[%
7 2026/05/15 v0.2 (Franz Glasner) Some style customizations (title et al.)] 7 2026/05/16 v0.2.1 (Franz Glasner) Some style customizations (title et al.)]
8 \RequirePackage{xkeyval} 8 \RequirePackage{xkeyval}
9 9
10 % A key compatible with options processing but bool (because DeclareBoolOptionX) 10 % A key compatible with options processing but bool (because DeclareBoolOptionX)
11 % If given than the Sphinx standard titlepage is used without changes. 11 % If given than the Sphinx standard titlepage is used without changes.
12 \define@boolkey{my-doc-style.sty}{stdtitle}[true]{} 12 \define@boolkey{my-doc-style.sty}{stdtitle}[true]{}
31 % \sphinxmaketitle calls the macro \@thanks: abuse this 31 % \sphinxmaketitle calls the macro \@thanks: abuse this
32 \gdef\@thanks{% 32 \gdef\@thanks{%
33 \ifx\mds@builddate\@empty\relax% 33 \ifx\mds@builddate\@empty\relax%
34 \ifx\mds@vcs@revision\@empty\relax% 34 \ifx\mds@vcs@revision\@empty\relax%
35 \else% 35 \else%
36 \hfill\normalsize\textsf{(rv:\mds@vcs@revision )}% 36 \hfill\normalsize\textsf{(rev\ \mds@vcs@revision )}%
37 \fi% 37 \fi%
38 \else% 38 \else%
39 \hfill\normalsize\textsf{Last updated on \mds@builddate% 39 \hfill\normalsize\textsf{Last updated on \mds@builddate%
40 \ifx\mds@vcs@revision\@empty\relax\else\enspace(rv:\mds@vcs@revision )\fi} 40 \ifx\mds@vcs@revision\@empty\relax\else\enspace(rev\ \mds@vcs@revision )\fi}
41 \fi% 41 \fi%
42 } 42 }
43 \fi 43 \fi
44 44
45 \endinput 45 \endinput