[OS X TeX] Double and triple bonds
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon May 14 14:47:32 CEST 2012
On 14/05/2012 12:04, Themis Matsoukas wrote:
> On May 13, 2012, at 9:18 AM, Joseph Wright wrote:
>
>
>> Package mhchem:
>>
>> \usepackage[version=3]{mhchem}
>> ....
>> \ce{C=C} \ce{C#C}
>> --
>
> Thanks, this works nicely - is there a way to just reproduce the triple bond w/o calling a package? I would rather not add a package to my document, if at all possible (I worry about conflicts with the 23 other packages I am using).
>
> Thanks
Standard definitions in mhchem are
\def\sbond{{\ensuremath{-}}}
\def\dbond{%
\rlap{\protect\raisebox{.2ex}{\sbond}}\protect\raisebox{-.2ex}{\sbond}%
}
\def\tbond{%
\rlap{\protect\raisebox{.4ex}{\sbond}}%
\rlap{\sbond}%
\protect\raisebox{-.4ex}{\sbond}}%
which should work reasonably well.
--
Joseph Wright
More information about the macostex-archives
mailing list