diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mathstext.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mathstext.html | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mathstext.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mathstext.html index 47d164928cc..6f97739d8d6 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mathstext.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mathstext.html @@ -4,17 +4,17 @@ <h3>Text inside maths</h3> <p/>When we type maths in (La)TeX, the letters from which we make up ordinary text assume a special significance: they all become -single-letter variable names. The letters appear in italics, but it’s -not the same sort of italics that you see when you’re typing ordinary -text: a run of maths letters (for example “here”) looks oddly -“lumpy” when compared with the word written in italic text. The +single-letter variable names. The letters appear in italics, but it’s +not the same sort of italics that you see when you’re typing ordinary +text: a run of maths letters (for example “here”) looks oddly +“lumpy” when compared with the word written in italic text. The difference is that the italic text is kerned to make the letters fit -well together, whereas the maths is set to look as if you’re +well together, whereas the maths is set to look as if you’re multiplying <em>h</em> by <em>e</em> by <em>r</em> by <em>e</em>. The other way things are odd in TeX maths typing is that spaces are ignored: at best we can write single words in this oddly lumpy font. -<p/>So, if we’re going to have good-looking text in amongst maths we’re -writing, we have to take special precautions. If you’re using +<p/>So, if we’re going to have good-looking text in amongst maths we’re +writing, we have to take special precautions. If you’re using LaTeX, the following should help. <p/>The simplest is to use <code>\</code><code>mbox</code> or <code>\</code><code>textrm</code>: <blockquote> @@ -38,8 +38,8 @@ $z = a_{\textrm{other end}}$ </blockquote><p> does the same as <code>\</code><code>mbox</code>, by default. <p/>(The maths-mode instance of your roman font (<code>\</code><code>mathrm</code>) gets the -size right, but since it’s intended for use in maths, its spaces get -ignored — use <code>\</code><code>mathrm</code> for upright roman alphabetic variable +size right, but since it’s intended for use in maths, its spaces get +ignored — use <code>\</code><code>mathrm</code> for upright roman alphabetic variable names, but not otherwise.) <p/>You can correct these problems with size selectors in the text, as: <blockquote> @@ -49,12 +49,12 @@ $z = a_{\mbox{\scriptsize other end}}$ </blockquote><p> which works if your surrounding text is at default document size, but gives you the wrong size otherwise. -<p/>The <code>\</code><code>mbox</code> short cut is (just about) OK for “occasional” +<p/>The <code>\</code><code>mbox</code> short cut is (just about) OK for “occasional” use, but serious mathematics calls for a technique that relieves the typist of the sort of thought required. As usual, the -AMSLaTeX system provides what’s necessary — the <code>\</code><code>text</code> +AMSLaTeX system provides what’s necessary — the <code>\</code><code>text</code> command. (The command is actually provided by the <i>amstext</i> -package, but the “global” <i>amsmath</i> package loads it.) Thus +package, but the “global” <i>amsmath</i> package loads it.) Thus anyone using AMSLaTeX proper has the command available, so even this author can write: <blockquote> @@ -66,7 +66,7 @@ $z = a_{\text{other end}}$ </blockquote><p> and the text will be at the right size, and in the same font as surrounding text. (The <i>amstext</i> package also puts -<code>\</code><code>textrm</code> to rights — but <code>\</code><code>text</code> is easier to type than +<code>\</code><code>textrm</code> to rights — but <code>\</code><code>text</code> is easier to type than <code>\</code><code>textrm</code>!) <p/>AMSLaTeX also makes provision for interpolated comments in the middle of one of its multi-line display structures, through the @@ -81,7 +81,7 @@ middle of one of its multi-line display structures, through the \end{align} </pre> </blockquote><p> -places the text “and” on a separate line before the last line of the +places the text “and” on a separate line before the last line of the display. If the interjected text is short, or the equations themselves are light-weight, you may find that <code>\</code><code>intertext</code> leaves too much space. Slightly more modest is the <code>\</code><code>shortintertext</code> @@ -97,7 +97,7 @@ command from the <i>mathtools</i> package: </blockquote><p> To have the text on the same line as the second equation, one can use the <code>flalign</code> environment (from <i>amsmath</i>) -with lots of dummy equations (represented by the double <code>&</code> +with lots of dummy equations (represented by the double <code>&</code> signs): <blockquote> <pre> @@ -107,18 +107,13 @@ signs): \end{flalign} </pre> </blockquote><p> -<p/>Comprehensive documentation of AMSLaTeX is to be found in -<i>amsldoc</i>, in the distribution; it is also available on the web -at <a href="ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf">ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf</a> <dl> -<dt><tt><i>amsldoc.tex</i></tt><dd>Distributed as part of AMSLaTeX - <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse the directory</a>) <dt><tt><i>amsmath.sty</i></tt><dd>Distributed as part of AMSLaTeX - <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse the directory</a>) + <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/amsmath.html">catalogue entry</a> <dt><tt><i>amstext.sty</i></tt><dd>Distributed as part of AMSLaTeX - <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse the directory</a>) + <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/amstext.html">catalogue entry</a> <dt><tt><i>mathtools.sty</i></tt><dd>Distributed as part of the <i>mh</i> bundle - <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/mh.zip">macros/latex/contrib/mh</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/mh/">browse the directory</a>) + <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/mh.zip">macros/latex/contrib/mh</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/mh/">browse the directory</a>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/mathtools.html">catalogue entry</a> </dl> <p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mathstext">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mathstext</a> </body> |