[OS X TeX] Double and triple bonds

Themis Matsoukas tmatsoukas at me.com
Tue May 15 02:14:24 CEST 2012


Thanks.

Themis
tmatsoukas at me.com




On May 14, 2012, at 8:47 AM, Joseph Wright wrote:

> 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
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 




More information about the macostex-archives mailing list