Changes

Jump to navigation Jump to search
608 bytes added ,  23:03, 30 December 2005
no edit summary
|<context>\ss\x\limitatefirstline{\underbar{In a bar, under the sea}}{31mm}{...}</context>
|}
 
 
 
== Fitting text ==
You can fit text into a box by:
 
<texcode>
\def\HowStrange#1{#1\ifx#1\blankspace\else\allowbreak\fi}
 
\framed
[width=2cm,align={normal,verytolerant,stretch}]
{\handletokens There are some rather long titles that needs to be typeset.\with\HowStrange}
</texcode>
 
<context>
\def\HowStrange#1{#1\ifx#1\blankspace\else\allowbreak\fi}
 
\framed
[width=2cm,align={normal,verytolerant,stretch}]
{\handletokens There are some rather long titles that needs to be typeset.\with\HowStrange}
</context>
 
There is also similar facility for verbatim text in [[Verbatim_with_line_breaks]] section.
Anonymous user

Navigation menu