topics

全部话题 - 话题: hbox
(共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
g*********r
发帖数: 124
2
把下面代码加入导言区
\makeatletter
\def\@dottedtocline#1#2#3#4#5{%
\ifnum #1>\c@tocdepth \else
\vskip \z@ \@plus.2\p@
{\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
\parindent #2\relax\@afterindenttrue
\interlinepenalty\@M
\leavevmode
\@tempdima #3\relax
\advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
{#4}\nobreak
\leaders\hbox{$\m@th
\mkern \@dotsep mu\hbox{.}\mkern \@dotsep
mu$}\hfill
\nobreak
\hb@xt@\
b*****u
发帖数: 445
3
已经加载了amsmath,用这三个命令都试过了,还是不行。。。
报错:
Underfull \hbox (badness 10000) in paragraph at lines 20--23
Underfull \hbox (badness 10000) in paragraph at lines 25--27
SyncTeX warning: Synchronization was disabled from
the command line with -synctex=0
Changing the value of \synctex has no effect.[1{C:/ProgramData/MiKTeX/2.9/
pdftex/config/pdftex.map}]
! Undefined control sequence.
l.37 $\llbracket \test
{SESP} \rrbracket=\llbracket \verb|SES| \rrbracket (\l
...
?
T*******n
发帖数: 493
4
To avoid bad line breaks (that cause overfull \hbox'es or
other problems) in a paragraph, you can try
\begin{sloppypar}
This is a paragraph that would normally cause bad line
breaks
\end{sloppypar}
This relaxes the line breaking penalties, which might
lead to looser lines in the paragraph.
N**D
发帖数: 10322
5
来自主题: TeX版 - 请教公式
\newcommand{\argmin}[1]{{\hbox{$\underset{#1}{\text{\textnormal{argmin}}}\;$
}}}
c******s
发帖数: 197
6
double column的ieee文章俩面定义了一个专有名词例如 American Born Chinese Babi
es (ABCB),导致这一行oversize hbox,我试着加入\hypenation允许把里面的各个词断
开拼写,还是同样的错误,是不是latex看到大写的单词会做特殊处理呢,请问什么命令
可以让latex能按照处理一般单词一样自动或是按我的方式来断词呢?谢谢
v****s
发帖数: 1112
7
sty和tex文件在此:
http://nips.cc/PaperInformation/StyleFiles
sty file:
nips10submit_e.sty: style file for LaTeX 2e (preferred)
尝试编译他们提供的tex 和 sty files,但是出错。
我用的是miktex 2.9, ide 用的是texniccenter , 在lyx 1.8.6也出现同样的错误:
undefined control sequence
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
十分感谢!!
d*******1
发帖数: 854
8
这就是我的问题啊, 我的文件用LATEX和BIBTEX都可以, 就是PDFLATEX不行,得到一大堆下面的出错信息
LaTeX Warning: Reference `fig3' on page 4 undefined on input line 159.
Underfull \vbox (badness 4492) has occurred while \output is active
Overfull \hbox (5.47499pt too wide) has occurred while \output is active
\T1/aer/m/n/10.95 4 []
[4 ]
!pdfTeX error: pdflatex.exe (file U:/work/paper_abstract/JSSstyle/fig3.JPEG)
eading JPEG image failed (no JPEG header found)
==> Fatal error occurred, no outpu... 阅读全帖
a****s
发帖数: 5
9
来自主题: TeX版 - overfull \hbox怎么办?
公式太长了,一行放不下。
怎么办?
(共0页)