[latexrefman-commits] r356 - in /trunk: ChangeLog latex2e.texi

jhefferon at domain.hid jhefferon at domain.hid
Sun Jun 7 01:29:47 CEST 2015


Author: jhefferon
Date: Sun Jun  7 01:29:46 2015
New Revision: 356

URL: http://svn.gna.org/viewcvs/latexrefman?rev=356&view=rev
Log:
\newfont finishes the definitions

Modified:
    trunk/ChangeLog
    trunk/latex2e.texi

Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=356&r1=355&r2=356&view=diff
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Sun Jun  7 01:29:46 2015
@@ -1,3 +1,8 @@
+2015-06-06  Jim Hefferon  <jhefferon at domain.hid>
+
+	* latex2e.texi (\newfont): Expand definition.  Add example.
+	Warn that it is obsolete.
+
 2015-06-06  Jim Hefferon  <jhefferon at domain.hid>
 
 	* latex2e.texi (\newtheorem): Expand definition.  Add examples

Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=356&r1=355&r2=356&view=diff
==============================================================================
--- trunk/latex2e.texi	(original)
+++ trunk/latex2e.texi	Sun Jun  7 01:29:46 2015
@@ -4166,19 +4166,34 @@
 @cindex defining new fonts
 
 
-
-Synopsis:
-
- at domain.hid
-\newfont at domain.hid}@}
- at domain.hid example
-
-Defines a control sequence @code{\@var{cmd}}, which must not already
-be defined, to make @var{fontname} be the current font.  The file
-looked for on the system is named @file{@var{fontname}.tfm}.
-
-This is a low-level command for setting up to use an individual font.
-More commonly, fonts are defined in families through @file{.fd} files.
+Declare a command to switch fonts.  Synopsis:
+
+ at example
+\newfont at domain.hid description}@}
+ at end example
+
+Defines a control sequence @code{\@var{cmd}} to switch 
+the current font.  The control sequence must must not already be
+defined.  It must begin with a backslash (@samp{\}).
+
+The @var{font description} consists of a @var{fontname} and an @var{at
+clause}; see the example below. @LaTeX{} looks on your system for a file
+named @file{@var{fontname}.tfm}.
+
+This command is obsolete.  It is a low-level command for setting up to
+use an individual font.  Today fonts are defined in families through the
+New Font Selection Scheme, either by using @file{.fd} files or through
+the use of an engine that can access system fonts such as Xe at domain.hid{}
+(@pxref{@TeX{} engines}).
+
+This example sets the second set of characters using Computer Modern
+Roman 12 point at a magnified size.  
+ at example
+abcdef
+\newfont at domain.hid scaled 1200@}
+\testfont
+abcdef
+ at end example
 
 
 @node \protect
@@ -4211,7 +4226,7 @@
 proceding it with @code{\protect}.  Every fragile commands must be
 protected with their own @code{\protect}.  
 
-Although usually, a @code{\protect} command doesn't hurt, length
+Although usually a @code{\protect} command doesn't hurt, length
 commands are robust and should not be preceded by a @code{\protect}
 command. Nor can a @code{\protect} command be used in the argument to
 @code{\addtocounter} or @code{\setcounter} command.





More information about the latexrefman-commits mailing list