avatar
About text width for one page# TeX - TeX电子排版系统
z*n
1
How to set the text width of only one page?
Or how to set text width of only one paragraph, one line?
avatar
T*n
2

Try the minipage environment (you can optionally specify the
height), followed by a \clearpage if needed.
Try either minipage or \parbox, or define your own environment
using something like the following to make the special paragraph
indented 0.5 inch on both left and right sides (negative length will
make the paragraph wider than normal text width):
\newenvironment{specialpar}%
{\list{}{\setlength{\leftmargin}{0.5in}\setlength{\rightmargin}{0.5in}}\item
}%
{\endlist}
\begin{specialpar}
tex

【在 z*****n 的大作中提到】
: How to set the text width of only one page?
: Or how to set text width of only one paragraph, one line?

avatar
z*n
3
thx, I tried parbox, it seems that it cannot break a page...

item

【在 T*******n 的大作中提到】
:
: Try the minipage environment (you can optionally specify the
: height), followed by a \clearpage if needed.
: Try either minipage or \parbox, or define your own environment
: using something like the following to make the special paragraph
: indented 0.5 inch on both left and right sides (negative length will
: make the paragraph wider than normal text width):
: \newenvironment{specialpar}%
: {\list{}{\setlength{\leftmargin}{0.5in}\setlength{\rightmargin}{0.5in}}\item
: }%

avatar
z*n
4
the 3rd method works. Thanks!

item

【在 T*******n 的大作中提到】
:
: Try the minipage environment (you can optionally specify the
: height), followed by a \clearpage if needed.
: Try either minipage or \parbox, or define your own environment
: using something like the following to make the special paragraph
: indented 0.5 inch on both left and right sides (negative length will
: make the paragraph wider than normal text width):
: \newenvironment{specialpar}%
: {\list{}{\setlength{\leftmargin}{0.5in}\setlength{\rightmargin}{0.5in}}\item
: }%

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。