summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-11 21:05:14 +0000
committerKarl Berry <karl@freefriends.org>2022-10-11 21:05:14 +0000
commit573e4a989e696445a4325f22fb918996181b7992 (patch)
treee7ffc4e379c8b0d7b6795754909e572a8291aa2f /Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex
parent7fc30565d08d5a1cf0fd06bbc89c361fe7847358 (diff)
pgf-periodictable (11oct22)
git-svn-id: svn://tug.org/texlive/trunk@64681 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex196
1 files changed, 196 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex
new file mode 100644
index 00000000000..de3c37c2cfd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex
@@ -0,0 +1,196 @@
+\subsubsection{\texorpdfstring{\ding{224} Title and Legend}{Title and Legend}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% show title
+\label{option_show title}%
+\pgfPTMoption{4}{show title}{true}%
+{When set to \red{true} the title is shown, otherwise the title (Periodic Table of elements) is not shown.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},show title=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},show title=false]}}%
+\\ [0pt]\pgfPTendoption%
+% title font
+\label{option_title font}%
+\pgfPTMoption{4}{title font}{\string\Large\string\bfseries}%
+{Sets the font used in the title.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},title font=\string\Huge\string\itshape]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},title font=\Huge\itshape]}}%
+\\ [0pt]\pgfPTendoption%
+% title color
+\label{option_title color}%
+\pgfPTMoption{4}{title color}{black}%
+{Sets the title color.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},title color=green!50!black]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},title color=green!50!black]}}%
+\\ [0pt]\pgfPTendoption%
+% title (pseudo style)
+\label{style_title}%
+\pgfPTMstyle{4}{title}{\{f=\string\Large\string\bfseries,c=black\}}%
+{\textit{Pseudo style} to set the keys: title \textbf{f}ont and/or title \textbf{c}olor. None of the \textit{keys} -- f and c -- are mandatory.
+The key \red{show title} is set to \red{true}.
+\\ [3pt]\makebox[\linewidth][c]{\use{title=\{f=<font commands>,c=<color>\}}}%
+}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},title={f=\string\Huge,c=teal}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},title={f=\Huge,c=teal}]}}%
+\\ [0pt]\pgfPTendstyle%
+% show legend
+\label{option_show legend}%
+\vfill%
+\pgfPTMoption{4}{show legend}{true}%
+{When set to \red{true} the legend is shown, otherwise it is not shown.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54}]}}%
+\vfill%
+\newpage%\\ [5pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},show legend=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},show legend=false]}}%
+\\ [0pt]\pgfPTendoption%
+% legend acronyms
+\label{option_legend acronyms}%
+\pgfPTMoption{4}{legend acronyms}{true}%
+{When set to \red{true}, the legend consists of a cell using acronyms for its contents and the corres\-ponding des\-criptions below that cell.
+When set to \red{false}, only the cell is displayed with the des\-criptions in place of the acronyms. In the latter case, the description font size is automatically adjusted to the available box, which can \textit{spoil the appearance of the whole caption}, depending on the described content.
+}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54}]}}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},legend acronyms=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},legend acronyms=false]}}%
+\\ [0pt]\pgfPTendoption%
+% legend box (style)
+\label{style_legend box}%
+\vfill%
+\pgfPTMstyle{4}{legend box}{left color=black!20,right color=black!10,draw=black!30}%
+{Style to define the appearance of the box around the legend, legend pins and acronym descriptions, built with any of the \txttikz\ keys that can be applied to a path construction.
+\textit{It only works when the key \red{legend acronyms} is set to \red{true}}.}%
+\vfill%
+\newpage%\\ [5pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10,legend acronyms=false}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10},legend acronyms=false]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={}]}}%
+\\ [0pt]\pgfPTendstyle%
+% legend back color
+\label{option_legend back color}%
+\vfill%
+\pgfPTMoption{4}{legend back color}{white}%
+{Sets the legend background color.}%
+\vfill%
+\newpage%\\ [5pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend back color=blue!10]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend back color=blue!10]}}%
+\\ [0pt]\pgfPTendoption%
+% legend radio color
+\label{option_legend radio color}%
+\vfill%
+\pgfPTMoption{4}{legend radio color}{black}%
+{Sets the color of the radioactivity acronym and corresponding description.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend radio color=red]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend radio color=red]}}%
+\vfill%
+\newpage%\\ [10pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend radio color=red,legend acronyms=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend radio color=red,legend acronyms=false]}}%
+\\ [0pt]\pgfPTendoption%
+% legend CS color
+\label{option_legend CS color}%
+\vfill%
+\pgfPTMoption{4}{legend CS color}{black!50}%
+{Sets the color of the Chemical Symbol acronym and corresponding description.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend CS color=red]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend CS color=red]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend CS color=red,legend acronyms=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend CS color=red,legend acronyms=false]}}%
+\\ [0pt]\pgfPTendoption%
+\vfill%
+% legend Z color
+\newpage\ \\ [-32pt]%
+\label{option_legend Z color}%
+\pgfPTMoption{4}{legend Z color}{\{\}}%
+{Sets the color of the atomic number description (only applies when the key \red{legend acronyms} is set to \red{true}.)}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend Z color=red]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend Z color=red]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend Z color=red,legend acronyms=false]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend Z color=red,legend acronyms=false]}}%
+\\ [0pt]\pgfPTendoption%
+% show legend pins
+\label{option_show legend pins}%
+\pgfPTMoption{4}{show legend pins}{true}%
+{When set to \red{true} the legend pins are shown, otherwise they are not shown.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
+\newpage%\\ [5pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show legend pins=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show legend pins=false]}}%
+\\ [0pt]\pgfPTendoption%
+% legend pins (style)
+\label{style_legend pins}%
+\pgfPTMstyle{4}{legend pins}{\raisebox{-\baselineskip}{%
+\vbox{\hsize=.5\linewidth\hbox{\{line width=.05pt,rounded corners=2pt,right color=black!5,}\vskip0pt\hbox{left color=white,draw=black!50\}}}}
+}%
+{\ \\ [4pt]Style to define the appearance of the legend pins, built with any of the \txttikz\ keys that can be applied to a path construction.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend pins={draw=red,fill=red!10}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10},legend acronyms=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend pins={draw=red,fill=red!10},legend acronyms=false]}}%
+\\ [0pt]\pgfPTendstyle%
+% show extra legend
+\newpage\ \\ [-32pt]%%
+\label{option_show extra legend}%
+\pgfPTMoption{4}{show extra legend}{true}%
+{When set to \red{true} the extra legend is shown, otherwise it is not shown.}%
+\\ [10pt]\pgfPTMbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
+\pgfPTbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=myname]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=myname]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=myname,show extra legend=false]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=myname,show extra legend=false]}}%
+\\ [0pt]\pgfPTendoption%
+% extra legend (style)
+\label{style_extra legend}%
+\vfill%
+\pgfPTMstyle{4}{extra legend}{\raisebox{-\baselineskip}{%
+\vbox{\hsize=.5\linewidth\hbox{\{draw=black!50,fill=black!10,line width=.05pt,}\hbox{rounded corners=2pt\}}}}
+}%
+{\ \\ [4pt]Style to define the appearance of the extra legend, built with any of the \txttikz\ keys that can be applied to a path construction.}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=pgfPTdisc]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=pgfPTdisc]}}%
+\vfill%
+\newpage%\\ [10pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=pgfPTdisc,extra legend={draw=red,fill=red!10}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=pgfPTdisc,extra legend={draw=red,fill=red!10}]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=pgfPTdisc,legend acronyms=false,extra legend={draw=red,fill=red!10}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=pgfPTdisc,legend acronyms=false,extra legend={draw=red,fill=red!10}]}}%
+\\ [0pt]\pgfPTendstyle%
+% legend (pseudo style)
+\vfill%
+\label{style_legend}%
+\pgfPTMstyle{4}{legend}{\{bc=white,pins=true,extra=true,acro=true\}}%
+% {bc=??,pins=??,extra=??,acro=??,radio=??,CS=??,Z=??,pins style=??,extra style=??,box=??}
+{\textit{Pseudo style} to set the keys: legend \textbf{b}ack \textbf{c}olor, show legend \textbf{pins}, show \textbf{extra} legend, legend \textbf{acro}nyms, legend \textbf{radio} color, legend \textbf{CS} color, legend \textbf{Z} color, legend \textbf{pins} (\textbf{style}), \textbf{extra} legend (\textbf{style}) and/or legend \textbf{box} (style). None of the \textit{keys} -- bc, pins, extra, acro, radio, CS, Z, pins style, extra style and box -- are mandatory.
+The key \red{show legend} is set to \red{true}.
+\\ [5pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=10.15cm] {legend=\{bc=<color>,pins=<true|false>,extra=<true|false>,acro=<true|false>,\\ %
+\textcolor{cyan!10!white}{legend=\{}radio=<color>,CS=<color>,Z=<color>,pins style=<tikz path keys>,\\ %
+\textcolor{cyan!10!white}{legend=\{}extra style=<tikz path keys>,box=<tikz path keys>\}};}}}%
+}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=myname,legend={bc=black!10,extra=false}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=myname,legend={bc=black!10,extra=false}]}}%
+\vfill%
+\newpage%\\ [10pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=myname,legend={acro=false,extra=false}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=myname,legend={acro=false,extra=false}]}}%
+\\ [0pt]\pgfPTendstyle%
+\endinput