diff options
Diffstat (limited to 'graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex')
-rw-r--r-- | graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex | 59 |
1 files changed, 37 insertions, 22 deletions
diff --git a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex index 4c07b00d7a..6658536639 100644 --- a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex +++ b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex @@ -1,4 +1,4 @@ -\subsubsection{\texorpdfstring{\ding{224} General layout}{General layout}}\vspace{6pt}% +\subsubsection{\texorpdfstring{\ding{224} General layout}{General layout}}%\vspace{6pt}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Z list \label{option_Z list}% @@ -24,7 +24,7 @@ The possible \lblue{name} is one of the following: any \textbf{user defined} name via \pgfPTMmacro{pgfPTnewZlist}[]\{name\}\{list\} \end{itembar}% }% -\\ [-5pt]\pgfPTendoption% +\\ [-10pt]\pgfPTendoption% \newpage\vspace{-34pt}\ % % cell width \label{option_cell width}% @@ -82,14 +82,18 @@ any \textbf{user defined} name via \pgfPTMmacro{pgfPTnewZlist}[]\{name\}\{list\} \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell={w=40pt,h=50pt,lw=.6pt,lc=blue}]}}% \\ [5pt]\pgfPTendstyle% % font +\vfill% \label{option_font}% -\pgfPTMoption{4}{font}{phv}% -{Sets the font family, via the proper \textit{\textrm{\LaTeX} font name}, to use in the Periodic Table. The \textit{default} font is \textit{phv}, \ie, the Helvetica font. -The value of the \red{font} key can be any \textit{\textrm{\LaTeX} font name} known to the local \textrm{\LaTeX} installation. -\\ \hfill\scriptsize See \textit{\textrm{\LaTeX} font names} below for further details.}% +\pgfPTMoption[\pgfPTchangedinversion{2.1.0}]{4}{font}{phv (\textrm{pdf\LaTeX}); TeX Gyre Heros (\textrm{Xe\LaTeX} or \textrm{Lua\LaTeX})}% +{Sets the font family, via the proper \textit{\textrm{\LaTeX} font name}, to use in the Periodic Table. +\\ [2pt]When \textrm{pdf\LaTeX} is used to typeset the Periodic Table the \textit{default} font is \textit{phv}, \ie, the Helvetica font. In this case the value of the \red{font} key can be any \textit{\textrm{\LaTeX} font name} known to the local \textrm{\LaTeX} installation. +\\ [2pt]When \textrm{Xe\LaTeX} or \textrm{Lua\LaTeX} are used to typeset the Periodic Table the \textit{default} font is \textit{TeX Gyre Heros}, a closest alternative to Helvetica font. In this case the value of the \red{font} key can be any \textit{font name known to your Operating System} and with \textrm{Lua\LaTeX} it can also be any \textit{font name available in your \textrm{TEXMF} tree}. +\\ \hfill\scriptsize See \textit{\textrm{\LaTeX} font names} below or the \href{https://ftp.eq.uc.pt/software/TeX/macros/unicodetex/latex/fontspec/fontspec.pdf\#page=9}{fontspec documentation} for further details.\normalsize\\ \ }% +\\ [10pt]Examples with \textrm{pdf\LaTeX}: \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=ptm]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},font=ptm]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=RobotoSlab-TLF]% +\newpage% +\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=RobotoSlab-TLF]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},font=RobotoSlab-TLF]}}% \\ [10pt]\pgfPTMoptiontxt{% \textit{\textrm{\LaTeX} font names}: @@ -137,14 +141,22 @@ The value of the \red{font} key can be any \textit{\textrm{\LaTeX} font name} kn \makebox[\linewidth][c]{For more information about fonts visit the \href{https://tug.org/FontCatalogue/}{TUG Font Catalogue}} \\ \ % }% +\\ [10pt]Examples with \textrm{Xe\LaTeX} or \textrm{Lua\LaTeX}: +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=Verdana,CS font=\string\fontspec{Mistral}\string\selectfont]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTfontLuaXeLaTeX1.pdf}}}% +\newpage +\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=Arial,CS font=\string\fontspec{LCALLIG.TTF}\string\selectfont]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTfontLuaXeLaTeX2.pdf}}}% \\ [5pt]\pgfPTendoption% % back color scheme \label{option_back color scheme}% +\vfill \pgfPTMoption{4}{back color scheme}{default}% {Sets a \blue{named} back color scheme for the Periodic Table.}% \\ [5pt]\pgfPTMmacrobox{pgfPT}[back color scheme=Soft]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[back color scheme=Soft]}}% -\\ [10pt]\pgfPTMoptiontxt{% +\newpage% +\pgfPTMoptiontxt{% The possible \lblue{name} is one of the following: \begin{itembar} \item\textbf{built-in}: @@ -249,27 +261,30 @@ elements in molecular models. The scheme is named after the CPK molecular models % languages \vfill \label{option_languages}% -\pgfPTMoption{4}{languages}{\{\}}% -{Sets a language list to use in the Periodic Table. It is a comma separated list of language flags: \sq{pt}, \sq{en}, \sq{fr}, \sq{de}, \sq{it}, \sq{es} or \sq{br}. -\textit{This key overrides the default language, that is, the language loaded at package inclusion}.}% -\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},languages=pt]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},languages=pt]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=pgfPT2lang,languages={en,fr}]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=pgfPT2lang,languages={en,fr}]}}% +\pgfPTMoption[\pgfPTchangedinversion{2.1.0}]{4}{languages}{\{\}}% +{Sets a language list to use in the Periodic Table. It is a comma separated list of language flags: \sq{pt}, \sq{en}, \sq{fr}, \sq{de}, \sq{it}, \sq{es} or \sq{br}. If a user language has been loaded, the corresponding ISO 639-1 code can also be used as a language flag. \textit{This key overrides the default language, that is, the language loaded at package inclusion}.\\ \ }% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},languages=pt]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},languages=pt]}}% +\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPT2lang,languages={en,fr}]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPT2lang,languages={en,fr}]}}% \newpage%\\ [10pt] -\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=pgfPT3lang,languages={pt,fr,it}]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=pgfPT3lang,languages={pt,fr,it}]}}% +\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\small\textcolor{black!50}{\%\ \string\usepackage[userlang=nl]\{pgf-PeriodicTable\}}};}% +\\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPT2lang,languages={nl,en}]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPT_nl_en.pdf}}}% +\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPT3lang,languages={pt,fr,it}]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPT3lang,languages={pt,fr,it}]}}% \\ [10pt]\pgfPTMoptiontxt{% When using a set of languages, space to accommodate the names in each cell must be provided by building a suitable cell - typically one cell row per language. The cell styles used in the two examples above are built-in and serve this purpose. -\vspace{5pt}% +\vspace{2.5pt}% \begin{itembar} -\item\pgfPTpreviewcellstyle[2]{pgfPT2lang}\item\pgfPTpreviewcellstyle[2]{pgfPT3lang} +\item\pgfPTpreviewcellstyle[1.5]{pgfPT2lang}\vspace{-10pt}\item\pgfPTpreviewcellstyle[1.5]{pgfPT3lang} \end{itembar} -\vspace{5pt}% +\vspace{2.5pt}% Also, the space for the title should be taken into account -- if using more then three languages, the legend must be \textit{turned off}, otherwise the title overlaps the legend. }% -\\ [-5pt]\pgfPTendoption% -\vfill% +\\ [-10pt]\pgfPTendoption% +%\newpage%\vfill% % other languages font \label{option_other languages font}% \pgfPTMoption{4}{other languages font}{\string\tiny}% |