From a378d2379e220fa1022ae052bcd1aed6bf0d2c41 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 1 Jun 2023 03:03:23 +0000 Subject: CTAN sync 202306010303 --- .../manualfiles/pgfPTmanual.macros.tex | 29 +++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex') diff --git a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex index 74917d18ba..a62db8b8da 100644 --- a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex +++ b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex @@ -1,8 +1,10 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Definitions for pgf-PeriodicTable Manual +% Hugo Gomes @ 29/05/2023 v2.0.1 +% Hugo Gomes @ 20/02/2023 v2.0.0 % Hugo Gomes @ 08/11/2022 v1.0.1 % Hugo Gomes @ 10/10/2022 v1.0.0 -\def\pgfPTversion{2.0.0}% +\def\pgfPTversion{2.0.1}% \def\pgfPTnewinversion#1{new in v#1}% \def\pgfPTchangedinversion#1{changed in v#1}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -17,6 +19,31 @@ \setcounter{secnumdepth}{1}% \setcounter{tocdepth}{4} % +\makeatletter% +\global\renewcommand\thesection{}% +\renewcommand\thesubsection{\@arabic\c@subsection}% +\renewcommand\section{\@startsection{section}{1}{\z@}% + {-3.5ex \@plus -1ex \@minus -.2ex}% + {2.3ex \@plus.2ex}% + {\hskip-1.4395em\normalfont\Large\bfseries}}% +\renewcommand*\l@section[2]{% + \ifnum \c@tocdepth >\z@% + \addpenalty\@secpenalty% + \addvspace{1.0em \@plus\p@}% + \setlength\@tempdima{0em}% + \begingroup% + \parindent \z@ \rightskip \@pnumwidth% + \parfillskip -\@pnumwidth% + \leavevmode \bfseries% + \advance\leftskip\@tempdima% + \hskip -\leftskip% + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par% + \endgroup% + \fi}% +\renewcommand*\l@subsection{\@dottedtocline{2}{1.5em}{1.5em}}% +\renewcommand*\l@subsubsection{\@dottedtocline{3}{3.0em}{2.4em}}% +\renewcommand*\l@paragraph{\@dottedtocline{4}{4.25em}{1.35em}}% +\makeatother% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \pgfdeclarelayer{back}% \pgfsetlayers{back,main}% -- cgit v1.2.3