由买买提看人间百态

topics

全部话题 - 话题: unskip
(共0页)
S********y
发帖数: 182
1
毕业论文要求figure caption要用single spacing. 对修改 .cls 文件一窍不通, 有高
人能帮忙看一下么?
\long\def\@makecaption#1#2{% Add space only if something is ...
\par\ifdim\prevdepth>-\p@ \vskip 10\p@\relax \fi % above the caption
\setbox\@tempboxa\hbox{\vbox to\topskip{}#1: #2\unskip\strut}%
\ifdim \wd\@tempboxa >\hsize % IF longer than one line:
{\ssp#1: #2\unskip\strut\par} % THEN set as ordinary paragraph.
\else % ELSE center.
\hbox to\hsize{\hfil\unhbox\@te
T*******n
发帖数: 493
2
\documentclass{article}
\usepackage{amsmath}
\newcommand{\chem}[1]{\ensuremath{\mathrm{#1}}}
\newcommand{\unit}[1]{\unskip\:\ensuremath{\mathrm{#1}}}
\newcommand{\degree}[0]{\ensuremath{{}^\circ}}
\begin{document}
\begin{equation}
x\overset{\text{not enough space to explain}}{=}y
\end{equation}
\begin{equation}
\chem{H_2O}_{(s)}
\xrightarrow[\text{at $T=0\degree\unit{C}$ and $P=1\unit{atm}$}]
{\Delta H_{\text{melt}}}
\chem{H_2O}_{(l)}
\end{equation}
\end{document}
J*******r
发帖数: 379
3
☆─────────────────────────────────────☆
ddyourself (dd) 于 (Tue Nov 8 13:04:09 2005) 提到:
写出相等的原因
☆─────────────────────────────────────☆
TeXnician (毕升) 于 (Tue Nov 8 20:20:32 2005) 提到:
\documentclass{article}
\usepackage{amsmath}
\newcommand{\chem}[1]{\ensuremath{\mathrm{#1}}}
\newcommand{\unit}[1]{\unskip\:\ensuremath{\mathrm{#1}}}
\newcommand{\degree}[0]{\ensuremath{{}^\circ}}
\begin{document}
\begin{equation}
x\overset{\text{not enough space to explain}}{=}y
\end{equation}
\begin{eq
g*********r
发帖数: 124
4
对于第一个问题,
{\obeyspaces%
\gdef\uppercasefirst#{\bgroup\obeyspaces\let =\capaftersp%
\UppercaseSec}}
\def\UppercaseSec#1{\futurelet\next\CapAFTERsp#1{}\egroup}
\def\capaftersp{\space\futurelet\next\CapAFTERsp}
\def\CapAFTERsp{\ifx\next\egroup\let\next\relax\else
\ifx\next\capaftersp \unskip \let\next\relax \else
\def\next##1{\uppercase{##1}}\fi\fi \next}
\uppercasefirst{I love using the new version of Latex}
l*******g
发帖数: 17
5
来自主题: EE版 - 请问一个latex问题
从IEEEtran.cls里面看到的定义:
\def\QED{\mbox{\rule[0pt]{1.3ex}{1.3ex}}}
然后写这么一句话就行了
\hspace*{\fill}~\QED\par\endtrivlist\unskip
(共0页)