[latexrefman-commits] [SCM] latexrefman updated: r729 - trunk
karl at gnu.org.ua
karl at gnu.org.ua
Wed Nov 14 00:22:27 CET 2018
Author: karl
Date: 2018-11-14 01:22:27 +0200 (Wed, 14 Nov 2018)
New Revision: 729
Modified:
trunk/
trunk/ChangeLog
trunk/common.texi
trunk/latex2e.texi
Log:
insert lasy characters
Index: trunk
===================================================================
--- trunk 2018-11-12 16:07:19 UTC (rev 728)
+++ trunk 2018-11-13 23:22:27 UTC (rev 729)
Property changes on: trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+latex2e.t2pdf
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2018-11-12 16:07:19 UTC (rev 728)
+++ trunk/ChangeLog 2018-11-13 23:22:27 UTC (rev 729)
@@ -1,3 +1,9 @@
+2018-11-13 Karl Berry <karl at freefriends.org>
+
+ * common.texi: define lasy math symbols
+ (from Jim and wasyfont.tex and latexsym.dtx).
+ * latex2e.texi (Math symbols): use them, in the long list.
+
2018-11-11 Jim Hefferon <jhefferon at smcvt.edu>
* latex2e.texi (Arrows): Add \to, omit \leadsto.
Modified: trunk/common.texi
===================================================================
--- trunk/common.texi 2018-11-12 16:07:19 UTC (rev 728)
+++ trunk/common.texi 2018-11-13 23:22:27 UTC (rev 729)
@@ -1,6 +1,6 @@
@c $Id$
@c Public domain.
- at set LTXREFMAN_HOME_PAGE https://puszcza.gnu.org.ua/software/latexrefman
+ at set LTXREFMAN_HOME_PAGE https://latexref.xyz
@set LTXREFMAN_BUGS latexrefman@@tug.org
@clear HAS-MATH
@iftex
@@ -14,5 +14,46 @@
\else\@c
@end macro
@end ifnottex
-
+ at tex
+\globaldefs=1
+% lasyfont characters for Texinfo (latexsym package in LaTeX).
+% JH 2018-Nov-12, ideas from wasyfont.tex. Public domain.
+% not going to try to make fonts
+\font\tenlasy = lasy10
+% \font\ninelasy = lasy9
+% \font\eightlasy = lasy8
+\font\sevenlasy = lasy7
+\font\fivelasy = lasy5
+\newfam\lasyfam
+\newcount\lasyfamcount
+% family number is third-least-significant hex digit of mathchar
+\lasyfamcount=\lasyfam \multiply\lasyfamcount by 256
+%
+\textfont\lasyfam=\tenlasy
+ \scriptfont\lasyfam=\sevenlasy
+ \scriptscriptfont\lasyfam=\fivelasy
+%
+\def\lasymathchardef#1#2{%
+ \count255=\lasyfamcount
+ \advance\count255 by"#1
+ \mathchardef#2\count255 }
+% char 1 (math class): 0=ord, 2=bin, 3=rel (taken from latexsym.dtx).
+% char 2: family number, added in by \lasymathchardef.
+% chars 3-4: character code in font. All in hex.
+\lasymathchardef{0030}{\mho}
+\lasymathchardef{3031}{\Join}
+\lasymathchardef{0032}{\Box}
+\lasymathchardef{0033}{\Diamond}
+\lasymathchardef{303B}{\leadsto}
+\lasymathchardef{303C}{\sqsubset}
+\lasymathchardef{303D}{\sqsupset}
+\lasymathchardef{2001}{\lhd}
+\lasymathchardef{2003}{\rhd}
+\lasymathchardef{2002}{\unlhd}
+\lasymathchardef{2004}{\unrhd}
+%
+% must explicitly reset before the (at)end tex, not let the (at)end group
+% reset it; else internal Texinfo variables get messed up.
+\globaldefs=0
+ at end tex
Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi 2018-11-12 16:07:19 UTC (rev 728)
+++ trunk/latex2e.texi 2018-11-13 23:22:27 UTC (rev 729)
@@ -10788,13 +10788,13 @@
subscript something to attach to and keeps it from accidentally
attaching to a prior symbols.
-Using the subscript or superscript command outside of math mode or
+Using the subscript or superscript character outside of math mode or
display math mode, as in @code{the expression x^2}, will get you
the error @samp{Missing $ inserted}.
@PkgIndex{mhchem}
A common reason to want subscripts outside of a mathematics mode is to
-typeset chemical formulas. There are packages for that such as
+typeset chemical formulas. There are packages for that, such as
@file{mhchem}; see CTAN.
@@ -10805,13 +10805,13 @@
@cindex symbols, math
@cindex greek letters
- at PkgIndex{symbols}
+ at PkgIndex{comprehensive}
@LaTeX{} provides almost any mathematical or technical symbol that
-anyone uses. For example, if you include @code{$\pi$} in your source,
-you will get the pi symbol @BES{03C0,\pi}. See the @file{Comprehensive
- at LaTeX{} Symbol List} at
- at url{https://ctan.org/tex-archive/info/symbols/comprehensive/}.
+anyone uses. For example, if you include @code{$\pi$} in your source,
+you will get the pi symbol @BES{03C0,\pi}. See the ``Comprehensive
+ at LaTeX{} Symbol List'' package at
+ at url{https://ctan.org/pkg/comprehensive}.
Here is a list of commonly-used symbols. It is by no means exhaustive.
Each symbol is described with a short phrase, and its symbol class,
@@ -10910,7 +10910,7 @@
@BES{22C8,\bowtie} Natural join of two relations (relation).
@item \Box
- at BES{25A1,} Modal operator for necessity; square open box
+ at BES{25A1,\Box} Modal operator for necessity; square open box
(ordinary). @value{NeedsAMSSymb}
@c bb Best Unicode equivalent?
@@ -10969,7 +10969,7 @@
@BES{03B4,\delta} Greek lowercase delta (ordinary).
@item \Diamond
- at BES{25C7,} Large diamond operator (ordinary). @value{NeedsAMSSymb}
+ at BES{25C7,\Diamond} Large diamond operator (ordinary). @value{NeedsAMSSymb}
@item \diamond
@BES{22C4,\diamond} Diamond operator (binary). Similar: large
@@ -11088,7 +11088,7 @@
@BES{03B9,\iota} Lowercase Greek letter (ordinary).
@item \Join
- at BES{2A1D,} Condensed bowtie symbol (relation). Not available in Plain
+ at BES{2A1D,\Join} Condensed bowtie symbol (relation). Not available in Plain
@TeX{}.
@item \jmath
@@ -11130,7 +11130,7 @@
for at tie{}@code{\leq}.
@item \leadsto
- at BES{21DD,} Squiggly right arrow (relation). @value{NeedsAMSSymb}
+ at BES{21DD,\leadsto} Squiggly right arrow (relation).
To get this symbol outside of math mode you can put
@code{\newcommand*@{\Leadsto@}@{\ensuremath@{\leadsto@}@}} in the
preamble and then use @code{\Leadsto} instead.
@@ -11167,8 +11167,8 @@
@BES{230A,\lfloor} Left floor bracket (opening). Matches:@tie{}@code{\floor}.
@item \lhd
- at BES{25C1,} Arrowhead, that is, triangle, pointing left (binary).
- at value{NeedsAMSSymb} For the normal subgroup symbol you should load
+ at BES{25C1,\lhd} Arrowhead, that is, triangle, pointing left (binary).
+For the normal subgroup symbol you should load
@file{amssymb} and use at tie{}@code{\vartriangleleft} (which is a relation
and so gives better spacing).
@@ -11199,12 +11199,12 @@
@BES{2228,\lor} Logical or (binary). Synonym: wedge at tie{}@code{\wedge}.
@item \mapsto
- at BES{21A6,\mapsto} Single-line left arrow starting with vertical bar (relation).
+ at BES{21A6,\mapsto} Single-line left arrow starting with vertical bar
+(relation).
Similar: longer version at tie{}@code{\longmapsto}.
@item \mho
- at BES{2127,} Conductance, half-circle rotated capital omega (ordinary).
- at value{NeedsAMSSymb}
+ at BES{2127,\mho} Conductance, half-circle rotated capital omega (ordinary).
@item \mid
@BES{2223,\mid} Single-line vertical bar (relation). A typical use of
@@ -11393,8 +11393,8 @@
off (closing). Matches at tie{}@code{\lfloor}.
@item \rhd
- at BES{25C1,} Arrowhead, that is, triangle, pointing right (binary).
- at value{NeedsAMSSymb} For the normal subgroup symbol you should instead
+ at BES{25C1,\rhd} Arrowhead, that is, triangle, pointing right (binary).
+For the normal subgroup symbol you should instead
load @file{amssymb} and use at tie{}@code{\vartriangleright} (which is a
relation and so gives better spacing).
@@ -11537,7 +11537,7 @@
Synonym:@tie{}@code{\rightarrow}.
@item \top
- at BES{22A4,} Top, greatest element of a partially ordered set
+ at BES{22A4,\top} Top, greatest element of a partially ordered set
(ordinary). See also at tie{}@code{\bot}.
@item \triangle
@@ -11556,15 +11556,15 @@
relation and so gives better spacing).
@item \unlhd
- at BES{22B4,} Left-pointing not-filled underlined arrowhead, that is,
-triangle, with a line under (binary). @value{NeedsAMSSymb} For the
+ at BES{22B4,\unlhd} Left-pointing not-filled underlined arrowhead, that is,
+triangle, with a line under (binary). For the
normal subgroup symbol load @file{amssymb} and
use at tie{}@code{\vartrianglelefteq} (which is a relation and so gives
better spacing).
@item \unrhd
- at BES{22B5,} Right-pointing not-filled underlined arrowhead, that is,
-triangle, with a line under (binary). @value{NeedsAMSSymb} For the
+ at BES{22B5,\unrhd} Right-pointing not-filled underlined arrowhead, that is,
+triangle, with a line under (binary). For the
normal subgroup symbol load @file{amssymb} and
use at tie{}@code{\vartrianglerighteq} (which is a relation and so gives
better spacing).
@@ -16869,11 +16869,10 @@
@end table
@menu
-* \accent:: Low level command to produce an accent.
+* \accent:: Low level command to produce an accented character.
@end menu
-
@node \accent
@subsection @code{\accent}
@findex \accent
@@ -16881,7 +16880,7 @@
Synopsis:
@example
- \accent at var{number} @var{character}
+\accent at var{number} @var{character}
@end example
A @TeX{} primitive command used to generate accented characters from
More information about the latexrefman-commits
mailing list