b*e
2 楼
多谢多谢!!
T*n
3 楼
That will give math italic letters.
Put the following in a chem.sty file and then load it with
\usepackage{chem}:
\DeclareRobustCommand{\chem}[1]{%
\mbox{%
\[email protected]
\if b\expandafter\@car\[email protected]\@nil\boldmath\fi
\ensuremath{\mathrm{#1}}%
}%
}
\endinput
Then try this test file. Switching to boldface is done
automatically.
\documentclass{article}
\usepackage{chem}
\begin{document}
\title{Title}
\author{A. U. Thor}
\maketitle
\tableofcontents
\section{Water is \chem{H_2O}}
Water is
相关阅读
求教一个tex中插入eps图片的问题A question about pstex用TeXnicCenter作slides的问题Latex 引用的一个问题dvips怎么include eps文件?怎样从 tex 得到 doc 或者 rtf 文件有比prosper更好的做slides的吗?谢谢!A question about gnuplot请问如何在latex中输入脚标?subfig, subfigure, caption and caption2 packages有人用lyx吗?修改行间距怎样让单词不在换行时被打断, avoid hyphenationhow to indent all lines in a paragraphanyone has experience with floatflt?电子工程版中tex相关讨论如何修改文本和图表的间距?add caption above floating table using floatfltGlobecom'05 paper怎样用latex编排C语言源代码?