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
相关阅读
如何加入不带编号的 acknowlegement section?Latex problem请教化学分子式的写法help on \hl{ \cite{ } }latex 编辑效率低下table question深背景下prosper图形颜色的问题how to use \bar请问拍版图片的alignment问题gnuplot 如何画多个系列的bar chart?关于figure placement 最重要的,很多新手不明白怎么改变table的大小?emacs的问题求救, footnote段间距How to make a page only show one figure?tex里用AXODRAW画Feynman图实例(转载)ps2pdf$\pi$为什么出来的是字母"p"?latex插图求助dvi back to tex?