summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/hbox.helpmark
blob: 552ad9c2b45bb53ecbc0770256e4769091e0a979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
+-----------------------------------------------------------------------------+
|                                    hbox                                     |
+-----------------------------------------------------------------------------+
 
Abbreviation:  ã|noneã%
 
Parameters:    ã|horizontal mode textã%
 
    ã|Description:ã%
The \hbox is a  TEX markup which, among several uses,  can be used to keep a
word together, preventing hyphenations.  For example,
 
\hbox{low-cut}
 
would prohibit hyphenation of  "low-cut".  It can also  be used in math mode
to switch to the roman font.  For example,
 
@x^{34}+\hbox{lower order terms}@
 
prints as:
 
+-----------------------------------------------------------------------------+
|                                                                             |
|     x[34]+lower order terms                                                 |
|                                                                             |
+-----------------------------------------------------------------------------+
 
    ã|Notes:ã%
You cannot use \autoendnote, \autofootnote, or \footnote within an \hbox.
    You can also specify an \hbox to take up a certain size.  For example,
 
\hbox to 1in{}
 
would create a  box one inch wide.   Refer to the  discussion of \leader for
more on this option of \hbox.
    For more on this markup refer to The TEXbook.