%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % --------------------------------------------------------------------------- % % - chemmacros - chemmacros_doc_en.tex - % % - macros and commands for chemists - % % --------------------------------------------------------------------------- % % - Clemens Niederberger - % % - 2011/11/03 - % % --------------------------------------------------------------------------- % % - http://www.mychemistry.eu/ - % % - contact@mychemistry.eu - % % --------------------------------------------------------------------------- % % - If you have any ideas, questions, suggestions or bugs to report, please - % % - feel free to contact me. - % % --------------------------------------------------------------------------- % % - Copyright 2011 Clemens Niederberger - % % - - % % - This work may be distributed and/or modified under the - % % - conditions of the LaTeX Project Public License, either version 1.3 - % % - of this license or (at your option) any later version. - % % - The latest version of this license is in - % % - http://www.latex-project.org/lppl.txt - % % - and version 1.3 or later is part of all distributions of LaTeX - % % - version 2005/12/01 or later. - % % - - % % - This work has the LPPL maintenance status `maintained'. - % % - - % % - The Current Maintainer of this work is Clemens Niederberger. - % % - - % % - This work consists of the files chemmacros.sty, chemmacros-version1.cfg,- % % - chemmacros_doc_de.tex, chemmacros_doc_de.tex, README and the derived - % % - files chemmacros_doc_de.pdf and chemmacros_doc_en.pdf - % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass[nohyper,titlepage,a4paper,nofonts,notoc]{tufte-handout} \newcommand*\CMname{\textsf{chemmacros}\xspace} \newcommand*\CMversion{2.0\xspace} \newcommand*\CMdate{2011/11/03\xspace} % changing some tufte-handout settings \titleformat{\section}[hang]{\normalfont\Large\bfseries}{\thesection}{1em}{}[] \titleformat{\subsection}[hang]{\normalfont\large\bfseries}{\thesubsection}{1em}{}[] \makeatletter \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus -1ex minus -.2ex}{1.5ex plus .2ex}{\normalsize\bf}} \makeatother \def\thesubsubsection{\thesection.\thesubsection.\arabic{subsubsection}} \titleformat{\subsubsection}[hang]{\normalfont\large\bfseries}{\thesubsection}{1em}{}[] \titlespacing*{\subsubsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus.2ex} \setcounter{secnumdepth}{2} % need these because of the lots of marginnotes \usepackage{etex,morefloats} \reserveinserts{150} \usepackage[english]{babel} \usepackage[utf8]{inputenx} \usepackage[dvipsnames]{xcolor} \colorlet{code}{RawSienna} \usepackage[normalem]{ulem} \usepackage{url,chemfig,chemstyle,bpchem,array,longtable,multirow,booktabs,framed} \usepackage[version=3,arrows=pgf]{mhchem} \usepackage[xspace,circled]{chemmacros} \usepackage{showexpl} \lstset{literate={ä}{{\"a}}1 {ö}{{\"o}}1 {ü}{{\"u}}1 {Ä}{{\"A}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1 {ß}{{\ss}}1} \lstset{ language = [LaTeX]TeX, basicstyle = {\ttfamily}, extendedchars = true, numbers = left, numberstyle = \tiny, numberblanklines = true, gobble = 1, xleftmargin = 20pt, breaklines = true, commentstyle = {\color[named]{Gray}}, } \usepackage{hyperref} \hypersetup{ colorlinks = true, plainpages = false, bookmarksopen = true, bookmarksopenlevel = 2, bookmarksnumbered = true, pdfauthor = {Clemens Niederberger}, pdftitle = {chemmacros - Manual}, pdfsubject = {macros for the chemist}, pdfkeywords = {chemmacros}, pdfcreator = {LaTeX} } \ExplSyntaxOn \NewDocumentCommand \paket { o m } { \textsf { #2 } \cs_if_exist:cF { paket @ #2 } { \cs_new_nopar:cpn { paket @ #2 } { } \IfNoValueTF { #1 } { \sidenote { CTAN: ~ \href { http://www.ctan.org/pkg/#2/ } { #2 } } } { \sidenote[][ #1 ] { CTAN: \href { http://www.ctan.org/pkg/#2/ } { #2 } } } } } \newcommand*\code[1]{{\normalfont\upshape\ttfamily#1}} \newcommand*\ma[1]{% {\normalcolor\ttfamily\char`\{#1\char`\}}} \newcommand*\oa[1]{% {\normalcolor\ttfamily\char`[#1\char`]}} \newcommand*\da[1]{% {\normalcolor\ttfamily\char`(#1\char`)}} \NewDocumentCommand \cmd { m } { \group_begin: \code { \char`\\ \color{code} #1 } \group_end: } % Key[][](