[latexrefman-commits] [SCM] latexrefman updated: r842 - trunk

karl at gnu.org.ua karl at gnu.org.ua
Tue Nov 24 20:05:53 CET 2020


Author: karl
Date: 2020-11-24 21:05:53 +0200 (Tue, 24 Nov 2020)
New Revision: 842

Modified:
   trunk/ChangeLog
   trunk/aspell.en.pws
   trunk/latex2e.texi
Log:
newish latex changes: textcomp no-op, arithmetic expressions, pdf found before png

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2020-09-17 05:55:39 UTC (rev 841)
+++ trunk/ChangeLog	2020-11-24 19:05:53 UTC (rev 842)
@@ -1,3 +1,11 @@
+2020-11-24  Karl Berry  <karl at freefriends.org>
+
+	* latex2e.texi: omit mention of textcomp, since it has become a no-op.
+	(picture): mention use of arithmetic expressions;
+	move qbezier example to qbezier node.
+	(\DeclareGraphicsExtensions): pdf before png; mention grfext.
+	These suggestions from Pablo Gonzalez L, 23 Oct 2020.
+
 2020-09-17  Vincent Bela\"iche  <vincentb1 at users.sourceforge.net>
 
 	* latex2e-fr.texi (@TeX{} engines): Propagate K's r840 + some

Modified: trunk/aspell.en.pws
===================================================================
--- trunk/aspell.en.pws	2020-09-17 05:55:39 UTC (rev 841)
+++ trunk/aspell.en.pws	2020-11-24 19:05:53 UTC (rev 842)
@@ -264,3 +264,4 @@
 xyz
 zet
 scrollmode
+grfext

Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi	2020-09-17 05:55:39 UTC (rev 841)
+++ trunk/latex2e.texi	2020-11-24 19:05:53 UTC (rev 842)
@@ -432,13 +432,13 @@
 @cindex OpenType fonts
 
 @cindex @TeX{} format (@code{.fmt}) files
- at cindex @LaTeX{} format @(code{.fmt}) files
+ at cindex @LaTeX{} format (@code{.fmt}) files
 @cindex format files, @TeX{}
 @findex .fmt @r{file}
 @LaTeX{} is a large set of commands that is executed by a @TeX{}
-program  (@pxref{Overview}). Such a set of commands is called a @dfn{format}, and is
-embodied in a binary @code{.fmt} file, which can be read much more
-quickly than the corresponding @TeX{} source.
+program (@pxref{Overview}). Such a set of commands is called a
+ at dfn{format}, and is embodied in a binary @code{.fmt} file, which can
+be read much more quickly than the corresponding @TeX{} source.
 
 This section gives a terse overview of the @TeX{} programs that are
 commonly available (see also at tie{}@ref{Command line}).
@@ -1417,7 +1417,6 @@
 @url{http://math.ucsd.edu/~msharpe/RcntFnts.pdf}.)
 
 @example
-\usepackage[full]@{textcomp@}
 \usepackage[osf]@{newpxtext@} % osf for text, not math
 \usepackage@{cabin@} % sans serif
 \usepackage[varqu,varl]@{inconsolata@} % sans serif typewriter
@@ -2212,17 +2211,15 @@
 @cindex numerals, old-style
 @cindex old-style numerals
 @cindex lining numerals
- at PkgIndex{textcomp}
-Finally, the command @code{\oldstylenums@{@var{numerals}@}} will typeset
-so-called ``old-style'' numerals, which have differing heights and
-depths (and sometimes widths) from the standard ``lining'' numerals,
-which all have the same height as uppercase letters.  @LaTeX{}'s
-default fonts support this, and will respect @code{\textbf} (but not
-other styles; there are no italic old-style numerals in Computer
-Modern).  Many other fonts have old-style numerals also; sometimes the
- at code{textcomp} package must be loaded, and sometimes package options
-are provided to make them the default.  FAQ entry:
- at url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=osf}.
+Finally, the command @code{\oldstylenums@{@var{numerals}@}} will
+typeset so-called ``old-style'' numerals, which have differing heights
+and depths (and sometimes widths) from the standard ``lining''
+numerals, which all have the same height as uppercase letters.
+ at LaTeX{}'s default fonts support this, and will respect @code{\textbf}
+(but not other styles; there are no italic old-style numerals in
+Computer Modern).  Many other fonts have old-style numerals also;
+sometimes package options are provided to make them the default.  FAQ
+entry: @url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=osf}.
 
 
 @node Font sizes
@@ -6120,10 +6117,10 @@
 An environment to create simple pictures containing lines, arrows,
 boxes, circles, and text.  This environment is not obsolete, but new
 documents typically use much more powerful graphics creation systems,
-such as TikZ, PSTricks, MetaPost, or Asymptote.  These are not
+such as TikZ, PSTricks, MetaPost, or Asymptote.  None of these are
 covered in this document; see CTAN.
 
-This shows the parallelogram law for adding vectors.
+To start, here's an example showing the parallelogram law for adding vectors.
 
 @findex \unitlength
 @example
@@ -6138,27 +6135,6 @@
 \end@{picture@}
 @end example
 
