summaryrefslogtreecommitdiff
path: root/support/tcltexed/hlp/bre/Typefaces.txt
blob: b0bb3fedf4475c7711a75ad4665cf4ab1f483431 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
############################################################
Typefaces
############################################################

The typeface is specified by giving the "size" and "style". 
A typeface is also called a "font". 

	Styles: Select roman, italics etc. 
	Sizes: Select point size. 
	Low-level font commands: Commands for wizards. 

############################################################
	Styles
############################################################
The following type style commands are supported by LaTeX. 
These commands are used like \textit{italics text}. The 
corresponding command in parenthesis is the "declaration form", 
which takes no arguments. The scope of the declaration form 
lasts until the next type style command or the end of the 
current group. 

The declaration forms are cumulative; i.e., you can say 
\sffamily\bfseries to get sans serif boldface. 

You can also use the environment form of the declaration 
forms; e.g. \begin{ttfamily}...\end{ttfamily}. 

	\textrm (\rmfamily) ::textrm::rmfamily::
Roman. 
	\textit (\itshape) ::textit::itshape::
	\emph ::emph::
Emphasis (toggles between \textit and \textrm). 
	\textmd (\mdseries) ::textmd::mdseries::
Medium weight (default). The opposite of boldface. 
	\textbf (\bfseries) ::textbf::bfseries::
Boldface. 
	\textup (\upshape) ::textup::upshape::
Upright (default). The opposite of slanted. 
	\textsl (\slshape) ::textsl::slshape::
Slanted. 
	\textsf (\sffamily) ::textsf::sffamily::
Sans serif. 
	\textsc (\scshape) ::textsc::scshape::
Small caps. 
	\texttt (\ttfamily) ::texttt::ttfamily::
Typewriter. 
	\textnormal (\normalfont) ::textnormal::normalfont::
Main document font. 
	\mathrm ::mathrm::
Roman, for use in math mode. 
	\mathbf ::mathbf::
Boldface, for use in math mode. 
	\mathsf ::mathsf::
Sans serif, for use in math mode. 
	\mathtt ::mathtt::
Typewriter, for use in math mode. 
	\mathit ::mathit::
Italics, for use in math mode, e.g. variable names 
with several letters. 
	\mathnormal ::mathnormal::
For use in math mode, e.g. inside another type style 
declaration. 
	\mathcal ::mathcal::
`Calligraphic' letters, for use in math mode. 
::mathversion::
In addition, the command \mathversion{bold} can be used for 
switching to bold letters and symbols in formulas. 
\mathversion{normal} restores the default. 

############################################################
	Sizes
############################################################
The following standard type size commands are supported by 
LaTeX. The commands as listed here are "declaration forms". 
The scope of the declaration form lasts until the next type 
style command or the end of the current group.
 
You can also use the environment form of these commands; e.g. 
\begin{tiny}...\end{tiny}. 

	\tiny ::tiny::
	\scriptsize ::scriptsize::
	\footnotesize ::footnotesize::
	\small ::small::
	\normalsize (default) ::normalsize::
	\large ::large::
	\Large ::Large::
	\LARGE ::LARGE::
	\huge ::huge::
	\Huge ::Huge::

############################################################
	Low-level font commands
############################################################
These commands are primarily intended for writers of macros 
and packages. The commands listed here are only a subset of 
the available ones. For full details, you should consult 
Chapter 7 of The LaTeX Companion. 

	\fontencoding{enc} ::fontencoding::

Select font encoding. Valid encodings include OT1 and T1. 

	\fontfamily{family} ::fontfamily::

Select font family. Valid families include: 
		cmr for Computer Modern Roman 
		cmss for Computer Modern Sans Serif 
		cmtt for Computer Modern Typewriter 
and numerous others. 

	\fontseries{series} ::fontseries::

Select font series. Valid series include: 
		m Medium (normal) 
		b Bold 
		c Condensed 
		bc Bold condensed 
		bx Bold extended 
and various other combinations. 

	\fontshape{shape} ::fontshape::

Select font shape. Valid shapes are: 
		n Upright (normal) 
		it Italic 
		sl Slanted (oblique) 
		sc Small caps 
		ui Upright italics 
		ol Outline 
The two last shapes are not available for most font families. 

	\fontsize{size}{skip} ::fontsize::

Set font size. The first parameter is the font size to 
switch to; the second is the \baselineskip to use. The unit 
of both parameters defaults to pt. A rule of thumb is that 
the baselineskip should be 1.2 times the font size. 

	\selectfont ::selectfont::

The changes made by calling the four font commands described 
above do not come into effect until \selectfont is called. 

	\usefont{enc}{family}{series}{shape} ::usefont::

Equivalent to calling \fontencoding, \fontfamily, \fontseries 
and \fontshape with the given parameters, followed by \selectfont.