[latexrefman-commits] r362 - in /trunk: ChangeLog latex2e.texi
jhefferon at domain.hid
jhefferon at domain.hid
Tue Jun 16 02:40:41 CEST 2015
Author: jhefferon
Date: Tue Jun 16 02:40:40 2015
New Revision: 362
URL: http://svn.gna.org/viewcvs/latexrefman?rev=362&view=rev
Log:
more low-level font commands
Modified:
trunk/ChangeLog
trunk/latex2e.texi
Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=362&r1=361&r2=362&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Tue Jun 16 02:40:40 2015
@@ -1,3 +1,8 @@
+2015-06-11 Jim Hefferon <jhefferon at domain.hid>
+
+ * latex2e.texi: (Low-level font commands) More information about
+ options.
+
2015-06-11 Jim Hefferon <jhefferon at domain.hid>
* latex2e.texi: (Low-level font commands) Add some information about
Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=362&r1=361&r2=362&view=diff
==============================================================================
--- trunk/latex2e.texi (original)
+++ trunk/latex2e.texi Tue Jun 16 02:40:40 2015
@@ -933,22 +933,77 @@
@table @code
@item \fontencoding at domain.hid}@}
@findex \fontencoding
-Select font encoding, the encoding of the output font. Valid encodings
-include @code{OT1}, Knuth's original encoding for Computer Modern, and
- at domain.hid}, also known as the Cork encoding, which allows for most
-characters in Latin alphabets.
+Select the font encoding, the encoding of the output font. There are a
+large number of valid encodings. The most common are @code{OT1},
+Knuth's original encoding for Computer Modern (the default), and
+ at code{T1}, also known as the Cork encoding, which has support for the
+accented characters used by the most widespread European languages
+(German, French, Italian, Polish and others), which allows @TeX{} to
+hyphenate words containing accented letters.
@item \fontfamily at domain.hid}@}
@findex \fontfamily
-Select the font family. Valid families include:
-
- at domain.hid @bullet
- at domain.hid @code{cmr} for Computer Modern Roman
- at domain.hid @code{cmss} for Computer Modern Sans Serif
- at domain.hid @code{cmtt} for Computer Modern Typewriter
- at domain.hid itemize
-
-and numerous others.
+Select the font family. Valid families include these and numerous
+others.
+
+ at table @option
+ at item pag
+Avant Garde
+
+ at item fvs
+Bitstream Vera Sans
+
+ at item pbk
+Bookman
+
+ at item bch
+Charter
+
+ at item ccr
+Computer Concrete
+
+ at item cmr
+Computer Modern
+
+ at item pcr
+Courier
+
+ at item mdugm
+Garamond
+
+ at item phv
+Helvetica
+
+ at item fi4
+Inconsolata
+
+ at item lmr
+Latin Modern
+
+ at item lmss
+Latin Modern Sans
+
+ at item lmtt
+Latin Modern Typewriter
+
+ at item pnc
+New Century Schoolbook
+
+ at item ppl
+Palatino
+
+ at item ptm
+Times
+
+ at item uncl
+Uncial
+
+ at item put
+Utopia
+
+ at item pzc
+Zapf Chancery
+ at end table
@item \fontseries at domain.hid}@}
@findex \fontseries
@@ -1013,40 +1068,61 @@
When forming the @var{series} string from the weight and width, drop the
@code{m} that stands for medium weight or medium width, unless both
-weight and width are @code{m}, in which case you just use one @code{m}.
+weight and width are @code{m}, in which case you just use one
+(@samp{@code{m}}).
@item \fontshape at domain.hid}@}
@findex \fontshape
Select font shape. Valid shapes are:
- at domain.hid @bullet
- at domain.hid @code{n} Upright (normal)
- at domain.hid @code{it} Italic
- at domain.hid @code{sl} Slanted (oblique)
- at domain.hid @code{sc} Small caps
- at domain.hid @code{ui} Upright italics
- at domain.hid @code{ol} Outline
- at domain.hid itemize
+ at table @option
+ at item @code{n}
+Upright (normal)
+
+ at item @code{it}
+Italic
+
+ at item @code{sl}
+Slanted (oblique)
+
+ at item @code{sc}
+Small caps
+
+ at item @code{ui}
+Upright italics
+
+ at item @code{ol}
+Outline
+ at end table
The two last shapes are not available for most font families.
@item \fontsize at domain.hid}@}
@findex \fontsize
@findex \baselineskip
-Set the font size and the line spacing. The line spacing is stored in a
-parameter named @code{\baselineskip}. The unit of both parameters
-defaults to points (@code{pt}). The default @code{\baselineskip} for
+Set the font size and the line spacing. The unit of both parameters
+defaults to points (@code{pt}). The line spacing is the nominal
+vertical space between lines, baseline to baseline. It is stored in the
+parameter @code{\baselineskip}. The default @code{\baselineskip} for
the Computer Modern typeface is 1.2 times the @code{\fontsize}.
-
+Changing the @code{\baselineskip} is inadvisable since its value is
+reset every time a size change happens; see @code{\baselinestretch}.
+
+ at item \baselinestretch
@findex \baselinestretch
@cindex @code{setspace} package
@cindex double spacing
-The line spacing is also multiplied by the value of the
- at domain.hid} parameter when the type size changes; the
-default is 1. However, the best way to ``double space'' a document,
-if you should be unlucky enough to have to produce such, is to use the
- at domain.hid} package; see
- at domain.hid}.
+ at LaTeX{} multiplies the line spacing by the value of the
+ at code{\baselinestretch} parameter; the default factor is 1. This
+happens only when the type size changes, so you can make line skip
+changes happen for the entire document by doing
+ at code{\renewcommand at domain.hid@}} in the preamble.
+
+The best way to double-space a document is to use the @file{setspace}
+package. In addition to offering a number of spacing options, this
+package keeps the line spacing single-spaced in places where that is
+desirable such as footnotes and figure captions. See the package
+documentation.
@findex \linespread
@item \linespread at domain.hid}@}
@@ -1056,9 +1132,14 @@
Best specified in the preamble, or use the @code{setspace} package, as
described just above.
+ at item \selectfont
@findex \selectfont
-The changes made by calling the font commands described above do
-not come into effect until @code{\selectfont} is called.
+The changes made by calling the font commands described above do not
+come into effect until @code{\selectfont} is called, as in
+ at code{\fontfamily at domain.hid}. It is often useful
+to put this in a macro:
+ at code{\newcommand*@{\myfont at domain.hid@}}
+(@pxref{\newcommand & \renewcommand}).
@item \usefont at domain.hid}@}
@findex \usefont
More information about the latexrefman-commits
mailing list