-You can also use this environment to place arbitrary material at an
-exact location.
-
- at example
-\usepackage@{color,graphicx@}  % in preamble
-  ...
-\begin@{center@}
-\setlength@{\unitlength@}@{\textwidth@} 
-\begin@{picture@}(1,1)      % leave space, \textwidth wide and tall
-  \put(0,0)@{\includegraphics[width=\textwidth]@{desertedisland.jpg@}@}
-  \put(0.25,0.35)@{\textcolor@{red@}@{X Treasure here@}@}
-\end@{picture@}
-\end@{center@}
- at end example
-
- at noindent
-The red at tie{}X will be precisely a quarter of the @code{\linewidth} from
-the left margin, and @code{0.35\linewidth} up from the bottom.  Another
-example of this usage is to put similar code in the page header to get
-repeat material on each of a document's pages.
-
 The @code{picture} environment has one required argument, a pair of
 numbers (@var{width}, at var{height}).  Multiply these by the value
 @code{\unitlength} to get the nominal size of the output, the space that
@@ -6203,6 +6179,9 @@
 (@pxref{\setlength}).  Make this change only outside of a @code{picture}
 environment.
 
+The @code{picture} environment supports using standard arithmetic
+expressions as well as numbers.
+
 Coordinates are given with respect to an origin, which is normally at
 the lower-left corner of the picture.  Note that when a position appears
 as an argument, as with @code{\put(1,2)@{...@}}, it is not enclosed in
@@ -6245,23 +6224,27 @@
 The @code{\multiput}, @code{qbezier}, and @code{graphpaper} commands are
 described below.
 
-This draws a rectangle with a wavy top, using @code{\qbezier} for
-that curve.
+You can also use this environment to place arbitrary material at an
+exact location. For example:
 
 @example
-\begin@{picture@}(3,1.5)
-  \put(0,0)@{\vector(1,0)@{8@}@}  % x axis
-  \put(0,0)@{\vector(0,1)@{4@}@}  % y axis
-  \put(2,0)@{\line(0,1)@{3@}@}       % left side rectangle
-  \put(4,0)@{\line(0,1)@{3.5@}@}     % right side
-  \qbezier(2,3)(2.5,2.9)(3,3.25)
-    \qbezier(3,3.25)(3.5,3.6)(4,3.5)
-  \thicklines                 % below here, lines are twice as thick
-  \put(2,3)@{\line(4,1)@{2@}@}
-  \put(4.5,2.5)@{\framebox@{Trapezoidal Rule@}@}
+\usepackage@{color,graphicx@}  % in preamble
+  ...
+\begin@{center@}
+\setlength@{\unitlength@}@{\textwidth@} 
+\begin@{picture@}(1,1)      % leave space, \textwidth wide and tall
+  \put(0,0)@{\includegraphics[width=\textwidth]@{desertedisland.jpg@}@}
+  \put(0.25,0.35)@{\textcolor@{red@}@{X Treasure here@}@}
 \end@{picture@}
+\end@{center@}
 @end example
 
+ at noindent
+The red at tie{}X will be precisely a quarter of the @code{\linewidth} from
+the left margin, and @code{0.35\linewidth} up from the bottom.  Another
+example of this usage is to put similar code in the page header to get
+repeat material on each of a document's pages.
+
 @menu
 * \put::                Place an object at a specified place.
 * \multiput::           Draw multiple instances of an object.
@@ -6372,7 +6355,23 @@
 maximum number of points is @code{\qbeziermax} (change this value with
 @code{\renewcommand}).
 
+This draws a rectangle with a wavy top, using @code{\qbezier} for
+that curve.
 
+ at example
+\begin@{picture@}(3,1.5)
+  \put(0,0)@{\vector(1,0)@{8@}@}  % x axis
+  \put(0,0)@{\vector(0,1)@{4@}@}  % y axis
+  \put(2,0)@{\line(0,1)@{3@}@}       % left side rectangle
+  \put(4,0)@{\line(0,1)@{3.5@}@}     % right side
+  \qbezier(2,3)(2.5,2.9)(3,3.25)
+    \qbezier(3,3.25)(3.5,3.6)(4,3.5)
+  \thicklines                 % below here, lines are twice as thick
+  \put(2,3)@{\line(4,1)@{2@}@}
+  \put(4.5,2.5)@{\framebox@{Trapezoidal Rule@}@}
+\end@{picture@}
+ at end example
+
 @node \graphpaper
 @subsection @code{\graphpaper}
 
@@ -16361,9 +16360,12 @@
 the most recent @file{pdftex.def} has this extension list.
 
 @example
-.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPEG,.JBIG2,.JB2
+.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2
 @end example
 
+ at PkgIndex{grfext}
+To change the order, use the @code{grfext} package.
+
 You can use this command anywhere in the document.  You can use it more
 than once.  Show its value with
 @code{\makeatletter\typeout@{\Gin@@extensions@}\makeatother}.
@@ -17218,8 +17220,7 @@
 @findex textcomp @r{package}
 @LaTeX{} provides commands to generate a number of non-letter symbols in
 running text.  Some of these, especially the more obscure ones, are not
-available in OT1. Unless you are using Xe at LaTeX{} or Lua at LaTeX{} then
-you may need to load the @code{textcomp} package.
+available in OT1.
 
 @ftable @code
 @item \copyright



More information about the latexrefman-commits mailing list.