diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-28 22:22:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-28 22:22:26 +0000 |
commit | 423f813bfe7f7b6f234d4484c70207c5c3c82822 (patch) | |
tree | ad4a500970fc439b9568ae04b137f38aa2ccbec9 /Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html | |
parent | 4462e0ad2dc4b5e5ca7a4b5816157942b8148734 (diff) |
greek-fontenc (28feb20)
git-svn-id: svn://tug.org/texlive/trunk@53955 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html | 307 |
1 files changed, 168 insertions, 139 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html index 3bd9daef0ee..e5277b4d441 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8"/> -<meta name="generator" content="Docutils 0.15b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" /> <title>alphabeta: Greek symbols in text and math</title> <meta name="dcterms.rights" content="© 2010 Günter Milde" /> <link rel="schema.dcterms" href="http://purl.org/dc/terms/"> @@ -11,7 +11,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 8036 2017-02-14 13:05:46Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -42,10 +42,10 @@ h1.title, p.subtitle { text-align: center; } -p.admonition-title, p.topic-title, p.sidebar-title, p.rubric, +p.admonition-title, p.system-message-title { font-weight: bold; } @@ -103,10 +103,11 @@ dl.simple > dd, dl.compact > dd { } /* Table of Contents */ -div.topic.contents { margin: 0; } -ul.auto-toc { +div.topic.contents { margin: 0.5em 0; } +div.topic.contents ul { list-style-type: none; - padding-left: 1.5em; } + padding-left: 1.5em; +} /* Enumerated Lists */ ol.arabic { list-style: decimal } @@ -161,7 +162,7 @@ pre.address { font: inherit; } dd.authors > p { margin: 0; } /* Option Lists */ -dl.option-list { margin-left: 40px; } +dl.option-list { margin-left: 1.5em; } dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } @@ -191,45 +192,54 @@ div.line-block div.line-block { /* Figures, Images, and Tables */ .figure.align-left, +figure.align-left, img.align-left, object.align-left, table.align-left { margin-right: auto; } .figure.align-center, +figure.align-center, img.align-center, -object.align-center { - margin-left: auto; - margin-right: auto; - display: block; -} +object.align-center, table.align-center { margin-left: auto; margin-right: auto; } .figure.align-right, +figure.align-right, img.align-right, object.align-right, table.align-right { margin-left: auto; } +.figure.align-center, .figure.align-right, +figure.align-center, figure.align-right, +img.align-center, img.align-right, +object.align-center, object.align-right { + display: block; +} /* reset inner alignment in figures and tables */ -/* div.align-left, div.align-center, div.align-right, */ -table.align-left, table.align-center, table.align-right -{ text-align: inherit } +.figure.align-left, .figure.align-right, +figure.align-left, figure.align-right, +table.align-left, table.align-center, table.align-right { + text-align: inherit; +} /* Admonitions and System Messages */ div.admonition, div.system-message, -div.sidebar{ - margin: 40px; +aside.sidebar { + margin: 1em 1.5em; border: medium outset; + padding-top: 0.5em; + padding-bottom: 0.5em; padding-right: 1em; padding-left: 1em; } /* Sidebar */ -div.sidebar { +aside.sidebar { width: 30%; max-width: 26em; float: right; @@ -237,13 +247,14 @@ div.sidebar { } /* Text Blocks */ +blockquote, div.topic, pre.literal-block, pre.doctest-block, pre.math, pre.code { - margin-right: 40px; - margin-left: 40px; + margin-left: 1.5em; + margin-right: 1.5em; } pre.code .ln { color: gray; } /* line numbers */ @@ -269,14 +280,23 @@ table.borderless td, table.borderless th { padding-right: 0.5em /* separate table cells */ } +/* Document Header and Footer */ +header { border-bottom: 1px solid black; } +footer { border-top: 1px solid black; } + +/* new HTML5 block elements: set display for older browsers */ +header, section, footer, aside, nav, main, article, figure { + display: block; +} + </style> <style type="text/css"> /* CSS31_ style sheet for the output of Docutils HTML writers. */ -/* Rules for easy reading and pre-defined style variants. */ +/* Rules for easy reading and pre-defined style variants. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: plain.css 8120 2017-06-22 21:02:40Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -284,11 +304,11 @@ table.borderless td, table.borderless th { /* Copying and distribution of this file, with or without modification, */ /* are permitted in any medium without royalty provided the copyright */ /* notice and this notice are preserved. */ -/* */ +/* */ /* This file is offered as-is, without any warranty. */ /* */ /* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ -/* .. _CSS3: http://www.w3.org/TR/CSS3 */ +/* .. _CSS3: http://www.w3.org/TR/CSS3 */ /* Document Structure */ @@ -296,17 +316,20 @@ table.borderless td, table.borderless th { /* "page layout" */ body { - padding: 0 5%; - margin: 8px 0; + margin: 0; + background-color: #dbdbdb; } -div.document { +div.document, +main { line-height:1.3; counter-reset: table; /* counter-reset: figure; */ /* avoid long lines --> better reading */ /* OTOH: lines should not be too short because of missing hyphenation, */ max-width: 50em; + padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */ margin: auto; + background-color: white; } /* Sections */ @@ -320,32 +343,35 @@ hr.docutils { clear: both; } -/* Paragraphs */ -/* ========== */ +/* Paragraphs */ +/* ========== */ /* vertical space (parskip) */ -p, ol, ul, dl, +p, ol, ul, dl, li, dd, div.line-block, -table{ +div.topic, +table { margin-top: 0.5em; margin-bottom: 0.5em; } +p:first-child { margin-top: 0; } +/* (:last-child is new in CSS 3) */ +p:last-child { margin-bottom: 0; } + h1, h2, h3, h4, h5, h6, dl > dd { margin-bottom: 0.5em; } -/* Lists */ -/* ========== */ - -/* Definition Lists */ +/* Lists */ +/* ===== */ -dl > dd > p:first-child { margin-top: 0; } -/* :last-child is not part of CSS 2.1 (introduced in CSS 3) */ -dl > dd > p:last-child { margin-bottom: 0; } +/* Separate list entries in compound lists */ +dl > dd, ol > li, -/* lists nested in definition lists */ -/* :only-child is not part of CSS 2.1 (introduced in CSS 3) */ +/* Definition Lists */ +/* Indent lists nested in definition lists */ +/* (:only-child is new in CSS 3) */ dd > ul:only-child, dd > ol:only-child { padding-left: 1em; } /* Description Lists */ @@ -394,23 +420,20 @@ span.fn-backref { font-weight: normal; } -/* Text Blocks */ -/* ============ */ +/* Text Blocks */ +/* =========== */ -/* Literal Blocks */ -pre.literal-block, pre.doctest-block, -pre.math, pre.code { - margin-left: 1.5em; - margin-right: 1.5em +/* Literal Blocks */ + +pre.literal-block, +pre.doctest-block, +pre.math, +pre.code { + font-family: monospace; } -/* Block Quotes */ +/* Block Quotes */ -blockquote, -div.topic { - margin-left: 1.5em; - margin-right: 1.5em -} blockquote > table, div.topic > table { margin-top: 0; @@ -422,8 +445,8 @@ div.topic p.attribution { margin-left: 20%; } -/* Tables */ -/* ====== */ +/* Tables */ +/* ====== */ /* th { vertical-align: bottom; } */ @@ -450,11 +473,11 @@ table.numbered > caption:before { font-weight: bold; } -/* Explicit Markup Blocks */ -/* ====================== */ +/* Explicit Markup Blocks */ +/* ====================== */ -/* Footnotes and Citations */ -/* ----------------------- */ +/* Footnotes and Citations */ +/* ----------------------- */ /* line on the left */ dl.footnote { @@ -463,48 +486,52 @@ dl.footnote { border-left-width: thin; } -/* Directives */ -/* ---------- */ +/* Directives */ +/* ---------- */ -/* Body Elements */ -/* ~~~~~~~~~~~~~ */ +/* Body Elements */ +/* ~~~~~~~~~~~~~ */ /* Images and Figures */ /* let content flow to the side of aligned images and figures */ .figure.align-left, +figure.align-left, img.align-left, object.align-left { display: block; clear: left; float: left; - margin-right: 1em + margin-right: 1em; } .figure.align-right, +figure.align-right, img.align-right, object.align-right { display: block; clear: right; float: right; - margin-left: 1em + margin-left: 1em; } /* Stop floating sidebars, images and figures at section level 1,2,3 */ h1, h2, h3 { clear: both; } /* Sidebar */ -/* Move into the margin. In a layout with fixed margins, */ -/* it can be moved into the margin completely. */ -div.sidebar { +/* Move right. In a layout with fixed margins, */ +/* it can be moved into the margin. */ +div.sidebar, +aside.sidebar { width: 30%; max-width: 26em; margin-left: 1em; - margin-right: -5.5%; - background-color: #ffffee ; + margin-right: -2%; + background-color: #ffffee; } -/* Code */ +/* Code */ +pre.code { padding: 0.7ex } pre.code, code { background-color: #eeeeee } pre.code .ln { color: gray; } /* line numbers */ /* basic highlighting: for a complete scheme, see */ @@ -516,57 +543,58 @@ pre.code .name.builtin, code .name.builtin { color: #352B84 } pre.code .deleted, code .deleted { background-color: #DEB0A1} pre.code .inserted, code .inserted { background-color: #A3D289} -/* Math */ +/* Math */ /* styled separately (see math.css for math-output=HTML) */ -/* Epigraph */ -/* Highlights */ -/* Pull-Quote */ -/* Compound Paragraph */ -/* Container */ - -/* can be styled in a custom stylesheet */ +/* Epigraph */ +/* Highlights */ +/* Pull-Quote */ +/* Compound Paragraph */ +/* Container */ /* Document Header and Footer */ -div.footer, div.header { - clear: both; +footer, header { font-size: smaller; + clear: both; + padding: 0.5em 2%; + background-color: #ebebee; + border: none; } -/* Inline Markup */ -/* ============= */ +/* Inline Markup */ +/* ============= */ -/* Emphasis */ -/* em */ -/* Strong Emphasis */ -/* strong */ -/* Interpreted Text */ -/* span.interpreted */ -/* Title Reference */ -/* cite */ -/* Inline Literals */ +/* Emphasis */ +/* em */ +/* Strong Emphasis */ +/* strong */ +/* Interpreted Text */ +/* span.interpreted */ +/* Title Reference */ +/* cite */ + +/* Inline Literals */ /* possible values: normal, nowrap, pre, pre-wrap, pre-line */ -/* span.docutils.literal { white-space: pre-wrap; } */ +/* span.docutils.literal { white-space: pre-wrap; } */ -/* Hyperlink References */ +/* Hyperlink References */ a { text-decoration: none; } -/* External Targets */ -/* span.target.external */ -/* Internal Targets */ -/* span.target.internal */ -/* Footnote References */ -/* a.footnote-reference */ -/* Citation References */ -/* a.citation-reference */ +/* External Targets */ +/* span.target.external */ +/* Internal Targets */ +/* span.target.internal */ +/* Footnote References */ +/* a.footnote-reference */ +/* Citation References */ +/* a.citation-reference */ </style> </head> <body> -<div class="document" id="alphabeta-greek-symbols-in-text-and-math"> +<main id="alphabeta-greek-symbols-in-text-and-math"> <h1 class="title">alphabeta: Greek symbols in text and math</h1> - <dl class="docinfo"> <dt class="copyright">Copyright</dt> <dd class="copyright">© 2010 Günter Milde</dd> @@ -578,11 +606,11 @@ version 1.3 of this license or any later version.</p> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{alphabeta} -[2016/02/05 v0.13.2 macros for Greek letters in text and math]</pre> + [2020/02/28 v0.14 macros for Greek letters in text and math]</pre> </dd> </dl> <div class="abstract topic"> -<p class="topic-title first">Abstract</p> +<p class="topic-title">Abstract</p> <p>Use <span class="docutils literal">\alpha, \beta, ...</span> for Greek letters in text and math mode.</p> </div> @@ -625,11 +653,16 @@ mode.</p> <td><p>Support for standard Unicode text font encoding “TU” (new in fontspec v2.5a).</p></td> </tr> +<tr><td><p>0.14</p></td> +<td><p>2020/02/28</p></td> +<td><p>rename <span class="docutils literal"><span class="pre">alphabeta-euenc.def</span></span> to +<span class="docutils literal"><span class="pre">alphabeta-tuenc.def</span></span>.</p></td> +</tr> </tbody> </table> </dd> </dl> -<div class="section" id="motivation"> +<section id="motivation"> <h1>Motivation</h1> <p>By default, the <span class="docutils literal">\alpha, \beta, ...</span> macros for Greek letters are only valid in mathematical mode.</p> @@ -649,25 +682,25 @@ accent+character with a pre-composed character.</p> provided <span class="docutils literal">ensuregreek</span> macro. Using <a class="reference external" href="http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=babel">babel</a> or <a class="reference external" href="http://www.ctan.org/pkg/polyglossia">polyglossia</a> also helps to ensure proper hyphenation.</p> </div> -</div> -<div class="section" id="usage"> +</section> +<section id="usage"> <h1>Usage</h1> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name builtin">{</span>alphabeta<span class="name builtin">}</span></code></pre> <p>The <a class="reference external" href="http://www.ctan.org/pkg/greek-inputenc">greek-inputenc</a> package provides support for Unicode (utf-8) input of Greek characters with 8-bit TeX and the <a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a> package:</p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[utf-8]</span><span class="name builtin">{</span>inputenc<span class="name builtin">}</span> <span class="keyword">\usepackage</span><span class="name builtin">{</span>alphabeta<span class="name builtin">}</span></code></pre> -<div class="section" id="conflicts"> +<section id="conflicts"> <h2>Conflicts</h2> <p><cite>alphabeta</cite> does not work if the <span class="docutils literal">utf8x</span> input encoding is selected. (<span class="docutils literal">utf8x</span> is an interface to the <span class="docutils literal">ucs</span> package which uses a non-compatible definition of <span class="docutils literal">\DeclareUnicodeCharacter</span>.)</p> <p>For details see <a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a> and <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a>.</p> -</div> -</div> -<div class="section" id="implementation"> +</section> +</section> +<section id="implementation"> <h1>Implementation</h1> -<div class="section" id="requirements"> +<section id="requirements"> <h2>Requirements</h2> <p>This package extends the <a class="reference external" href="textalpha.sty.html">textalpha</a> package. Package options are passed on to <cite>textalpha</cite>:</p> @@ -679,14 +712,14 @@ distribution) for the <span class="docutils literal">\ifdefined</span> test.</p> <span class="docutils literal">fixltx2e</span> is loaded by default since TeXLive 2015. In case of an <span class="docutils literal">\TextOrMath undefined</span> error, load it in the document preamble via</p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name builtin">{</span>fixltx2e<span class="name builtin">}</span></code></pre> -</div> -<div class="section" id="postpone-the-re-definitions"> +</section> +<section id="postpone-the-re-definitions"> <h2>Postpone the re-definitions</h2> <p>To prevent other packages overwriting the re-defined commands we postpone the next steps until the start of the document body:</p> <pre class="literal-block">\AtBeginDocument{</pre> -</div> -<div class="section" id="save-math-macros"> +</section> +<section id="save-math-macros"> <h2>Save math macros</h2> <p>Provide an alias for the standard math commands:</p> <pre class="literal-block">\let\mathGamma\Gamma @@ -742,8 +775,8 @@ the next steps until the start of the document body:</p> \ifdefined\varkappa % e.g. with newtxmath \let\mathvarkappa\varkappa \fi</pre> -</div> -<div class="section" id="commands-to-access-greek-letters-by-name"> +</section> +<section id="commands-to-access-greek-letters-by-name"> <h2>Commands to access Greek letters by name</h2> <p>For letters defined in math mode, the commands work in both, text and math.</p> <p>Some Greek letters look identical to Latin letters and can therefore not be @@ -813,7 +846,7 @@ in both, text and math mode.</p> \renewcommand*{\chi}{\TextOrMath{\textchi}{\mathchi}} \renewcommand*{\psi}{\TextOrMath{\textpsi}{\mathpsi}} \renewcommand*{\omega}{\TextOrMath{\textomega}{\mathomega}}</pre> -<div class="section" id="archaic-letters"> +<section id="archaic-letters"> <h3>Archaic letters</h3> <pre class="literal-block">\renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ \providecommand*{\Digamma}{\textDigamma} % Ϝ @@ -825,12 +858,12 @@ in both, text and math mode.</p> \providecommand*{\Stigma}{\textStigma} % Ϛ (in some fonts ϹΤ ligature) \providecommand*{\Sampi}{\textSampi} % Ϡ \providecommand*{\sampi}{\textsampi} % ϡ</pre> -</div> -<div class="section" id="variant-shape-symbols"> +</section> +<section id="variant-shape-symbols"> <h3>Variant shape symbols</h3> <p>TeX’s concept of “standard” vs. “variant” math symbols does not map to the distinction between GREEK LETTER … vs. GREEK … SYMBOL in the Unicode -standard (see <a class="reference external" href="greek-euenc-doc.pdf">greek-euenc-doc.pdf</a>).</p> +standard (see <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a>).</p> <p>The <span class="docutils literal"><span class="pre">\...symbol</span></span> macros select the GREEK … SYMBOL in both, text and math mode. For <span class="docutils literal">\epsilonsymbol</span> and <span class="docutils literal">\phisymbol</span> this is the default shape in math mode. The <span class="docutils literal"><span class="pre">\var...</span></span> macros select the shape used by TeX @@ -862,26 +895,22 @@ math (or, if not supported, the SYMBOL shape):</p> \providecommand*{\kappasymbol}{\varkappa} % \Theta/\varTheta are not a symbol variants but upright/italic shape of Theta \providecommand*{\Thetasymbol}{\textThetasymbol} % ϴ</pre> -</div> -</div> -<div class="section" id="textcompositecommands-for-the-generic-macros"> +</section> +</section> +<section id="textcompositecommands-for-the-generic-macros"> <h2>TextCompositeCommands for the generic macros</h2> <p>The NFSS TextComposite mechanism looks for the next token without expanding it. In order to let compositions like <span class="docutils literal"><span class="pre">\ensuregreek{\'\Alpha}</span></span> or <span class="docutils literal"><span class="pre">\ensuregreek{\>"\alpha}</span></span> work as expected we define TextComposites with the <cite>letter name commands</cite>. (Composition only works if the active font encoding is LGR).</p> -<pre class="literal-block">\ifdefined\XeTeXrevision - \input{alphabeta-euenc.def} - % \expandafter\endinput % "return" -\else\ifdefined\luatexversion - \input{alphabeta-euenc.def} - % \expandafter\endinput % "return" +<pre class="literal-block">\ifdefined\UTFencname + \input{alphabeta-tuenc.def} \else % 8-bit TeX \input{alphabeta-lgr.def} -\fi\fi</pre> -</div> -<div class="section" id="re-definition-for-greek-unicode-input-in-math-mode"> +\fi</pre> +</section> +<section id="re-definition-for-greek-unicode-input-in-math-mode"> <h2>Re-definition for Greek Unicode input in math mode</h2> <p>Check with <span class="docutils literal">\ifdefined</span> for the definition of <span class="docutils literal">\DeclareUnicodeCharacter</span>. In contrast to <span class="docutils literal">\@ifdefined</span>, this works @@ -938,8 +967,8 @@ macros:</p> <pre class="literal-block">} % close the \AtBeginDocument macro</pre> <!-- References - - - - - - - - - - --> -</div> -</div> -</div> +</section> +</section> +</main> </body> </html> |