# Representing D- and L- in chemical names

Using LaTeX, how does one typeset the D- and L- prefixes, which refer to dextrorotatory and levorotatory isomers. I have tried \footnotesize~D\normalsize and it looks okay, but didn't know if there was a better or more correct approach.

-

You can do for example \textsc{d}-Glucose, which requests small caps. This only looks good if the font family you're using actually provides small caps.

-
Thanks, I'm pretty sure that is correct. I tried \textsc{D} and it didn't work -- now I see why. – user001 Jan 10 '12 at 20:40

It would probably overkill to load the package just for this purpose but the chemmacros package provides a lot of IUPAC naming commands. Amongst these are \D and \L for the FISCHER stereo descriptors. With default settings they are only valid inside the \iupac{} command in order not to overwrite the usual definition of \L.

\documentclass{article}
\usepackage{chemmacros}

\begin{document}

\iupac{\D-Glucose}
\iupac{\L-Alanine}

\end{document}


-