diff options
Diffstat (limited to 'graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex')
-rw-r--r-- | graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex index c589b546c4..d800fff1ed 100644 --- a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex +++ b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex @@ -1,7 +1,10 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Definitions for pgf-PeriodicTable Manual -% Hugo Gomes @ 10/10/2022 -\def\pgfPTversion{1.0.0}% +% Hugo Gomes @ 08/11/2022 v1.0.1 +% Hugo Gomes @ 10/10/2022 v1.0.0 +\def\pgfPTversion{1.0.1}% +\def\pgfPTnewinversion#1{new in v#1}% +\def\pgfPTchangedinversion#1{changed in v#1}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[ansinew]{inputenc} \usepackage{verdana} @@ -47,14 +50,14 @@ pdfproducer = {pdfeTeX-1.\the\pdftexversion\pdftexrevision}, \addtolength{\headheight}{25pt}% \fancypagestyle{pgfPTManual}{% \fancyhf{} % clear all header and footer fields -\fancyhead[R]{\usefont{T1}{verdana}{m}{n}\nouppercase{\leftmark}}% +\fancyhead[R]{\usefont{T1}{vna}{m}{n}\nouppercase{\leftmark}}% \fancyhead[L]{\color{blue!70!black}pgf-PeriodicTable \pgfPTversion}% \fancyfoot[R]{\usefont{T1}{vna}{m}{n}\textbf{\thepage\ of \pageref{LastPage}}}% \fancyfoot[L]{\ }}% \fancypagestyle{plain}{% \addtolength{\textwidth}{3.5cm}% \fancyhf{} % clear all header and footer fields -\fancyhead[R]{\usefont{T1}{verdana}{m}{n}\nouppercase{\leftmark}}% +\fancyhead[R]{\usefont{T1}{vna}{m}{n}\nouppercase{\leftmark}}% \fancyhead[L]{\color{blue!70!black}pgf-PeriodicTable \pgfPTversion}% \fancyfoot[R]{\usefont{T1}{vna}{m}{n}\textbf{\thepage\ of \pageref{LastPage}}}% \fancyfoot[L]{\ }}% @@ -242,6 +245,12 @@ pdfproducer = {pdfeTeX-1.\the\pdftexversion\pdftexrevision}, {\textcolor{blue!50!black}{\textbackslash pgfPTnewZlist\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}\{}% \textcolor{red!50!black}{#2}\textcolor{blue!50!black}{\}}};}% }% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \pgfPTMsetLanguage{language flag} +\def\pgfPTMsetLanguage#1{\ignorespaces% +\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=center,fill=black!10,rounded corners=2pt] % +{\textcolor{blue!50!black}{\textbackslash pgfPTsetLanguage\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}};}% +}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \pgfPTMoption[version]{level}{option}{default}{description} level=3-> subsubsection; level=4-> paragraph \def\pgfPTMoption{\@ifnextchar[\pgfPTM@option{\pgfPTM@option[]}}% @@ -254,7 +263,7 @@ pdfproducer = {pdfeTeX-1.\the\pdftexversion\pdftexrevision}, \node[below right,font=\small\bfseries] (a) at (0,0) {\hypertarget{option:#3}{#3}};% \node[below left,font=\small] (b) at (\textwidth-.3333em,0) {default: \itshape#4};% \node[below right,text=black!80,font=\small,text width=\textwidth-.6666em] (c) at (a.south west) % -{#5\ifx\pgfPTM@version\@empty\relax\else\hfill\textit{\textcolor{blue}{(new in v\pgfPTM@version)}}\fi};% +{#5\ifx\pgfPTM@version\@empty\relax\else\hfill\textit{\textcolor{blue}{(\pgfPTM@version)}}\fi};% \begin{pgfonlayer}{back}% \path[left color=orange!20,right color=black!20!orange!30,rounded corners=2pt] (a.north west) rectangle (c.south east);% \end{pgfonlayer}% @@ -282,7 +291,7 @@ pdfproducer = {pdfeTeX-1.\the\pdftexversion\pdftexrevision}, \node[below right,font=\small\bfseries] (a) at (0,0) {\hypertarget{style:#3}{#3}};% \node[below left,font=\small] (b) at (\textwidth-.3333em,0) {default: \itshape#4};% \node[below right,text=black!80,font=\small,text width=\textwidth-.6666em] (c) at (a.south west) % -{#5\ifx\pgfPTM@version\@empty\relax\else\hfill\textit{\textcolor{blue}{(new in v\pgfPTM@version)}}\fi};% +{#5\ifx\pgfPTM@version\@empty\relax\else\hfill\textit{\textcolor{blue}{(\pgfPTM@version)}}\fi};% \begin{pgfonlayer}{back}% \path[left color=cyan!20,right color=black!20!cyan!30,rounded corners=2pt] (a.north west) rectangle (c.south east);% \end{pgfonlayer}% @@ -299,7 +308,7 @@ pdfproducer = {pdfeTeX-1.\the\pdftexversion\pdftexrevision}, \node[below right,font=\small\bfseries] (a) at (0,0) {\hypertarget{option:#3}{#3}};% \node[below left,font=\small] (b) at (\textwidth-.3333em,0) {\itshape#4};% \node[below right,text=black!80,font=\small,text width=\textwidth-.6666em] (c) at (a.south west) % -{#5\ifx\pgfPTM@version\@empty\relax\else\hfill\textit{\textcolor{blue}{(new in v\pgfPTM@version)}}\fi};% +{#5\ifx\pgfPTM@version\@empty\relax\else\hfill\textit{\textcolor{blue}{(\pgfPTM@version)}}\fi};% \begin{pgfonlayer}{back}% \path[left color=cyan!20,right color=black!20!cyan!30,rounded corners=2pt] (a.north west) rectangle (c.south east);% \end{pgfonlayer}% |