From 8401157479426d55d89e94764b6c6ddfc243fa35 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 29 Apr 2013 23:29:52 +0000 Subject: modiagram (29apr13) git-svn-id: svn://tug.org/texlive/trunk@30169 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/modiagram/README | 4 +- .../doc/latex/modiagram/modiagram_en.pdf | Bin 1009176 -> 667035 bytes .../doc/latex/modiagram/modiagram_en.tex | 53 ++++++++++++--------- 3 files changed, 33 insertions(+), 24 deletions(-) (limited to 'Master/texmf-dist/doc/latex/modiagram') diff --git a/Master/texmf-dist/doc/latex/modiagram/README b/Master/texmf-dist/doc/latex/modiagram/README index ee28670bdeb..76fa796cab2 100644 --- a/Master/texmf-dist/doc/latex/modiagram/README +++ b/Master/texmf-dist/doc/latex/modiagram/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the MODIAGRAM package v0.2b +the MODIAGRAM package 2013/04/28 v0.2c easy creation of molecular orbital diagrams @@ -11,7 +11,7 @@ E-Mail: contact@mychemistry.eu If you have any ideas, questions, suggestions or bugs to report, please feel free to contact me. -------------------------------------------------------------------------- -Copyright 2011--2012 Clemens Niederberger +Copyright 2011--2013 Clemens Niederberger This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/doc/latex/modiagram/modiagram_en.pdf b/Master/texmf-dist/doc/latex/modiagram/modiagram_en.pdf index 5acee36ab14..9557a20419e 100644 Binary files a/Master/texmf-dist/doc/latex/modiagram/modiagram_en.pdf and b/Master/texmf-dist/doc/latex/modiagram/modiagram_en.pdf differ diff --git a/Master/texmf-dist/doc/latex/modiagram/modiagram_en.tex b/Master/texmf-dist/doc/latex/modiagram/modiagram_en.tex index b47614d4a7a..3c0a7753e4e 100644 --- a/Master/texmf-dist/doc/latex/modiagram/modiagram_en.tex +++ b/Master/texmf-dist/doc/latex/modiagram/modiagram_en.tex @@ -1,7 +1,5 @@ % arara: pdflatex % arara: pdflatex -% arara: makeindex: { sort: true, style: modiagram_en.ist } -% arara: pdflatex % -------------------------------------------------------------------------- % the MODIAGRAM package % @@ -36,7 +34,10 @@ % `cnpkgdoc' which you can get here: % https://bitbucket.org/cgnieder/cnpkgdoc/ % the class is licensed LPPL 1.3 or later -\documentclass{cnpkgdoc} +% + +\PassOptionsToPackage{supstfm=libertinesups}{superiors} +\documentclass[toc=index]{cnpkgdoc} \docsetup{ pkg = modiagram, subtitle = Easy Creation of Molecular Orbital Diagrams , @@ -66,13 +67,9 @@ textSigma } -\usepackage[osf]{libertine} -\cnpkgcolors{ - main => cnpkgred , - key => yellow!40!brown , - module => cnpkgblue , - link => black!90 -} +\usepackage{libertinehologopatch} + +\cnpkgusecolorscheme{friendly} \renewcommand*\othersectionlevelsformat[3]{% \textcolor{main}{#3\autodot}\enskip} @@ -87,27 +84,34 @@ \usepackage{booktabs} \usepackage{acro} -\DeclareAcronym{AO}{AO}{atomic orbital} -\DeclareAcronym{MO}{MO}{molecular orbital} +\DeclareAcronym{AO}{ + short = AO , + long = atomic orbital +} +\DeclareAcronym{MO}{ + short = MO , + long = molecular orbital +} \usepackage{chemmacros,chemfig} \chemsetup[chemformula]{font-family=fxl} -\usepackage{makeidx} \usepackage{filecontents} -\begin{filecontents*}{\jobname.ist} +\begin{filecontents}{\jobname.ist} heading_prefix "{\\bfseries " heading_suffix "\\hfil}\\nopagebreak\n" headings_flag 1 - delim_0 "\\dotfill " - delim_1 "\\dotfill " - delim_2 "\\dotfill " - delim_r "\\nohyperpage{\\textendash}" + delim_0 "\\dotfill\\hyperpage{" + delim_1 "\\dotfill\\hyperpage{" + delim_2 "\\dotfill\\hyperpage{" + delim_r "}\\textendash\\hyperpage{" + delim_t "}" suffix_2p "\\nohyperpage{\\,f.}" suffix_3p "\\nohyperpage{\\,ff.}" -\end{filecontents*} - -\makeindex +\end{filecontents} +\usepackage{imakeidx} +\indexsetup{othercode=\footnotesize} +\makeindex[options={-s \jobname.ist},intoc,columns=3] \TitlePicture{% \begin{MOdiagram}[style=fancy,distance=7cm,AO-width=15pt,labels,names] @@ -139,6 +143,11 @@ \def\key#1{#1}% } +\makeatletter +\def\TikZ@name{Ti\textit{\textbf{k}}Z} +\renewcommand\TikZ{\TikZ@name\index{TikZ@\TikZ@name}} +\makeatother + \begin{document} \section{Licence, Requirements} @@ -148,7 +157,7 @@ terms of the LaTeX Project Public License, version 1.3 or later ``maintained.'' \modiagram needs and loads the packages \paket{expl3}, \paket{xparse}, -\paket{l3keys2e}, \paket[pgf]{\protect\TikZ} and \paket{textgreek}. Additionally the +\paket{l3keys2e}, \paket{pgf} and \paket{textgreek}. Additionally the \TikZ libraries \paket*{calc} and \paket*{arrows} are loaded. Knowledge of \paket*{pgf} or \TikZ are helpful. -- cgit v1.2.3