diff options
Diffstat (limited to 'graphics/pgf/contrib/pgf-periodictable/pgf-PeriodicTableManual.tex')
-rw-r--r-- | graphics/pgf/contrib/pgf-periodictable/pgf-PeriodicTableManual.tex | 86 |
1 files changed, 26 insertions, 60 deletions
diff --git a/graphics/pgf/contrib/pgf-periodictable/pgf-PeriodicTableManual.tex b/graphics/pgf/contrib/pgf-periodictable/pgf-PeriodicTableManual.tex index 72f34f0f2b..d7812971b0 100644 --- a/graphics/pgf/contrib/pgf-periodictable/pgf-PeriodicTableManual.tex +++ b/graphics/pgf/contrib/pgf-periodictable/pgf-PeriodicTableManual.tex @@ -37,8 +37,8 @@ \section{Installation and usage} \noindent \pack{} is placed under the terms of the \textrm{\LaTeX} Project Public License, version 1.3 or later (http://www.latex-project.org/lppl.txt). \pack{} loads and only requires the \href{https://www.ctan.org/pkg/pgf}{\txttikz{}} package. -\\ [6pt]You need to put the package files (pgf-PeriodicTable.sty \&\ \textit{friends}) in a location where \textrm{PDF\LaTeX} can find them. According to the TDS conventions this may be a subdirectory named \textit{tex/latex/pgf-PeriodicTable/} or \textit{tex/latex/misc/} in your (site specific) installation tree (insert your appropriate directory delimiter instead of /, if needed). -\\ [6pt]If you are using \textrm{PDF\LaTeX}, you can just simply include the style file without any option via the \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}} command, \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}} +\\ [6pt]You need to put the package files (pgf-PeriodicTable.sty \&\ \textit{friends}) in a location where \textrm{PDF\LaTeX}, \textrm{Lua\LaTeX} or \textrm{Xe\LaTeX} can find them. According to the TDS conventions this may be a subdirectory named \textit{tex/latex/pgf-PeriodicTable/} or \textit{tex/latex/misc/} in your (site specific) installation tree (insert your appropriate directory delimiter instead of /, if needed). +\\ [6pt]If you are using \textrm{PDF\LaTeX}, \textrm{Lua\LaTeX} or \textrm{Xe\LaTeX} you can just simply include the style file without any option via the \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}} command, \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}} \\ [6pt]It can also be loaded with \textit{one option} to select the desired language:\\ \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{language flag}\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}} \\ [6pt]\textit{The \textcolor{brown!60!black}{language flags} available are:} \begin{itemize} @@ -73,7 +73,7 @@ Commission on Isotopic Abundances and Atomic Weights,\newline\bfseries\textsf{\t \\ [-1pt]\linhaimpar{eDist}{Electron Distribution}{}{(Wikidata @01/nov/2021)}% \\ [-1pt]\linhapar{eConfign}{Electronic Configuration (increasing n)}{}{(Wikidata @01/nov/2021)}% \\ [-1pt]\linhaimpar{eConfign}{Electronic Configuration (increasing $\mathsf{n+\ell}$)}{}{(Wikidata @01/nov/2021)}% -\\ [-1pt]\linhapar{d}{Density}{$\mathsf{g\cdot dm^{-3}}$}{physical state at $\mathsf{25^oC, 1\,atm}$ (Wikidata @01/nov/2021)}% +\\ [-1pt]\linhapar{d}{Density}{$\mathsf{g\cdot dm^{-3}}$ {\tiny for gases}\newline$\mathsf{g\cdot cm^{-3}}$ {\tiny all other physical states}}{physical state at $\mathsf{25^oC, 1\,atm}$ (Wikidata @01/nov/2021)}% \\ [-1pt]\linhaimpar{Cp}{Specific heat capacity}{$\mathsf{J\cdot mol^{-1}\cdot K^{-1}}$}{at $\mathsf{25^oC}$ and $\mathsf{100\,kPa}$ (Wikidata @20/nov/2021)}% \\ [-1pt]\linhapar{kT}{Thermal Conductivity}{$\mathsf{W\cdot m^{-1}\cdot K^{-1}}$}{at $\mathsf{25^oC}$ (Wikidata @21/nov/2021)}% \\ [-1pt]\linhaimpar{ls}{Lattice Structure}{}{(Wikidata @20/dez/2021 and \href{http://wwwhomes.uni-bielefeld.de/achim/ele_structures.html}{University of Bielefeld})}% @@ -87,9 +87,8 @@ Commission on Isotopic Abundances and Atomic Weights,\newline\bfseries\textsf{\t \\ [12pt]The utilization of the \textit{acronyms} will be explained in \hyperlink{secBuildCell}{Designing cells with \textbackslash pgfPTbuildcell}. \vfill\vfill\vfill\newpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%\ \vfill% \label{file:commands}% -\input{manualfiles/pgf-PeriodicTableManual_commands.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_commands.tex}% \newpage% \def\tmpSection{\bs{pgfPT}}% \section{\texorpdfstring{Options for \tmpSection: creating a «Periodic Table»}{Options for \textbackslash pgfPT: creating a «Periodic Table»}} @@ -101,91 +100,58 @@ Commission on Isotopic Abundances and Atomic Weights,\newline\bfseries\textsf{\t \item[\ding{252}] a \sq{\red{style}} or a \sq{\red{style=value}} pair, \item[\ding{252}] a \textit{pseudo style} with a proper syntax: \sq{\red{style=\{key 1=value 1, key 2=value 2, \myldots\ , key n=value n\}}}, where none of the \textit{\sq{\red{keys}}} are mandatory. \end{itemize}} -%in the form \sq{\red{key}} or \sq{\red{key=value}} separated by commas.\\ Styles follow the same logic -- \sq{\red{style}} or \sq{\red{style=value}} -- except they only accept a single value. There are also \textit{pseudo styles} that have a proper syntax \sq{\red{style=\{key 1=value, key 2=value, \myldots\ ,key n=value\}}}, where none of the \textit{\sq{\red{keys}}} are not mandatory. };} \\ [3pt]The options \textit{can be divided} in two subsets, one that affects the \textit{appearance} of the \textit{entire} Periodic Table, the other that concerns the \textit{contents} of each cell of the Periodic Table. \subsection{\texorpdfstring{$\maltese$ Periodic Table options: keys, styles and \itshape pseudo styles}{Periodic Table options}} The following options and styles are used to \textit{control} the Periodic Table \textit{as a whole} in various aspects, such as the \red{cell width} or \red{cell height}, which elements are displayed (\red{Z list}), whether the title or legend are shown -- \red{show title} or \red{show legend} -- among others. \label{file:generallayout}% -\input{manualfiles/pgf-PeriodicTableManual_generallayout.tex}% FEITO!!! -\newpage% +\input{manualfiles/pgf-PeriodicTableManual_generallayout.tex}% \label{file:TitleLegend}% -\input{manualfiles/pgf-PeriodicTableManual_TitleLegend.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_TitleLegend.tex}% \label{file:periodgroup}% -\input{manualfiles/pgf-PeriodicTableManual_periodgroup.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_periodgroup.tex}% \label{file:blocksfamilies}% -\input{manualfiles/pgf-PeriodicTableManual_blocksfamilies.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_blocksfamilies.tex}% +\newpage% \label{file:variations}% -\input{manualfiles/pgf-PeriodicTableManual_variations.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_variations.tex}% \label{file:DarkMode}% -\input{manualfiles/pgf-PeriodicTableManual_DarkMode.tex}% FEITO!!! -\newpage% +\input{manualfiles/pgf-PeriodicTableManual_DarkMode.tex}% \label{file:exerciselayout}% -\input{manualfiles/pgf-PeriodicTableManual_exerciselayout.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_exerciselayout.tex}% \subsection{\texorpdfstring{$\maltese$ Cell contents options: keys, styles and \itshape pseudo styles}{Cell contents options}} The following options and styles are used for customizing the contents available in each individual cell of the Periodic Table, like the \textit{fonts} or the \textit{colors} used in the shown contents. \label{file:Z}% -\input{manualfiles/pgf-PeriodicTableManual_Z.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_Z.tex}% \label{file:CS}% -\input{manualfiles/pgf-PeriodicTableManual_CS.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_CS.tex}% +\label{file:name}% +\input{manualfiles/pgf-PeriodicTableManual_name.tex}% \label{file:Ar}% -\input{manualfiles/pgf-PeriodicTableManual_Ar.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_Ar.tex}% +\label{file:density}% +\input{manualfiles/pgf-PeriodicTableManual_density.tex}% \label{file:ls}% -\newpage% -\input{manualfiles/pgf-PeriodicTableManual_ls.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_ls.tex}% \label{file:DiscY}% -\input{manualfiles/pgf-PeriodicTableManual_DiscY.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_DiscY.tex}% \label{file:eDist}% -\input{manualfiles/pgf-PeriodicTableManual_eDist.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_eDist.tex}% \label{file:OtherCont}% -\input{manualfiles/pgf-PeriodicTableManual_OtherCont.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_OtherCont.tex}% \newpage% \label{sec:pgfPTbuildcell} \def\tmpSection{\bs{pgfPTbuildcell}}% \hypertarget{secBuildCell}{}% \section{\texorpdfstring{Designing cells with \tmpSection}{Designing cells with \textbackslash pgfPTbuildcell}} -\input{manualfiles/pgf-PeriodicTableManual_buildCelll.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_buildCelll.tex}% \newpage% \section{\texorpdfstring{Designing color schemes}{Designing color schemes}} \label{file:DesignCS}% -\input{manualfiles/pgf-PeriodicTableManual_DesignCS.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_DesignCS.tex}% \newpage% \section{A few more examples} -\input{manualfiles/pgf-PeriodicTableManual_Examples.tex}% FEITO!!! +\input{manualfiles/pgf-PeriodicTableManual_Examples.tex}% \newpage\small% \printindex% \end{document} - -%Two possible Periodic Table layout for students of Secondary Schools:\\ - - - -\pgfPTMoption{4}{optionA}{default}{desc} -\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell line color=red]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell line color=red]}}% -\\ [5pt]\pgfPTendoption% - - -\pgfPTMstyle{4}{styleA}{\{c=red!80!black,w=.8pt\}}% -{desc}% -\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Name]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Name]}}% -\\ [5pt]\pgfPTendstyle% - - - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\vspace{-32pt}\ -\def\tmpSection{\bs{pgfPTstyle}}% -\subsection*{}{\normalfont\large\bfseries\raisebox{1.25pt}{$\mathbf{\blacktriangleright}$}\ Utilization of \tmpSection}% -\label{command:pgfspectra}\addcontentsline{toc}{subsection}{\texorpdfstring{\tmpSection{}}{\textbackslash pgfPT}}% - - - -Using \string\pgfPTMCom: -\\ \pgfPTMCom(\pgfPT[])[pgfPT]{}% -\\ \pgfPTMCom(\pgfPT[fill=red,draw=blue,inner sep=0pt,font={\tiny\bfseries}])[pgfPT]{fill=red,draw=blue,inner sep=0pt,font={\pgfPTMtiny\pgfPTMbfseries\pgfPTMselectfont}}% -\setlength{\pgfPTMspace}{18pt}% -\\ \pgfPTMoption{font}{phv}{Any \textrm{\LaTeX} font name. Sets the main font for the Periodic Table (the document font is not changed)} -\\ \pgfPTMCom(\pgfPT[fill=red,draw=blue,inner sep=0pt,font={\tiny\bfseries}])[pgfPT]{fill=red,draw=blue,inner sep=0pt,font={\pgfPTMtiny\pgfPTMbfseries\pgfPTMselectfont}}% -\pgfPTendoption
\ No newline at end of file |