diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/isomath/isomath.sty.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/isomath/isomath.sty.html | 322 |
1 files changed, 181 insertions, 141 deletions
diff --git a/Master/texmf-dist/doc/latex/isomath/isomath.sty.html b/Master/texmf-dist/doc/latex/isomath/isomath.sty.html index 8d459c5d09e..86244f53e7b 100644 --- a/Master/texmf-dist/doc/latex/isomath/isomath.sty.html +++ b/Master/texmf-dist/doc/latex/isomath/isomath.sty.html @@ -3,14 +3,15 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.8: http://docutils.sourceforge.net/" /> -<title>isomath.sty: Math for scientists</title> -<meta name="copyright" content="© 2008, 2010 Günter Milde" /> +<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" /> +<title>isomath</title> +<meta name="date" content="2012-09-10" /> +<meta name="copyright" content="© 2008, 2012 Günter Milde" /> <style type="text/css"> /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 6511 2011-01-03 14:49:11Z milde $ +:Id: $Id: html4css1.css 7434 2012-05-11 21:06:27Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. @@ -250,10 +251,18 @@ pre.address { margin-top: 0 ; font: inherit } -pre.literal-block, pre.doctest-block { +pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } +pre.code .ln { /* line numbers */ + color: grey; +} + +.code { + background-color: #eeeeee +} + span.classifier { font-family: sans-serif ; font-style: oblique } @@ -336,6 +345,8 @@ body { line-height:1.3; /* http://ilovetypography.com/2008/02/28/a-guide-to-web-typography/ recommends "line-spacing that’s at least 140% of your text size" */ + counter-reset: table; + /* counter-reset: figure; */ } /* avoid long lines --> better reading */ @@ -362,7 +373,7 @@ dl.simple, dl.compact, dl.simple > dd, dl.compact > dd { } /* space around paragraphs */ -dl > dd p:first-child { +dl > dd p:first-child, td > p { margin: 0; } @@ -502,15 +513,23 @@ resulting list resembles the list-style 'outside' with a hanging indent. */ /* New ordered list: reset counter, suppress the default label */ -ol { +ol, ol.arabic, ol.loweralpha, ol.upperalpha, +ol.lowerroman, ol.upperroman { counter-reset: item; - list-style-type: none ! important; + list-style: none } /* Set the negative indent of the list label as feature of the list item */ ol > li { text-indent: -40px; /* Mozillas default indent */ } +/* reset for child elements */ +ol > li > * { + text-indent: 0px; + text-indent: 0; + margin-top: 0; + /* background: lightgreen; */ +} /* Label */ ol > li:before { @@ -527,16 +546,6 @@ ol > li:before { /* background: yellow; */ } -/* objects nested in an ol */ -ol > li > p, -ol > li > ol, -ol > li > ul, -ol > li > dl { - text-indent: 0; - margin-top: 0; - /* background: lightgreen; */ -} - /* The list item's first line starts next to the label, without indent */ ol > li > p:first-child, ol > li > ol:first-child, @@ -565,6 +574,12 @@ ol.nested > li:before, ol.nested ol > li:before { content: counters(item, ".") " "; } +/* lists nested in definition list */ + +dd > ul, dd > ol { + padding-left: 0pt; +} + /* TODO: prefix, suffix? */ /* smaller font for super- and subscripts */ @@ -574,18 +589,26 @@ ol.nested > li:before, ol.nested ol > li:before { /* Tables */ /* ====== */ -/* borders for "normal" tables */ +/* margins and borders for "normal" tables */ table { - margin-top: 0.5em ; - margin-bottom: 0.5em; - border-style: outset; +/* background: magenta; */ + margin-top: 1em ; + margin-bottom: 1em; +/* border-style: outset; */ + border-style: solid; + border-color: silver; border-width: thin; - /* border-collapse: collapse; */ + border-collapse: collapse; +} +blockquote > table { + margin-top: 0em ; + margin-bottom: 0em; } td, th { - border-style: inset; + border-style: solid; border-width: thin; + border-color: silver; /* text-align: left; */ padding: 0 1ex; } @@ -607,7 +630,6 @@ table.booktabs { border: 0; border-top: 2px solid; border-bottom: 2px solid; - border-collapse: collapse; } table.booktabs * { @@ -619,30 +641,31 @@ table.booktabs th { table > caption { text-align: left; + margin-bottom: 0.25em /* padding: 2em 0 1em 0; */ } -/* numbered tables and figures*/ -body { - counter-reset: table; -/* counter-reset: figure; */ -} - +/* numbered tables*/ table.numbered > caption:before { - counter-increment: table; + counter-increment: table; /* defined/re-set in body */ content: "Table " counter(table) ": "; font-weight: bold; } -/* whitespace and line-wrapping in inline literals - ----------------------------------------------- +/* literal text + ------------ */ +/* whitespace and wrapping in inline literals */ /* possible values: normal, nowrap, pre, pre-wrap, pre-line */ tt.literal { white-space: pre-wrap; } +/* /* compensate for initial line-break (which is literal with XHTML 1.1) */ */ +/* pre.literal-block, pre.doctest-block { */ +/* margin-top: 0em ; */ +/* } */ /* Table of Contents */ @@ -721,13 +744,6 @@ a.reference.external { /* vertical-align: super; */ /* } */ -dl.field-list { - margin-left: 2em; -} -dl.field-list > dt:after { - content: ""; /* drop trailing ':' */ -} - dl.footnote > dd { margin-left: 1.2em; } @@ -746,29 +762,28 @@ td, th { padding-top: 0.1ex; } -em.bfit { - font-weight: bold; - font-family: serif; -} -em.sfbfit { - font-weight: bold; - font-family: sans-serif; -} +/* let borderless overreide booktab */ +.booktabs.borderless, +table.booktabs.borderless td, table.booktabs.borderless th { + border: 0; + margin-left: 2em; + } -/* no borders for "borderless" tables */ -table.booktabs.borderless, table.booktabs.borderless * { - border-style: none; -} +table.docutils td, table.docutils th, + vertical-align: bottom; } </style> </head> <body> -<div class="document" id="isomath-sty-math-for-scientists"> -<h1 class="title">isomath.sty: Math for scientists</h1> +<div class="document" id="isomath"> +<h1 class="title">isomath</h1> +<h2 class="subtitle" id="mathematical-style-for-science-and-technology">Mathematical style for science and technology</h2> <dl class="docinfo"> +<dt class="date">Date</dt> +<dd class="date">2012-09-10</dd> <dt class="copyright">Copyright</dt> -<dd class="copyright">© 2008, 2010 Günter Milde</dd> +<dd class="copyright">© 2008, 2012 Günter Milde</dd> <dt>Licence</dt> <dd><p>This work may be distributed and/or modified under the conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either @@ -777,73 +792,77 @@ version 1.3 of this license or (at your option) any later version.</p> <dt>Identification</dt> <dd><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{isomath} -[2011/02/01 v0.5 ISO math style] +[2012/09/04 v0.6.1 ISO math style] </pre> </dd> </dl> <div class="abstract topic"> <p class="topic-title first">Abstract</p> -<p>The <cite>isomath</cite> package enables formatting Greek and Latin -letters as symbols for vectors, matrices, and tensors -in the typefaces recommended for scientific papers -by the International Standard ISO 80000-2.</p> +<p>The <cite>isomath</cite> package provides tools for a mathematical style +that conforms to the International Standard ISO 80000-2 and is +common in science and technology. It changes the default shape of +capital Greek letters to italic, sets up bold italic and +sans-serif bold italic math alphabets with Latin and Greek +characters, and defines macros for markup of vector, matrix and +tensor symbols.</p> </div> <div class="contents topic" id="contents"> <p class="topic-title first">Contents</p> <ul class="simple"> -<li><p><a class="reference internal" href="#history" id="id3">History</a></p></li> -<li><p><a class="reference internal" href="#requirements" id="id4">Requirements</a></p> +<li><p><a class="reference internal" href="#history" id="id4">History</a></p></li> +<li><p><a class="reference internal" href="#requirements" id="id5">Requirements</a></p> <ul> -<li><p><a class="reference internal" href="#fixmath-sty" id="id5">fixmath.sty</a></p></li> -<li><p><a class="reference internal" href="#kvoptions-sty" id="id6">kvoptions.sty</a></p></li> +<li><p><a class="reference internal" href="#fixmath-sty" id="id6">fixmath.sty</a></p></li> +<li><p><a class="reference internal" href="#kvoptions-sty" id="id7">kvoptions.sty</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#options" id="id7">Options</a></p> +<li><p><a class="reference internal" href="#options" id="id8">Options</a></p> <ul> -<li><p><a class="reference internal" href="#rmdefault" id="id8">rmdefault</a></p></li> -<li><p><a class="reference internal" href="#sfdefault" id="id9">sfdefault</a></p></li> -<li><p><a class="reference internal" href="#scaled" id="id10">scaled</a></p></li> -<li><p><a class="reference internal" href="#reusemathalphabets" id="id11">reuseMathAlphabets</a></p></li> -<li><p><a class="reference internal" href="#omlmath" id="id12">OMLmath*</a></p></li> +<li><p><a class="reference internal" href="#rmdefault" id="id9">rmdefault</a></p></li> +<li><p><a class="reference internal" href="#sfdefault" id="id10">sfdefault</a></p></li> +<li><p><a class="reference internal" href="#scaled" id="id11">scaled</a></p></li> +<li><p><a class="reference internal" href="#reusemathalphabets" id="id12">reuseMathAlphabets</a></p></li> +<li><p><a class="reference internal" href="#omlmath" id="id13">OMLmath*</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#declarations" id="id13">Declarations</a></p> +<li><p><a class="reference internal" href="#declarations" id="id14">Declarations</a></p> <ul> -<li><p><a class="reference internal" href="#math-alphabets" id="id14">Math alphabets</a></p> +<li><p><a class="reference internal" href="#math-alphabets" id="id15">Math alphabets</a></p> <ul> -<li><p><a class="reference internal" href="#mathbfit" id="id15">mathbfit</a></p></li> -<li><p><a class="reference internal" href="#mathsfit" id="id16">mathsfit</a></p></li> -<li><p><a class="reference internal" href="#mathsfbfit" id="id17">mathsfbfit</a></p></li> -<li><p><a class="reference internal" href="#redefine-standard-alphabets" id="id18">Redefine standard alphabets</a></p></li> +<li><p><a class="reference internal" href="#mathbfit" id="id16">mathbfit</a></p></li> +<li><p><a class="reference internal" href="#mathsfit" id="id17">mathsfit</a></p></li> +<li><p><a class="reference internal" href="#mathsfbfit" id="id18">mathsfbfit</a></p></li> +<li><p><a class="reference internal" href="#redefine-standard-alphabets" id="id19">Redefine standard alphabets</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#command-aliases" id="id19">Command aliases</a></p> +<li><p><a class="reference internal" href="#command-aliases" id="id20">Command aliases</a></p> <ul> -<li><p><a class="reference internal" href="#vectorsym" id="id20">\vectorsym</a></p></li> -<li><p><a class="reference internal" href="#matrixsym" id="id21">\matrixsym</a></p></li> -<li><p><a class="reference internal" href="#tensorsym" id="id22">\tensorsym</a></p></li> +<li><p><a class="reference internal" href="#vectorsym" id="id21">\vectorsym</a></p></li> +<li><p><a class="reference internal" href="#matrixsym" id="id22">\matrixsym</a></p></li> +<li><p><a class="reference internal" href="#tensorsym" id="id23">\tensorsym</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#font-mappings" id="id23">Font mappings</a></p> +<li><p><a class="reference internal" href="#font-setup-fixes" id="id24">Font setup fixes</a></p> <ul> -<li><p><a class="reference internal" href="#common-family-name-for-text-and-math" id="id24">Common family name for text and math</a></p></li> -<li><p><a class="reference internal" href="#scaling" id="id25">Scaling</a></p></li> +<li><p><a class="reference internal" href="#unknown-makro-in-font-definition-file" id="id25">Unknown makro in font definition file</a></p></li> +<li><p><a class="reference internal" href="#common-family-name-for-text-and-math-fonts" id="id26">Common family name for text and math fonts</a></p></li> +<li><p><a class="reference internal" href="#scaling" id="id27">Scaling</a></p></li> </ul> </li> </ul> </li> -<li><p><a class="reference internal" href="#references" id="id26">References</a></p></li> +<li><p><a class="reference internal" href="#references" id="id28">References</a></p></li> </ul> </div> <div class="section" id="history"> -<h1><a class="toc-backref" href="#id3">History</a></h1> +<h1><a class="toc-backref" href="#id4">History</a></h1> <table class="borderless booktabs numbered align-left"> <colgroup> -<col width="4%" /> -<col width="17%" /> -<col width="79%" /> +<col width="7%" /> +<col width="15%" /> +<col width="78%" /> </colgroup> -<tbody valign="top"> +<tbody> <tr><td><p>0.1</p></td> <td><p>2008-09-25</p></td> <td><p>first public version.</p></td> @@ -904,24 +923,32 @@ by the International Standard ISO 80000-2.</p> <td> </td> <td><p>upright numbers with <tt class="literal">\vectorsym</tt>.</p></td> </tr> +<tr><td><p>0.6</p></td> +<td><p>2012-09-10</p></td> +<td><p>Scaling for Kepler Sans (<tt class="literal">sfdefault=jkpss</tt>);</p></td> +</tr> +<tr><td><p></p></td> +<td> </td> +<td><p>documentation update, new caption and abstract.</p></td> +</tr> </tbody> </table> </div> <div class="section" id="requirements"> -<h1><a class="toc-backref" href="#id4">Requirements</a></h1> +<h1><a class="toc-backref" href="#id5">Requirements</a></h1> <div class="section" id="fixmath-sty"> -<h2><a class="toc-backref" href="#id5">fixmath.sty</a></h2> +<h2><a class="toc-backref" href="#id6">fixmath.sty</a></h2> <p>The package <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixmath.html">fixmath</a> by Walter Schmidt defines Greek letters as symbols -of type <tt class="literal">\mathalpha</tt> and takes them from the <tt class="literal">letters</tt> SymbolFont in +of type <tt class="literal">\mathalpha</tt> and takes them from the <tt class="literal">letters</tt> symbol font in <tt class="literal">\mathnormal</tt> (as opposed to <tt class="literal">operators</tt> in <tt class="literal">fontmath.ltx</tt>).</p> -<p><a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixmath.html">fixmath</a> also defines the <tt class="literal">\mathbold</tt> alphabet, setting it to <tt class="literal">cmm</tt>. -This definition will be overwritten with a configurable value for -the font family below.</p> +<p><cite>fixmath</cite> also defines the <tt class="literal">\mathbold</tt> alphabet, setting it to <tt class="literal">cmm</tt>. +<cite>isomath</cite> overwrites this definition with a configurable value for +the font family.</p> <pre class="literal-block">\RequirePackage{fixmath} </pre> </div> <div class="section" id="kvoptions-sty"> -<h2><a class="toc-backref" href="#id6">kvoptions.sty</a></h2> +<h2><a class="toc-backref" href="#id7">kvoptions.sty</a></h2> <p>The <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/kvoptions.html">kvoptions</a> package in the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/oberdiek.html">oberdiek</a> bundle facilitates the setup of package options and provides a key=value interface (based on <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/keyval.html">keyval</a>):</p> <pre class="literal-block">\RequirePackage{kvoptions} @@ -929,9 +956,9 @@ package options and provides a key=value interface (based on <a class="reference </div> </div> <div class="section" id="options"> -<h1><a class="toc-backref" href="#id7">Options</a></h1> +<h1><a class="toc-backref" href="#id8">Options</a></h1> <div class="section" id="rmdefault"> -<h2><a class="toc-backref" href="#id8">rmdefault</a></h2> +<h2><a class="toc-backref" href="#id9">rmdefault</a></h2> <p>Family for roman math fonts. Must be available in OML encoding. The default is to use the corresponding text font family (<tt class="literal">\rmdefault</tt>).</p> @@ -939,21 +966,22 @@ encoding. The default is to use the corresponding text font family </pre> </div> <div class="section" id="sfdefault"> -<h2><a class="toc-backref" href="#id9">sfdefault</a></h2> +<h2><a class="toc-backref" href="#id10">sfdefault</a></h2> <p>Family for sans-serif math fonts. The default selects <cite>CM Bright</cite>, as most sans serif fonts are not available in OML encoding:</p> <pre class="literal-block">\DeclareStringOption[cmbr]{sfdefault} </pre> </div> <div class="section" id="scaled"> -<h2><a class="toc-backref" href="#id10">scaled</a></h2> -<p>The sans-serif fonts, <tt class="literal">fav</tt> (Arev), <tt class="literal">llcmss</tt> (LX Fonts), and -<tt class="literal">iwona</tt> can be scaled with the <tt class="literal">scaled</tt> option.</p> +<h2><a class="toc-backref" href="#id11">scaled</a></h2> +<p>The sans-serif fonts, <tt class="literal">fav</tt> (Arev), <tt class="literal">llcmss</tt> (LX Fonts), +<tt class="literal">jkpss</tt> (Kepler Serif) and <tt class="literal">iwona</tt> can be scaled +with the <tt class="literal">scaled</tt> option.</p> <pre class="literal-block">\DeclareStringOption[1.0]{scaled} </pre> </div> <div class="section" id="reusemathalphabets"> -<h2><a class="toc-backref" href="#id11">reuseMathAlphabets</a></h2> +<h2><a class="toc-backref" href="#id12">reuseMathAlphabets</a></h2> <p>The definition of new <a class="reference internal" href="#math-alphabets">math alphabets</a> can lead to a “too many math alphabets used in version normal” error.</p> <p>As a workaround, this option tells <cite>isomath</cite> to re-use the existing @@ -963,7 +991,7 @@ bold.</p> </pre> </div> <div class="section" id="omlmath"> -<h2><a class="toc-backref" href="#id12">OMLmath*</a></h2> +<h2><a class="toc-backref" href="#id13">OMLmath*</a></h2> <p>The following options cause <cite>isomath</cite> to (re)define the corresponding <a class="reference internal" href="#math-alphabets">math alphabets</a> in OML encoding:</p> <pre class="literal-block">\DeclareBoolOption{OMLmathrm} @@ -974,10 +1002,10 @@ bold.</p> % backwards compatibility option alias \DeclareVoidOption{OMLmathsans}{\isomath@OMLmathsfittrue} </pre> -<p>Setting these options enables access to small Greek letters in -different shapes with e.g. <tt class="literal"><span class="pre">\mathrm{\pi}</span></tt> <em>if an OML encoded font -is available</em>. Currently, only the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a> fonts support roman in -OML encoding.</p> +<p>Setting these options enables access to small Greek letters in different +shapes with e.g. <tt class="literal"><span class="pre">\mathrm{\pi}</span></tt> but only <em>if an OML encoded font is +available</em>. Currently, only the <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/mathdesign.html">mathdesign</a> fonts support roman in OML +encoding.</p> <p>With some packages, these options can result in a “too many math alphabets used in version normal” error.</p> <hr class="docutils" /> @@ -987,16 +1015,16 @@ used in version normal” error.</p> </div> </div> <div class="section" id="declarations"> -<h1><a class="toc-backref" href="#id13">Declarations</a></h1> +<h1><a class="toc-backref" href="#id14">Declarations</a></h1> <div class="section" id="math-alphabets"> -<h2><a class="toc-backref" href="#id14">Math alphabets</a></h2> +<h2><a class="toc-backref" href="#id15">Math alphabets</a></h2> <p>In math, LaTeX uses “absolute” fontnames instead of a selection by family, shape, and weight because typefaces have a semantic meaning <a class="citation-reference" href="#fntguide" id="id1">[fntguide]</a>.</p> <p><cite>isomath</cite> defines a math alphabet for every required font variant and optionally re-defines the standard math alphabets in <cite>OML</cite> font encoding.</p> <p>Unfortunately, the number of math alphabets in one math version is -limited to 16, so we have to be carefull not to exceed this. The +limited to 16, so we have to be careful not to exceed this. The <tt class="literal">reuseMathAlphabets</tt> option reduces the number of math alphabet definitions by two, with the side effect of italic shape with <tt class="literal">\mathbf</tt> and <tt class="literal">\mathsf</tt> commands:</p> @@ -1008,7 +1036,7 @@ definitions by two, with the side effect of italic shape with \fi </pre> <div class="section" id="mathbfit"> -<h3><a class="toc-backref" href="#id15">mathbfit</a></h3> +<h3><a class="toc-backref" href="#id16">mathbfit</a></h3> <p>The <em>bold italic</em> math alphabet is named <tt class="literal">\mathbfit</tt> like in <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/unicode-math.html">unicode-math</a> (with an alias <tt class="literal">\mathbold</tt> like in <a class="reference external" href="http://mirror.ctan.org/help/Catalogue/entries/fixmath.html">fixmath</a> and related packages). With the <a class="reference internal" href="#reusemathalphabets">reuseMathAlphabets</a> option, the roman bold @@ -1024,11 +1052,11 @@ distinguishing between <tt class="literal">b</tt> and <tt class="literal">bx</tt \fi </pre> <p>alias (overwriting the definition from fixmath):</p> -<pre class="literal-block">\renewcommand{\mathbold}{\mathbfit} +<pre class="literal-block">\renewcommand*{\mathbold}{\mathbfit} </pre> </div> <div class="section" id="mathsfit"> -<h3><a class="toc-backref" href="#id16">mathsfit</a></h3> +<h3><a class="toc-backref" href="#id17">mathsfit</a></h3> <p>For <em>sans-serif italic</em>, we define a new alphabet <tt class="literal">\mathsfit</tt> (with the alias <tt class="literal">\mathsans</tt> in analogy to <tt class="literal">\mathbold</tt>). As this typeface is not required by ISO 80000-2 and TeX limits the number of math alphabets @@ -1042,9 +1070,9 @@ to 16 per math version, it is only defined if the <tt class="literal">OMLmathsfi </pre> </div> <div class="section" id="mathsfbfit"> -<h3><a class="toc-backref" href="#id17">mathsfbfit</a></h3> +<h3><a class="toc-backref" href="#id18">mathsfbfit</a></h3> <p>The <em>sans serif bold italic</em> alphabet is used for tensor symbols. -Following the Unicode math name scheme it is called +Following the Unicode naming scheme it is called <tt class="literal"><span class="pre">\mathsfbfit``(with</span> the backwards compatibility alias <span class="pre">``\mathboldsans</span></tt>). With the <a class="reference internal" href="#reusemathalphabets">reuseMathAlphabets</a> option, the upright sans serif math alphabet <tt class="literal">\mathsf</tt> is redefined and <tt class="literal">\mathsfbfit</tt> made an @@ -1059,7 +1087,7 @@ alias to it:</p> </pre> </div> <div class="section" id="redefine-standard-alphabets"> -<h3><a class="toc-backref" href="#id18">Redefine standard alphabets</a></h3> +<h3><a class="toc-backref" href="#id19">Redefine standard alphabets</a></h3> <p>Redefine standard alphabets in <cite>OML</cite> font encoding if the corresponding <a class="reference internal" href="#omlmath">OMLmath*</a> option is true:</p> <pre class="literal-block">\ifisomath@OMLmathrm @@ -1081,16 +1109,15 @@ if the corresponding <a class="reference internal" href="#omlmath">OMLmath*</a> </div> </div> <div class="section" id="command-aliases"> -<h2><a class="toc-backref" href="#id19">Command aliases</a></h2> +<h2><a class="toc-backref" href="#id20">Command aliases</a></h2> <p>The following macros allow semantic markup of mathematical symbols. The argument is typeset as proposed by ISO 80000-2 and <a class="reference external" href="http://physics.nist.gov/cuu/pdf/typefaces.pdf">Typefaces for Symbols in Scientific Manuscripts</a>.</p> <div class="section" id="vectorsym"> -<h3><a class="toc-backref" href="#id20">\vectorsym</a></h3> +<h3><a class="toc-backref" href="#id21">\vectorsym</a></h3> <p>Alphabetic vectors symbols are typeset <em>boldface italic</em> while numeric ones (e.g. zero vector) are typeset <em>boldface upright</em>. The number -test is a simplified version from the LaTeX FAQ -<a class="reference external" href="http://mail.tug.org/texlive/Contents/live/texmf-dist/doc/generic/FAQ-en/html/FAQ-isitanum.html">Is the argument a number?</a> +test is a simplified version from the LaTeX FAQ "<a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=isitanum">Is the argument a number?</a>" It fails if a number is followed by a non-number, e.g. <tt class="literal">\vectorsym{1a}</tt>, but this is no valid vector symbol and would look strange with the <tt class="literal">\vec</tt> accent, too.</p> @@ -1106,26 +1133,34 @@ you might want to re-define the standard <tt class="literal">\vec</tt> command a package.</p> </div> <div class="section" id="matrixsym"> -<h3><a class="toc-backref" href="#id21">\matrixsym</a></h3> +<h3><a class="toc-backref" href="#id22">\matrixsym</a></h3> <p>Symbols for matrices are typeset <em>boldface italic</em>, i. e. in the same face as vectors.</p> <pre class="literal-block">\providecommand*{\matrixsym}{\vectorsym} </pre> </div> <div class="section" id="tensorsym"> -<h3><a class="toc-backref" href="#id22">\tensorsym</a></h3> +<h3><a class="toc-backref" href="#id23">\tensorsym</a></h3> <p>Symbols for tensors are <em>sans-serif bold italic</em>:</p> <pre class="literal-block">\providecommand*{\tensorsym}{\mathsfbfit} </pre> </div> </div> -<div class="section" id="font-mappings"> -<h2><a class="toc-backref" href="#id23">Font mappings</a></h2> +<div class="section" id="font-setup-fixes"> +<h2><a class="toc-backref" href="#id24">Font setup fixes</a></h2> <p>Substitutions needed for the math alphabet definitions and setup for scaled fonts. For details about the font definition macros see -<a class="citation-reference" href="#fntguide" id="id2">[fntguide]</a>.</p> -<div class="section" id="common-family-name-for-text-and-math"> -<h3><a class="toc-backref" href="#id24">Common family name for text and math</a></h3> +<a class="citation-reference" href="#fntguide" id="id3">[fntguide]</a>.</p> +<div class="section" id="unknown-makro-in-font-definition-file"> +<h3><a class="toc-backref" href="#id25">Unknown makro in font definition file</a></h3> +<p>The <cite>Kepler Sans</cite> font definition file <tt class="literal">omljkpss.fd</tt> contains a boolean +that is defined in <tt class="literal">kpfonts.sty</tt>. This leads to errors if the fonts are +used from another package. Provide a dummy definition:</p> +<pre class="literal-block">\newif\ifkp@upRm +</pre> +</div> +<div class="section" id="common-family-name-for-text-and-math-fonts"> +<h3><a class="toc-backref" href="#id26">Common family name for text and math fonts</a></h3> <p>Some font packages provide matching text and math font but do not define a substitution in their <tt class="literal">*.fd</tt> files. Ideally, the following mappings should be moved there.</p> @@ -1136,35 +1171,40 @@ mappings should be moved there.</p> </pre> </div> <div class="section" id="scaling"> -<h3><a class="toc-backref" href="#id25">Scaling</a></h3> -<p>Scale the <tt class="literal">fav</tt> (Arev), <tt class="literal">llcmss</tt> (LX Fonts), and <tt class="literal">iwona</tt> fonts -by the value of the <a class="reference internal" href="#scaled">scaled</a> option.</p> +<h3><a class="toc-backref" href="#id27">Scaling</a></h3> +<p>Scale the <tt class="literal">fav</tt> (Arev), <tt class="literal">iwona</tt>, <tt class="literal">jkpss</tt> (Kepler Sans) and +<tt class="literal">llcmss</tt> (LX Fonts) sans serif fonts by the value of the <a class="reference internal" href="#scaled">scaled</a> option.</p> <p>To get scaled versions of a font, you cannot use the <tt class="literal">ssub</tt> <cite>size function</cite>, but must use the empty function or <tt class="literal">s</tt> with the font file as argument [found by experiment, GM 2010-01-28].</p> -<p>Arev (see omlzavm.fd): fav ↔ zavm</p> +<p>Arev (see <tt class="literal">omlzavm.fd</tt>) fav ↔ zavm:</p> <pre class="literal-block">\DeclareFontFamily{OML}{fav}{\skewchar\font127} \DeclareFontShape{OML}{fav}{m}{it}{<-> s * [\isomath@scaled] zavmri7m}{} \DeclareFontShape{OML}{fav}{bx}{it}{<-> s * [\isomath@scaled] zavmbi7m}{} </pre> -<p>LX Fonts (see lxfonts.sty): llcmss ↔ llcmm</p> -<pre class="literal-block">\DeclareFontFamily{OML}{llcmss}{\skewchar\font'177} -\DeclareFontShape{OML}{llcmss}{m}{it}{<-> s * [\isomath@scaled] lcmmi8}{} -\DeclareFontShape{OML}{llcmss}{bx}{it}{<-> s * [\isomath@scaled] lcmmib8}{} -</pre> -<p>Ivona (see <tt class="literal">omliwona.fd</tt>) iwona ↔ mi-iwona:</p> +<p>Iwona (see <tt class="literal">omliwona.fd</tt>) iwona ↔ mi-iwona:</p> <pre class="literal-block">\DeclareFontFamily{OML}{iwona}{} \DeclareFontShape{OML}{iwona}{m}{it}{<-> s * [\isomath@scaled] mi-iwonari}{} \DeclareFontShape{OML}{iwona}{bx}{it}{<-> s * [\isomath@scaled] mi-iwonabi}{} </pre> +<p>Kepler Serif (see <tt class="literal">omljkpss.fd</tt>):</p> +<pre class="literal-block">\DeclareFontFamily{OML}{jkpss}{\skewchar\font127 } +\DeclareFontShape{OML}{jkpss}{m}{it}{<-> s * [\isomath@scaled] jkpssmi}{} +\DeclareFontShape{OML}{jkpss}{bx}{it}{<-> s * [\isomath@scaled] jkpssbmi}{} +</pre> +<p>LX Fonts (see <tt class="literal">lxfonts.sty</tt>) llcmss ↔ llcmm:</p> +<pre class="literal-block">\DeclareFontFamily{OML}{llcmss}{\skewchar\font'177} +\DeclareFontShape{OML}{llcmss}{m}{it}{<-> s * [\isomath@scaled] lcmmi8}{} +\DeclareFontShape{OML}{llcmss}{bx}{it}{<-> s * [\isomath@scaled] lcmmib8}{} +</pre> </div> </div> </div> <div class="section" id="references"> -<h1><a class="toc-backref" href="#id26">References</a></h1> +<h1><a class="toc-backref" href="#id28">References</a></h1> <dl class="citation"><dt class="label">[fntguide]</dt> <dd id="fntguide"> -<em>(<a class="fn-backref" href="#id1">1</a>, <a class="fn-backref" href="#id2">2</a>)</em> <p class="last"><cite>LaTeX 2e font selection</cite>: +<em>(<a class="fn-backref" href="#id1">1</a>, <a class="fn-backref" href="#id3">2</a>)</em> <p class="last"><cite>LaTeX 2e font selection</cite>: <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">http://mirror.ctan.org/macros/latex/doc/fntguide.pdf</a>.</p> </dd> </dl> |