| computersci.org | |
|
|
|
Table of Contents |
Text Boxes« Terminal Input and Output | Table of Contents | Typefaces » \fboxCommand: \fbox{text}
The \frameboxCommand: \framebox[width][position]{text}
The The framebox command produces a rule of thickness lrbox Environment \begin{lrbox}{cmd}
text
\end{lrbox}
This is the environment form of \makeboxCommand: \makebox[width][position]{text}
The \makebox command creates a box just wide enough to contain the text specified. The width of the box is specified by the optional width argument. The position of the text within the box is determined by the optional position argument. c - centered (default)
l - flushleft
r - flushright
s - stretch from left to right margin. The text must contain stretchable space for this to work.
\mboxCommand: \mbox{text}
The \newsaveboxCommand: \newsavebox{cmd}
Declares \parboxCommand: parbox[position][height][inner-pos]{width}{text}
A parbox is a box whose contents are created in paragraph mode. The
LaTeX will position a parbox so its center lines up with the center of the text line. The optional position argument allows you to line up either the top or bottom line in the parbox (default is top). If the height argument is not given, the box will have the natural height of the text. The
A \raiseboxCommand: \raisebox{distance}[extend-above][extend-below]{text}
The Sometimes it’s useful to make LaTeX think something has a different size than it really does - or a different size than LaTeX would normally think it has. The The first optional argument, extend-above, makes LaTeX think that the text extends above the line by the amount specified. The second optional argument, extend-below, makes LaTeX think that the text extends below the line by the amount specified. \saveboxCommand: \savebox{cmd}[width][pos]{text}
This command typeset text in a box just as for \sboxCommand: \sbox{text}
This commands typeset text in a box just as for \useboxCommand: \usebox{cmd}
Prints the box most recently saved in bin
|
|
Page last
modified on February 24, 2009, at 12:23 PM
|