diff options
author | Karl Berry <karl@freefriends.org> | 2015-09-05 22:00:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-09-05 22:00:16 +0000 |
commit | 62cb48658056cee12fac2741b88adac4d664851e (patch) | |
tree | a06a15d042d5db480314b5a436d63ca3e02a2c0e /Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html | |
parent | b87d035e26c6d72bc073ee6a6cf5459e444afbd2 (diff) |
greek-fontenc (4sep15)
git-svn-id: svn://tug.org/texlive/trunk@38297 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html | 1332 |
1 files changed, 584 insertions, 748 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html index d43e9ac74ed..0cf32536e55 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html @@ -1,644 +1,409 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.13: http://docutils.sourceforge.net/" /> <title>lgrenc.def</title> -<meta name="copyright" content="© 2010, 2014 Günter Milde" /> <style type="text/css"> -/* -:Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 7614 2013-02-21 15:55:51Z milde $ -:Copyright: This stylesheet has been placed in the public domain. - -Default cascading style sheet for the HTML output of Docutils. - -See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to -customize this style sheet. -*/ - -/* used to remove borders from tables and images */ -.borderless, table.borderless td, table.borderless th { - border: 0 } - -table.borderless td, table.borderless th { - /* Override padding for "table.docutils td" with "! important". - The right padding separates the table cells. */ - padding: 0 0.5em 0 0 ! important } - -.first { - /* Override more specific margin styles with "! important". */ - margin-top: 0 ! important } - -.last, .with-subtitle { - margin-bottom: 0 ! important } - -.hidden { - display: none } - +/* Minimal style sheet for the HTML output of Docutils. */ +/* */ +/* :Author: Günter Milde, based on html4css1.css by David Goodger */ +/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Copyright: © 2015 Günter Milde. */ +/* :License: Released under the terms of the `2-Clause BSD license`_, */ +/* in short: */ +/* */ +/* 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 */ + +/* This CSS2.1_ stylesheet defines rules for Docutils elements without */ +/* HTML equivalent. It is required to make the document semantic visible. */ +/* */ +/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */ +/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */ + +/* Figure/table alignment */ +.align-left { text-align: left; } +.align-right { text-align: right; } +.align-center { clear: both; text-align: center;} + +/* titles */ +h1.title, p.subtitle { + text-align: center; +} +p.admonition-title, +p.topic-title, +p.sidebar-title, +p.rubric, +p.system-message-title { + font-weight: bold; +} +h1 + p.subtitle, +h1 + p.section-subtitle { + font-size: 1.6em; +} +h2 + p.section-subtitle { font-size: 1.28em; } +p.subtitle, +p.section-subtitle, +p.sidebar-subtitle { + font-weight: bold; + margin-top: -0.5em; +} +p.sidebar-title, +p.rubric { + font-size: larger; +} +p.rubric { color: maroon; } a.toc-backref { - text-decoration: none ; - color: black } - -blockquote.epigraph { - margin: 2em 5em ; } - -dl.docutils dd { - margin-bottom: 0.5em } - -object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { - overflow: hidden; + color: black; + text-decoration: none; } + +/* Warnings, Errors */ +div.caution p.admonition-title, +div.attention p.admonition-title, +div.danger p.admonition-title, +div.error p.admonition-title, +div.warning p.admonition-title, +div.system-messages h1, +div.error, +span.problematic, +p.system-message-title { + color: red; } -/* Uncomment (and remove this text!) to get bold-faced definition list terms -dl.docutils dt { - font-weight: bold } -*/ +/* inline literals */ +span.docutils.literal { + font-family: monospace; + white-space: pre-wrap; +} +/* do not wraph at hyphens and similar: */ +.literal > span.pre { white-space: nowrap; } -div.abstract { - margin: 2em 5em } +/* Lists */ -div.abstract p.topic-title { - font-weight: bold ; - text-align: center } - -div.admonition, div.attention, div.caution, div.danger, div.error, -div.hint, div.important, div.note, div.tip, div.warning { - margin: 2em ; - border: medium outset ; - padding: 1em } - -div.admonition p.admonition-title, div.hint p.admonition-title, -div.important p.admonition-title, div.note p.admonition-title, -div.tip p.admonition-title { - font-weight: bold ; - font-family: sans-serif } - -div.attention p.admonition-title, div.caution p.admonition-title, -div.danger p.admonition-title, div.error p.admonition-title, -div.warning p.admonition-title, .code .error { - color: red ; - font-weight: bold ; - font-family: sans-serif } - -/* Uncomment (and remove this text!) to get reduced vertical space in - compound paragraphs. -div.compound .compound-first, div.compound .compound-middle { - margin-bottom: 0.5em } - -div.compound .compound-last, div.compound .compound-middle { - margin-top: 0.5em } -*/ +/* compact and simple lists: no margin between items */ +.simple li, .compact li, +.simple ul, .compact ul, +.simple ol, .compact ol, +.simple > li p, .compact > li p, +dl.simple > dd, dl.compact > dd { + margin-top: 0; + margin-bottom: 0; +} -div.dedication { - margin: 2em 5em ; - text-align: center ; - font-style: italic } +/* Table of Contents */ +div.topic.contents { margin: 0; } +ul.auto-toc { + list-style-type: none; + padding-left: 1.5em; } + +/* Enumerated Lists */ +ol.arabic { list-style: decimal } +ol.loweralpha { list-style: lower-alpha } +ol.upperalpha { list-style: upper-alpha } +ol.lowerroman { list-style: lower-roman } +ol.upperroman { list-style: upper-roman } + +dt span.classifier { font-style: italic } +dt span.classifier:before { + font-style: normal; + margin: 0.5em; + content: ":"; +} -div.dedication p.topic-title { - font-weight: bold ; - font-style: normal } +/* Field Lists and drivatives */ +/* bold field name, content starts on the same line */ +dl.field-list > dt, +dl.option-list > dt, +dl.docinfo > dt, +dl.footnote > dt, +dl.citation > dt { + font-weight: bold; + clear: left; + float: left; + margin: 0; + padding: 0; + padding-right: 0.5em; +} +/* Offset for field content (corresponds to the --field-name-limit option) */ +dl.field-list > dd, +dl.option-list > dd, +dl.docinfo > dd { + margin-left: 9em; /* ca. 14 chars in the test examples */ +} +/* start field-body on a new line after long field names */ +dl.field-list > dd > *:first-child, +dl.option-list > dd > *:first-child +{ + display: inline-block; + width: 100%; + margin: 0; +} +/* field names followed by a colon */ +dl.field-list > dt:after, +dl.docinfo > dt:after { + content: ":"; +} -div.figure { - margin-left: 2em ; - margin-right: 2em } +/* Bibliographic Fields (docinfo) */ +pre.address { font: inherit; } +dd.authors > p { margin: 0; } -div.footer, div.header { - clear: both; - font-size: smaller } +/* Option Lists */ +dl.option-list { margin-left: 40px; } +dl.option-list > dt { font-weight: normal; } +span.option { white-space: nowrap; } -div.line-block { - display: block ; - margin-top: 1em ; - margin-bottom: 1em } +/* Footnotes and Citations */ +dl > dt.label { font-weight: normal; } +dt.label > span.fn-backref { margin: 0.2em; } +dt.label > span.fn-backref > a { font-style: italic; } +/* Line Blocks */ +div.line-block { display: block; } div.line-block div.line-block { - margin-top: 0 ; - margin-bottom: 0 ; - margin-left: 1.5em } - -div.sidebar { - margin: 0 0 0.5em 1em ; - border: medium outset ; - padding: 1em ; - background-color: #ffffee ; - width: 40% ; - float: right ; - clear: right } - -div.sidebar p.rubric { - font-family: sans-serif ; - font-size: medium } - -div.system-messages { - margin: 5em } - -div.system-messages h1 { - color: red } - -div.system-message { - border: medium outset ; - padding: 1em } - -div.system-message p.system-message-title { - color: red ; - font-weight: bold } - -div.topic { - margin: 2em } - -h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, -h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { - margin-top: 0.4em } - -h1.title { - text-align: center } - -h2.subtitle { - text-align: center } - -hr.docutils { - width: 75% } - -img.align-left, .figure.align-left, object.align-left { - clear: left ; - float: left ; - margin-right: 1em } - -img.align-right, .figure.align-right, object.align-right { - clear: right ; - float: right ; - margin-left: 1em } + margin-top: 0; + margin-bottom: 0; + margin-left: 40px; +} -img.align-center, .figure.align-center, object.align-center { +/* Images and Figures */ +img.align-left, +.figure.align-left, +object.align-left { + display: block; + margin-right: auto; +} +img.align-center, +.figure.align-center, +object.align-center { display: block; margin-left: auto; margin-right: auto; } - -.align-left { - text-align: left } - -.align-center { - clear: both ; - text-align: center } - -.align-right { - text-align: right } - +img.align-right, +.figure.align-right, +object.align-right { + display: block; + margin-left: auto; +} /* reset inner alignment in figures */ -div.align-right { - text-align: inherit } - -/* div.align-center * { */ -/* text-align: left } */ - -ol.simple, ul.simple { - margin-bottom: 1em } - -ol.arabic { - list-style: decimal } - -ol.loweralpha { - list-style: lower-alpha } - -ol.upperalpha { - list-style: upper-alpha } - -ol.lowerroman { - list-style: lower-roman } - -ol.upperroman { - list-style: upper-roman } - -p.attribution { - text-align: right ; - margin-left: 50% } - -p.caption { - font-style: italic } - -p.credits { - font-style: italic ; - font-size: smaller } - -p.label { - white-space: nowrap } - -p.rubric { - font-weight: bold ; - font-size: larger ; - color: maroon ; - text-align: center } - -p.sidebar-title { - font-family: sans-serif ; - font-weight: bold ; - font-size: larger } - -p.sidebar-subtitle { - font-family: sans-serif ; - font-weight: bold } - -p.topic-title { - font-weight: bold } - -pre.address { - margin-bottom: 0 ; - margin-top: 0 ; - font: inherit } - -pre.literal-block, pre.doctest-block, pre.math, pre.code { - margin-left: 2em ; - margin-right: 2em } - -pre.code .ln { color: grey; } /* line numbers */ -pre.code, code { background-color: #eeeeee } -pre.code .comment, code .comment { color: #5C6576 } -pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } -pre.code .literal.string, code .literal.string { color: #0C5404 } -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} - -span.classifier { - font-family: sans-serif ; - font-style: oblique } - -span.classifier-delimiter { - font-family: sans-serif ; - font-weight: bold } - -span.interpreted { - font-family: sans-serif } - -span.option { - white-space: nowrap } - -span.pre { - white-space: pre } - -span.problematic { - color: red } - -span.section-subtitle { - /* font-size relative to parent (h1..h6 element) */ - font-size: 80% } - -table.citation { - border-left: solid 1px gray; - margin-left: 1px } - -table.docinfo { - margin: 2em 4em } - -table.docutils { - margin-top: 0.5em ; - margin-bottom: 0.5em } - -table.footnote { - border-left: solid 1px black; - margin-left: 1px } - -table.docutils td, table.docutils th, -table.docinfo td, table.docinfo th { - padding-left: 0.5em ; - padding-right: 0.5em ; - vertical-align: top } +div.align-right { text-align: inherit } + +/* Admonitions and System Messages */ +div.admonition, +div.system-message, +div.sidebar{ + margin: 40px; + border: medium outset; + padding-right: 1em; + padding-left: 1em; +} -table.docutils th.field-name, table.docinfo th.docinfo-name { - font-weight: bold ; - text-align: left ; - white-space: nowrap ; - padding-left: 0 } +/* Sidebar */ +div.sidebar { + width: 30%; + max-width: 26em; + float: right; + clear: right; +} -/* "booktabs" style (no vertical lines) */ -table.docutils.booktabs { - border: 0px; - border-top: 2px solid; - border-bottom: 2px solid; - border-collapse: collapse; +/* Text Blocks */ +div.topic, +pre.literal-block, +pre.doctest-block, +pre.math, +pre.code { + margin-right: 40px; + margin-left: 40px; } -table.docutils.booktabs * { - border: 0px; +pre.code .ln { color: gray; } /* line numbers */ + +/* Tables */ +table { border-collapse: collapse; } +td, th { + border-style: solid; + border-color: silver; + padding: 0 1ex; + border-width: thin; } -table.docutils.booktabs th { - border-bottom: thin solid; +td > p:first-child, th > p:first-child { margin-top: 0; } +td > p, th > p { margin-bottom: 0; } + +table > caption { text-align: left; + margin-bottom: 0.25em } -h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, -h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { - font-size: 100% } - -ul.auto-toc { - list-style-type: none } +table.borderless td, table.borderless th { + border: 0; + padding: 0; + padding-right: 0.5em /* separate table cells */ +} </style> <style type="text/css"> -/* html4css2.css: Cascading style sheet for Docutils' html4strict writer. */ -/* */ -/* :Author: Günter Milde */ -/* :Copyright: © 2009 Günter Milde. */ -/* Released without warranties or conditions of any kind */ -/* under the terms of the Apache License, Version 2.0 */ -/* http://www.apache.org/licenses/LICENSE-2.0 */ -/* */ -/* This stylesheet supplements the Docutils standard style 'html4css1.css'. */ -/* It uses CSS 2.1 elements (supported by up-to-date versions of popular */ -/* browsers). */ - -/* General rules */ -/* ============= */ - +/* CSS31_ style sheet for the output of Docutils HTML writers. */ +/* Rules for easy reading and pre-defined style variants. */ +/* */ +/* :Author: Günter Milde, based on html4css1.css by David Goodger */ +/* :Id: $Id: plain.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Copyright: © 2015 Günter Milde. */ +/* :License: Released under the terms of the `2-Clause BSD license`_, */ +/* in short: */ +/* */ +/* 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 */ + + +/* Document Structure */ +/* ****************** */ + +/* "page layout" */ body { padding: 0 5%; margin: 8px 0; +} +div.document { 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 */ -/* OTOH: lines should not be too short because of missing hyphenation, */ -div.document { - max-width: 45em; + /* avoid long lines --> better reading */ + /* OTOH: lines should not be too short because of missing hyphenation, */ + max-width: 50em; margin: auto; } -/* separate items except for compact lists */ -dl > dd { +/* Sections */ + +/* Transitions */ + +hr.docutils { + width: 80%; + margin-top: 1em; margin-bottom: 1em; + clear: both; } -.compact li, .compact p, .compact ul, .compact ol -dl.simple > dd, .simple li, .simple p, .simple ul, .simple ol { - margin-top: 0; - margin-bottom: 0; -/* background: magenta; */ + +/* Paragraphs */ +/* ========== */ + +/* vertical space (parskip) */ +p, ol, ul, dl, +div.line-block, +table{ + margin-top: 0.5em; + margin-bottom: 0.5em; } -dl.simple, dl.compact, dl.simple > dd, dl.compact > dd { - margin-top: 0; - margin-bottom: 0; -/* background: lightgreen; */ +h1, h2, h3, h4, h5, h6, +dl > dd { + margin-bottom: 0.5em; } -/* space around paragraphs */ -dl > dd p:first-child, td > p { - margin: 0; -} +/* Lists */ +/* ========== */ -/* Sidebar */ -/* ------- */ +/* Definition Lists */ -div.sidebar { - margin-right: -5%; -} +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; } */ -/* Special definition lists */ -/* ======================== */ +/* lists nested in definition lists */ +/* :only-child is not part of CSS 2.1 (introduced in CSS 3) */ +dd > ul:only-child, dd > ol:only-child { padding-left: 1em; } -/* bold definition term on the same line as the label */ -dl.field-list > dt, dl.option-list > dt, dl.docinfo > dt, -dl.footnote > dt, dl.citation > dt, dl.description > dt { +/* Description Lists */ +/* styled like in most dictionaries, encyclopedias etc. */ +dl.description > dt { + font-weight: bold; clear: left; float: left; margin: 0; padding: 0; padding-right: 0.5em; - font-weight: bold; } -/* except for these */ -dl.option-list > dt, dl.footnote > dt { - font-weight: normal; -} - - /* Field Lists */ -/* ----------- */ - -/* field names followed by a colon */ -dl.field-list > dt:after, dl.docinfo > dt:after { - content: ":"; -} - -/* Offset for field content (corresponds to the --field-name-limit option) */ -dl.field-list > dd { - margin-left: 9em; /* ca. 14 chars in the test examples */ - padding-left: 0.5em; -} - -/* start field-body on a new line after long field names */ -dl.field-list > dd p { - width: 100%; -/* display: inline-block; */ -/* background: yellow; */ -} - -dl.field-list > dd > p:first-child, -/* dl.field-list > dd > ol:first-child, */ -/* dl.field-list > dd > ul:first-child, */ -dl.field-list > dd > dl:first-child { - display: inline-block; -} - -/* field-list variants:: */ /* example for custom field-name width */ dl.field-list.narrow > dd { margin-left: 5em; } - -/* start field-body on same line after long field names */ +/* run-in: start field-body on same line after long field names */ dl.field-list.run-in > dd p { display: block; } -/* wrap or truncate long field names */ -dl.field-list.fix-labelwidth > dt { - width: 8em; /* set to dl.field-list > dd margin-left - padding-left */ - overflow: hidden; -} -dl.field-list.fix-labelwidth > dd:after { - /* a "stopper" to prevent next dd floating up too far */ - content: ''; - display: block; - clear: left; -} - -/* docinfo */ +/* Bibliographic Fields */ -dl.docinfo > dd { - margin-left: 8em; -/* margin-bottom: 0.5em; */ +/* generally, bibliographic fields use special definition list dl.docinfo */ +/* but dedication and abstract are placed into "topic" divs */ +div.abstract p.topic-title { + text-align: center; } - - -/* option list */ - -dl.option-list { - margin-left: 1em; - padding-left: 0; +div.dedication { + margin: 2em 5em; + text-align: center; + font-style: italic; } - -dl.option-list > dd { - margin-left: 8em; - /* margin-bottom: 0.5em; */ +div.dedication p.topic-title { + font-style: normal; } -/* start description on a new line after long options */ -dl.option-list > dd p { - width: 100%; - display: inline-block; +/* Citations */ +dl.citation dt.label { + font-weight: bold; } - -/* footnotes */ - -a.footnote-reference, a.fn-backref { - text-decoration: inherit; /* do not underline footnote links */ +span.fn-backref { + font-weight: normal; } -dl.footnote { - /* line on the left */ - padding-left: 1ex; - border-left: solid; - border-left-width: thin; - /* border-color: black; */ -} +/* Text Blocks */ +/* ============ */ -/* paragraph on same line as backrefs */ -dd > em { -/* background: green; */ - float: left; - margin-right: 1ex +/* Literal Blocks */ +pre.literal-block, pre.doctest-block, +pre.math, pre.code { + margin-left: 1.5em; + margin-right: 1.5em } +/* Block Quotes */ -/* -Ordered List (Enumeration) --------------------------- - -Use counters to replace the deprecated start attribute. Make sure the -resulting list resembles the list-style 'outside' with a hanging indent. -*/ - -/* New ordered list: reset counter, suppress the default label */ -ol, ol.arabic, ol.loweralpha, ol.upperalpha, -ol.lowerroman, ol.upperroman { - counter-reset: item; - 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 */ +blockquote, +div.topic { + margin-left: 1.5em; + margin-right: 1.5em } -/* reset for child elements */ -ol > li > * { - text-indent: 0px; - text-indent: 0; +blockquote > table, +div.topic > table { margin-top: 0; - /* background: lightgreen; */ + margin-bottom: 0; } - -/* Label */ -ol > li:before { - /* increment and typeset counter(s), */ - counter-increment: item; - content: counter(item) "."; - /* display next to the content (aligned top-right), */ - display: inline-block; +blockquote p.attribution, +div.topic p.attribution { text-align: right; - vertical-align: top; - /* sum must match ol>li {text-indent:} (40px is Mozillas default) */ - width: 35px; - padding-right: 5px; -/* background: yellow; */ -} - -/* The list item's first line starts next to the label, without indent */ -ol > li > p:first-child, -ol > li > ol:first-child, -ol > li > ul:first-child, -ol > li > dl:first-child { - display: inline-block; - /* background: lightblue; */ -} - -/* default separator variants */ -ol.loweralpha > li:before { - content: counter(item, lower-alpha) ")"; -} -ol.upperalpha > li:before { - content: counter(item, upper-alpha) "."; + margin-left: 20%; } -ol.lowerroman > li:before { - content: "(" counter(item, lower-roman) ")"; -} -ol.upperroman > li:before { - content: counter(item, upper-roman) ")"; -} -/* nested counters (1, 1.1, 1.1.1, etc) */ -/* nested enumerated lists "inherit" the class attribute, other lists not */ -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 */ -/* sub, sup {font-size: 70%;} */ /* Mozilla default is `smaller` */ +/* Tables */ +/* ====== */ -/* Tables */ -/* ====== */ - -/* margins and borders for "normal" tables */ -table { -/* background: magenta; */ - margin-top: 1em ; - margin-bottom: 1em; -/* border-style: outset; */ - border-style: solid; - border-color: silver; - border-width: thin; - border-collapse: collapse; -} -blockquote > table { - margin-top: 0em ; - margin-bottom: 0em; -} - -td, th { - border-style: solid; - border-width: thin; - border-color: silver; - /* text-align: left; */ - padding: 0 1ex; -} - -td > p:first-child, th > p:first-child { - margin-top: 0; -} -td > p, th > p { - margin-bottom: 0; -} - -/* no borders for "borderless" tables */ -table.borderless, table.borderless * { - border-style: none; -} +/* th { vertical-align: bottom; } */ /* "booktabs" style (no vertical lines) */ table.booktabs { @@ -647,7 +412,6 @@ table.booktabs { border-bottom: 2px solid; border-collapse: collapse; } - table.booktabs * { border: 0; } @@ -656,75 +420,134 @@ table.booktabs th { text-align: left; } -table > caption { - text-align: left; - margin-bottom: 0.25em -/* padding: 2em 0 1em 0; */ -} - -/* numbered tables*/ +/* numbered tables (counter defined in div.document) */ table.numbered > caption:before { - counter-increment: table; /* defined/re-set in body */ + counter-increment: table; content: "Table " counter(table) ": "; font-weight: bold; } +/* Explicit Markup Blocks */ +/* ====================== */ -/* literal text - ------------ -*/ -/* whitespace and wrapping in inline literals */ -/* possible values: normal, nowrap, pre, pre-wrap, pre-line */ -tt.literal { - white-space: pre-wrap; +/* Footnotes and Citations */ +/* ----------------------- */ + +/* line on the left */ +dl.footnote { + padding-left: 1ex; + border-left: solid; + border-left-width: thin; } -/* /* compensate for initial line-break (which is literal with XHTML 1.1) */ */ -/* pre.literal-block, pre.doctest-block { */ -/* margin-top: 0em ; */ -/* } */ +/* Directives */ +/* ---------- */ -/* Table of Contents */ +/* Body Elements */ +/* ~~~~~~~~~~~~~ */ -/* don't indent like a topic */ -div.topic.contents { - margin: 0; +/* Images and Figures */ +img.align-left, +.figure.align-left, +object.align-left { + clear: left; + float: left; + margin-right: 1em +} +img.align-right, +.figure.align-right, +object.align-right { + clear: right; + float: right; + margin-left: 1em } -/* div.topic.contents ul { */ -/* list-style: none; */ -/* } */ +/* Stop floating sidebars, images and figures at section level 1,2,3 */ +h1, h2, h3 { clear: both; } -div.topic.contents a { - text-decoration: none; /* no underline for links */ +/* Sidebar */ + +/* Move into the margin. In a layout with fixed margins, */ +/* it can be moved into the margin completely. */ +div.sidebar { + width: 30%; + max-width: 26em; + margin-left: 1em; + margin-right: -5.5%; + background-color: #ffffee ; } -/* section numbers */ +/* Code */ -span.sectnum { - padding-right: 1ex; +pre.code, code { background-color: #eeeeee } +pre.code .ln { color: gray; } /* line numbers */ +/* basic highlighting: for a complete scheme, see */ +/* http://docutils.sourceforge.net/sandbox/stylesheets/ */ +pre.code .comment, code .comment { color: #5C6576 } +pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } +pre.code .literal.string, code .literal.string { color: #0C5404 } +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 */ +/* styled separately (see math.css for math-output=HTML) */ + +/* Epigraph */ +/* Highlights */ +/* Pull-Quote */ +/* Compound Paragraph */ +/* Container */ + +/* can be styled in a custom stylesheet */ + +/* Document Header and Footer */ + +div.footer, div.header { + clear: both; + font-size: smaller; } -/* admonitions */ +/* Inline Markup */ +/* ============= */ + +/* 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; } */ -/* no padding for top and bottom */ -div.admonition, div.attention, div.caution, div.danger, div.error, -div.hint, div.important, div.note, div.tip, div.warning { - padding: 0px 1em } +/* 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 */ </style> </head> <body> <div class="document" id="lgrenc-def"> <h1 class="title">lgrenc.def</h1> -<h2 class="subtitle" id="lgr-greek-font-encoding-definitions">LGR Greek font encoding definitions</h2> +<p class="subtitle" id="lgr-greek-font-encoding-definitions">LGR Greek font encoding definitions</p> <dl class="docinfo simple"> <dt class="copyright">Copyright</dt> <dd class="copyright">© 2010, 2014 Günter Milde</dd> -<dt>Licence</dt> -<dd><p>This work may be distributed and/or modified under the +<dt class="licence">Licence</dt> +<dd class="licence"><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 -version 1.3 of this license or any later version.</p> +version 1.3 of this license or any later version.</p> </dd> </dl> <div class="abstract topic"> @@ -753,31 +576,32 @@ package.</p> <li><p><a class="reference internal" href="#ancient-greek-numbers-athenian-numerals" id="id11">Ancient Greek Numbers (Athenian Numerals)</a></p></li> <li><p><a class="reference internal" href="#archaic-letters" id="id12">Archaic letters</a></p></li> <li><p><a class="reference internal" href="#numeral-signs" id="id13">Numeral signs</a></p></li> +<li><p><a class="reference internal" href="#variant-symbols" id="id14">variant symbols</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#other" id="id14">Other</a></p></li> -<li><p><a class="reference internal" href="#not-implemented" id="id15">Not implemented</a></p></li> +<li><p><a class="reference internal" href="#other" id="id15">Other</a></p></li> +<li><p><a class="reference internal" href="#not-implemented" id="id16">Not implemented</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#diacritics" id="id16">Diacritics</a></p> +<li><p><a class="reference internal" href="#diacritics" id="id17">Diacritics</a></p> <ul> -<li><p><a class="reference internal" href="#named-macros" id="id17">Named macros</a></p></li> -<li><p><a class="reference internal" href="#aliases" id="id18">Aliases</a></p></li> +<li><p><a class="reference internal" href="#named-macros" id="id18">Named macros</a></p></li> +<li><p><a class="reference internal" href="#aliases" id="id19">Aliases</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#common-greek-font-encoding-definitions" id="id19">Common Greek font encoding definitions</a></p></li> -<li><p><a class="reference internal" href="#composite-definitions" id="id20">Composite definitions</a></p> +<li><p><a class="reference internal" href="#common-greek-font-encoding-definitions" id="id20">Common Greek font encoding definitions</a></p></li> +<li><p><a class="reference internal" href="#composite-definitions" id="id21">Composite definitions</a></p> <ul> -<li><p><a class="reference internal" href="#composite-diacritics" id="id21">Composite diacritics</a></p></li> -<li><p><a class="reference internal" href="#pre-composed-letters" id="id22">Pre-composed letters</a></p> +<li><p><a class="reference internal" href="#composite-diacritics" id="id22">Composite diacritics</a></p></li> +<li><p><a class="reference internal" href="#pre-composed-letters" id="id23">Pre-composed letters</a></p> <ul> -<li><p><a class="reference internal" href="#small-letters-with-diacritics" id="id23">Small letters with diacritics</a></p></li> -<li><p><a class="reference internal" href="#capital-letters-with-diacritics" id="id24">Capital letters with diacritics</a></p></li> +<li><p><a class="reference internal" href="#small-letters-with-diacritics" id="id24">Small letters with diacritics</a></p></li> +<li><p><a class="reference internal" href="#capital-letters-with-diacritics" id="id25">Capital letters with diacritics</a></p></li> </ul> </li> </ul> </li> -<li><p><a class="reference internal" href="#uppercase" id="id25">UPPERCASE</a></p></li> +<li><p><a class="reference internal" href="#uppercase" id="id26">UPPERCASE</a></p></li> </ul> </li> </ul> @@ -785,12 +609,12 @@ package.</p> <div class="section" id="changelog"> <h1><a class="toc-backref" href="#id2">Changelog</a></h1> <p>Development of this file started under the name “lgrxenc.def” as part of the -<a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle. With version 0.8, it moved to <tt class="literal"><span class="pre">greek-fontenc/lgrx.def</span></tt>.</p> +<a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle. With version 0.8, it moved to <span class="docutils literal"><span class="pre">greek-fontenc/lgrx.def</span></span>.</p> <table class="borderless"> <colgroup> -<col width="8%" /> -<col width="16%" /> -<col width="76%" /> +<col style="width: 8%" /> +<col style="width: 16%" /> +<col style="width: 76%" /> </colgroup> <tbody> <tr><td><p>0.1</p></td> @@ -804,7 +628,7 @@ package.</p> <tr><td><p>0.3</p></td> <td><p>2010-06-08</p></td> <td><p>handle Titlecase and UPPERCASE extending -<tt class="literal">\@uclclist</tt>.</p></td> +<span class="docutils literal">\@uclclist</span>.</p></td> </tr> <tr><td><p>0.4</p></td> <td><p>2010-06-15</p></td> @@ -812,7 +636,7 @@ package.</p> </tr> <tr><td><p>0.5</p></td> <td><p>2010-08-27</p></td> -<td><p>support <tt class="literal">\textalpha</tt> … <tt class="literal">\textOmega</tt>.</p></td> +<td><p>support <span class="docutils literal">\textalpha</span> … <span class="docutils literal">\textOmega</span>.</p></td> </tr> <tr><td><p>0.5.1</p></td> <td><p>2012-05-08</p></td> @@ -820,16 +644,16 @@ package.</p> </tr> <tr><td><p>0.6</p></td> <td><p>2012-06-29</p></td> -<td><p><tt class="literal">\TextGreek</tt> wrapper command,</p></td> +<td><p><span class="docutils literal">\TextGreek</span> wrapper command,</p></td> </tr> <tr><td><!-- --> </td> -<td> </td> -<td><p>aliases for <tt class="literal">puenc.def</tt> compatibility.</p></td> +<td></td> +<td><p>aliases for <span class="docutils literal">puenc.def</span> compatibility.</p></td> </tr> <tr><td><p>0.6.1</p></td> <td><p>2013-02-12</p></td> -<td><p><tt class="literal">\@uclclist</tt> entries for <cite>PU</cite> aliases.</p></td> +<td><p><span class="docutils literal">\@uclclist</span> entries for <cite>PU</cite> aliases.</p></td> </tr> <tr><td><p>0.7</p></td> <td><p>2013-05-13</p></td> @@ -837,8 +661,8 @@ package.</p> </tr> <tr><td><!-- --> </td> -<td> </td> -<td><p><tt class="literal">\TextGreek</tt> renamed to <tt class="literal">\ensuregreek</tt>.</p></td> +<td></td> +<td><p><span class="docutils literal">\TextGreek</span> renamed to <span class="docutils literal">\ensuregreek</span>.</p></td> </tr> <tr><td><p>0.8</p></td> <td><p>2013-05-13</p></td> @@ -846,12 +670,12 @@ package.</p> </tr> <tr><td><!-- --> </td> -<td> </td> +<td></td> <td><p>move to greek-fontenc,</p></td> </tr> <tr><td><!-- --> </td> -<td> </td> +<td></td> <td><p>drop the old (<0.7) internal accent macros names.</p></td> </tr> <tr><td><p>0.8.1</p></td> @@ -860,58 +684,62 @@ package.</p> </tr> <tr><td><!-- --> </td> -<td> </td> +<td></td> <td><p>conservative naming: “text” prefix for archaic letters,</p></td> </tr> <tr><td><!-- --> </td> -<td> </td> +<td></td> <td><p>“LGR@” prefix for internal commands,</p></td> </tr> <tr><td><!-- --> </td> -<td> </td> +<td></td> <td><p>remove not required alias macros.</p></td> </tr> <tr><td><p>0.8.2</p></td> <td><p>2013-05-23</p></td> -<td><p>fix name: <tt class="literal">\textpentehkaton</tt> -> <tt class="literal">\textpentehekaton</tt>,</p></td> +<td><p>fix name: <span class="docutils literal">\textpentehkaton</span> -> <span class="docutils literal">\textpentehekaton</span>,</p></td> </tr> <tr><td><!-- --> </td> -<td> </td> -<td><p>fix <tt class="literal">\textperiodcentered</tt>,</p></td> +<td></td> +<td><p>fix <span class="docutils literal">\textperiodcentered</span>,</p></td> </tr> <tr><td><!-- --> </td> -<td> </td> +<td></td> <td><p>add composite command for Ῥ (Rho with Dasia).</p></td> </tr> <tr><td><p>0.9</p></td> <td><p>2013-07-16</p></td> -<td><p>move common definitions to <tt class="literal"><span class="pre">greek-fontenc.def</span></tt>,</p></td> +<td><p>move common definitions to <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span>,</p></td> </tr> <tr><td><!-- --> </td> -<td> </td> +<td></td> <td><p>add composite commands for single quotation marks.</p></td> </tr> <tr><td><p>0.11.2</p></td> <td><p>2014-09-04</p></td> <td><p>remove duplicate code.</p></td> </tr> +<tr><td><p>0.13</p></td> +<td><p>2015-08-04</p></td> +<td><p>Support for symbol variants.</p></td> +</tr> </tbody> </table> </div> <div class="section" id="usage"> <h1><a class="toc-backref" href="#id3">Usage</a></h1> -<p>Load this file by calling <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> with the <tt class="literal">LGR</tt> option +<p>Load this file by calling <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> with the <span class="docutils literal">LGR</span> option or indirectly via the <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>, <a class="reference external" href="textalpha.sty.html">textalpha</a> or <a class="reference external" href="alphabeta.sty.html">alphabeta</a> packages.</p> -<dl class="docutils"> +<dl> <dt>Example:</dt> <dd><p>Select font encodings <cite>T1</cite> (as default) and <cite>LGR</cite> (for Greek):</p> <blockquote> -<p><tt class="literal"><span class="pre">\usepackage[LGR,T1]{fontenc}</span></tt></p> +<p><span class="docutils literal"><span class="pre">\usepackage[LGR,T1]{fontenc}</span></span></p> </blockquote> </dd> </dl> @@ -920,11 +748,11 @@ or indirectly via the <a class="reference external" href="http://www.ctan.org/pk <h1><a class="toc-backref" href="#id4">Implementation</a></h1> <div class="section" id="read-this-file-only-once"> <h2><a class="toc-backref" href="#id5">Read this file only once</a></h2> -<div class="note"> +<div class="admonition note"> <p class="admonition-title">Note</p> -<p>The use of <tt class="literal">\@ifundefined</tt> has the side-effect that the tested -macro becomes defined and set to <tt class="literal">\relax</tt> (polluting the namespace and -interfering with tests via eTeX’s <tt class="literal">\ifdefined</tt>). However, in this case +<p>The use of <span class="docutils literal">\@ifundefined</span> has the side-effect that the tested +macro becomes defined and set to <span class="docutils literal">\relax</span> (polluting the namespace and +interfering with tests via eTeX’s <span class="docutils literal">\ifdefined</span>). However, in this case no harm is done as the macro is defined by the <a class="reference internal" href="#identification">identification</a> below anyway.</p> </div> @@ -933,31 +761,27 @@ anyway.</p> {} {\message{LGR font encoding definitions already loaded} \expandafter\endinput % "return" - } -</pre> + }</pre> </div> <div class="section" id="identification"> <h2><a class="toc-backref" href="#id6">Identification</a></h2> <pre class="literal-block">\ProvidesFile{lgrenc.def} -[2014/09/04 v0.11.2 LGR Greek font encoding definitions] +[2015/08/08 v0.13 LGR Greek font encoding definitions] % Copyright © 2010 Günter Milde % This file is part of the "greek-fontenc" package. % It may be distributed and/or modified under the % conditions of the "LaTeX Project Public License", either -% version 1.3 of this license or any later version. -</pre> +% version 1.3 of this license or any later version.</pre> <p>You can test the version date using</p> -<pre class="code latex literal-block"><span class="keyword">\@</span>ifl@ter <span class="name builtin">{</span>extension<span class="name builtin">}{</span>filename<span class="name builtin">}{</span>date<span class="name builtin">}{</span>YES<span class="name builtin">}{</span>NO<span class="name builtin">}</span> -</pre> -<p>or using <a class="reference external" href="http://www.ctan.org/pkg/ltxcmds">ltxcmds</a>’ <tt class="literal">\@iffilelater</tt>.</p> +<pre class="code latex literal-block"><code><span class="keyword">\@</span>ifl@ter <span class="name builtin">{</span>extension<span class="name builtin">}{</span>filename<span class="name builtin">}{</span>date<span class="name builtin">}{</span>YES<span class="name builtin">}{</span>NO<span class="name builtin">}</span></code></pre> +<p>or using <a class="reference external" href="http://www.ctan.org/pkg/ltxcmds">ltxcmds</a>’ <span class="docutils literal">\@iffilelater</span>.</p> </div> <div class="section" id="base-setup"> <h2><a class="toc-backref" href="#id7">Base setup</a></h2> <p>Declare the LGR font encoding and base substitutions:</p> <pre class="literal-block">\DeclareFontEncoding{LGR}{}{} \DeclareFontSubstitution{LGR}{cmr}{m}{n} -\DeclareErrorFont{LGR}{cmr}{m}{n}{10} -</pre> +\DeclareErrorFont{LGR}{cmr}{m}{n}{10}</pre> </div> <div class="section" id="text-symbols"> <h2><a class="toc-backref" href="#id8">Text symbols</a></h2> @@ -1023,20 +847,18 @@ encoding.</p> \DeclareTextSymbol{\textphi}{LGR}{102} \DeclareTextSymbol{\textchi}{LGR}{113} \DeclareTextSymbol{\textpsi}{LGR}{121} -\DeclareTextSymbol{\textomega}{LGR}{119} -</pre> +\DeclareTextSymbol{\textomega}{LGR}{119}</pre> </div> <div class="section" id="additional-greek-symbols"> <h3><a class="toc-backref" href="#id10">Additional Greek symbols</a></h3> <div class="section" id="ancient-greek-numbers-athenian-numerals"> <h4><a class="toc-backref" href="#id11">Ancient Greek Numbers (Athenian Numerals)</a></h4> -<p>Names from <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> (<tt class="literal">ucsencs.def</tt>) +<p>Names from <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> (<span class="docutils literal">ucsencs.def</span>) (In ucs, five hundred is (wrongly?) named textpentehkaton.)</p> <pre class="literal-block">\DeclareTextSymbol{\textpentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY \DeclareTextSymbol{\textpentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED \DeclareTextSymbol{\textpenteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareTextSymbol{\textpentemuria}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND -</pre> +\DeclareTextSymbol{\textpentemuria}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND</pre> </div> <div class="section" id="archaic-letters"> <h4><a class="toc-backref" href="#id12">Archaic letters</a></h4> @@ -1052,25 +874,60 @@ encoding.</p> \DeclareTextSymbol{\textanoteleia}{LGR}{38} % · \DeclareTextSymbol{\texterotimatiko}{LGR}{63} % ; \DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ (ucs) \digamma used by amsmath for math-macro -\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs) -</pre> +\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs)</pre> </div> <div class="section" id="numeral-signs"> <h4><a class="toc-backref" href="#id13">Numeral signs</a></h4> <p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_numerals">http://en.wikipedia.org/wiki/Greek_numerals</a></p> <p>Names from <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>:</p> <pre class="literal-block">\DeclareTextSymbol{\textdexiakeraia}{LGR}{254} % ʹ (Dexia keraia) -\DeclareTextSymbol{\textaristerikeraia}{LGR}{255} % ͵ (Aristeri keraia) -</pre> +\DeclareTextSymbol{\textaristerikeraia}{LGR}{255} % ͵ (Aristeri keraia)</pre> +</div> +<div class="section" id="variant-symbols"> +<h4><a class="toc-backref" href="#id14">variant symbols</a></h4> +<p>Mathematical notation distinguishes variant shapes for pi, phi, rho, theta +(small and capital), beta, and kappa (characters for the latter three +symbols are not included in TeX’s math fonts). These variations have no +syntactic meaning in Greek text and are not given code-points in the LGR +encoding. Greek text fonts use the shape variants interchangeabely.</p> +<p>However, as Unicode defines separate code points for the symbol variants, we +provide fallback LICR macros with detailed error reporting:</p> +<pre class="literal-block">\providecommand*{\LGR@TextSymbolUnavailable}[1]{% + \PackageError{greek-fontenc}{character \string#1 not available \MessageBreak + in 8-bit TeX} + {Use XeTeX/LuaTeX if you need to distinguish the symbol from the letter.\MessageBreak + The package `textalpha' with `normalize-symbols' maps the GREEK SYMBOL\MessageBreak + character to the corresponding GREEK LETTER.\MessageBreak + Press <return> to proceed (dropping the symbol from the document).} +} + +\providecommand*{\LGR@TextSymbolOnlyMath}[2]{% + \PackageError{greek-fontenc}{character \string#1 not available in text mode} + {Use #2 or XeTeX/LuaTeX if you need to distinguish\MessageBreak + the symbol from the letter.\MessageBreak + The package `textalpha' with `normalize-symbols' maps the GREEK SYMBOL\MessageBreak + character to the corresponding GREEK LETTER.\MessageBreak + Press <return> to proceed (dropping the symbol from the document).} +} + +\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{ϐ beta symbol}} +\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϰ kappa symbol}} +\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϴ Theta symbol}} + +\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϑ theta symbol}{$\vartheta$}} +\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϕ phi symbol}{$\phi$}} +\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϖ pi symbol}{$\varpi$}} +\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϱ rho symbol}{$\varrho$}} +\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{ϵ lunate epsilon symbol}{$\epsilon$}}</pre> </div> </div> <div class="section" id="other"> -<h3><a class="toc-backref" href="#id14">Other</a></h3> +<h3><a class="toc-backref" href="#id15">Other</a></h3> <p>Characters that also exist in other font encodings:</p> <ul class="simple"> <li><p>define them for LGR if there is a matching glyph,</p></li> -<li><p>use established macro names that match with other <tt class="literal">*enc.def</tt> files and -<tt class="literal">textcomp.sty</tt>.</p></li> +<li><p>use established macro names that match with other <span class="docutils literal">*enc.def</span> files and +<span class="docutils literal">textcomp.sty</span>.</p></li> </ul> <p>All encodings: See usrguide.pdf, chapter 3.14 ff:</p> <pre class="literal-block">\DeclareTextSymbol{\textendash}{LGR}{0} % EN DASH @@ -1078,12 +935,10 @@ encoding.</p> \DeclareTextSymbol{\textquoteright}{LGR}{29} % ’ \DeclareTextSymbol{\textperiodcentered}{LGR}{38} % · = \textanoteleia \DeclareTextSymbol{\textcompwordmark}{LGR}{118} % ZERO WIDTH NO JOINER -\DeclareTextSymbol{\textemdash}{LGR}{127} % EM DASH -</pre> +\DeclareTextSymbol{\textemdash}{LGR}{127} % EM DASH</pre> <p>T1:</p> <pre class="literal-block">\DeclareTextSymbol{\guillemotleft}{LGR}{123} % « -\DeclareTextSymbol{\guillemotright}{LGR}{125} % » -</pre> +\DeclareTextSymbol{\guillemotright}{LGR}{125} % »</pre> <p>TS1:</p> <pre class="literal-block">\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘ \ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯ @@ -1094,11 +949,9 @@ encoding.</p> \DeclareTextSymbol{\textohm}{LGR}{87} % Ω (Ohm sign -> Omega) \DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf \DeclareTextSymbol{\textpercent}{LGR}{37} % % -\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf -</pre> +\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf</pre> <p>T3 (tipa):</p> -<pre class="literal-block">\DeclareTextSymbol{\textschwa}{LGR}{26} % ə -</pre> +<pre class="literal-block">\DeclareTextSymbol{\textschwa}{LGR}{26} % ə</pre> <p>T3 also defines some greek letters as well as Latin characters with Greek names:</p> <p>According to the Unicode standard, the following IPA characters are identic @@ -1109,43 +962,43 @@ to the Greek letters:</p> <li><p>03BB greek small letter lamda</p></li> <li><p>03C7 greek small letter chi</p></li> </ul> -<p>The following characters in the IPA block are not Greek letters:</p> +<p>The following characters in the IPA block refer to Greek letters:</p> <ul class="simple"> -<li><p>0251 LATIN SMALL LETTER ALPHA ≠ greek small letter alpha - 03B1</p></li> -<li><p>025B LATIN SMALL LETTER OPEN E = epsilon ≠ greek small letter epsilon - 03B5</p></li> -<li><p>0263 LATIN SMALL LETTER GAMMA ≠ greek small letter gamma - 03B3</p></li> -<li><p>0269 LATIN SMALL LETTER IOTA ≠ greek small letter iota - 03B9</p></li> -<li><p>0278 LATIN SMALL LETTER PHI ≠ greek small letter phi - 03C6</p></li> -<li><p>028A LATIN SMALL LETTER UPSILON ≠ greek small letter upsilon - 03C5</p></li> +<li><p>0251 LATIN SMALL LETTER ALPHA → greek small letter alpha - 03B1</p></li> +<li><p>025B LATIN SMALL LETTER OPEN E = epsilon → greek small letter epsilon - 03B5</p></li> +<li><p>0263 LATIN SMALL LETTER GAMMA → greek small letter gamma - 03B3</p></li> +<li><p>0269 LATIN SMALL LETTER IOTA → greek small letter iota - 03B9</p></li> +<li><p>0278 LATIN SMALL LETTER PHI → greek small letter phi - 03C6</p></li> +<li><p>028A LATIN SMALL LETTER UPSILON → greek small letter upsilon - 03C5</p></li> </ul> -<p>Unfortunately, <cite>tipa</cite> uses the macro names <tt class="literal">\textepsilon</tt>, <tt class="literal">\textgamma</tt>, -<tt class="literal">\textiota</tt>, <tt class="literal">\textphi</tt>, and <tt class="literal">\textupsilon</tt> for the Latin characters. -This is no problem with 8-bit fonts (set the font encoding to T3 vs. LGR to -disambiguate), but leads to name clashes with Unicode fonts. <a class="reference external" href="http://www.ctan.org/pkg/xunicode">xunicode</a> uses -the <tt class="literal">gr</tt> infix and alias names to disambiguate:</p> +<p><cite>tipa</cite> uses the macro names <span class="docutils literal">\textepsilon</span>, <span class="docutils literal">\textgamma</span>, <span class="docutils literal">\textiota</span>, +<span class="docutils literal">\textphi</span>, and <span class="docutils literal">\textupsilon</span> for the Latin characters. This is no +problem with 8-bit fonts (set the font encoding to T3 vs. LGR to +disambiguate), but leads to ambiguity with Unicode fonts. <a class="reference external" href="http://www.ctan.org/pkg/xunicode">xunicode</a> uses the +<span class="docutils literal">gr</span> infix and alias names to disambiguate:</p> <ul class="simple"> -<li><p>03B3 <tt class="literal">\textgrgamma</tt></p></li> -<li><p>03B9 <tt class="literal">\textgriota</tt></p></li> -<li><p>03C6 <tt class="literal">\textgrphi</tt> (see x0278 )</p></li> +<li><p>03B3 <span class="docutils literal">\textgrgamma</span></p></li> +<li><p>03B9 <span class="docutils literal">\textgriota</span></p></li> +<li><p>03C6 <span class="docutils literal">\textgrphi</span> (see x0278 )</p></li> </ul> -<p>but not for epsilon and upsilon (03C2 <tt class="literal">\textgrsigma</tt> is the final sigma).</p> +<p>but not for epsilon and upsilon (03C2 <span class="docutils literal">\textgrsigma</span> is the final sigma).</p> <p>It also assigns alias names to the Latin counterparts, however not on a systematical basis:</p> <ul class="simple"> -<li><p>0194 <tt class="literal">\textGammaafrican</tt></p></li> -<li><p>0196 <tt class="literal">\textIotaafrican</tt></p></li> -<li><p>0251 <tt class="literal">\textscripta</tt></p></li> -<li><p>025B <tt class="literal">\texteopen</tt></p></li> -<li><p>0263 <tt class="literal">\textbabygamma</tt>, <tt class="literal">\textgammalatinsmall</tt></p></li> -<li><p>0269 <tt class="literal">\textiotalatin</tt></p></li> -<li><p>028A <tt class="literal">\textscupsilon</tt> % TIPA-U</p></li> +<li><p>0194 <span class="docutils literal">\textGammaafrican</span></p></li> +<li><p>0196 <span class="docutils literal">\textIotaafrican</span></p></li> +<li><p>0251 <span class="docutils literal">\textscripta</span></p></li> +<li><p>025B <span class="docutils literal">\texteopen</span></p></li> +<li><p>0263 <span class="docutils literal">\textbabygamma</span>, <span class="docutils literal">\textgammalatinsmall</span></p></li> +<li><p>0269 <span class="docutils literal">\textiotalatin</span></p></li> +<li><p>028A <span class="docutils literal">\textscupsilon</span> % TIPA-U</p></li> </ul> </div> <div class="section" id="not-implemented"> -<h3><a class="toc-backref" href="#id15">Not implemented</a></h3> -<p>The characters at position 16 and 17 are used in the <tt class="literal">\nexus</tt> macro +<h3><a class="toc-backref" href="#id16">Not implemented</a></h3> +<p>The characters at position 16 and 17 are used in the <span class="docutils literal">\nexus</span> macro of the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> package to form an extensible, hat-like bracket. In -<tt class="literal">CB.enc</tt>, they are mapped to</p> +<span class="docutils literal">CB.enc</span>, they are mapped to</p> <blockquote> <p>16–MODIFIER LETTER LOW ACUTE ACCENT 17–MODIFIER LETTER LOW GRAVE ACCENT</p> @@ -1153,33 +1006,33 @@ of the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teub <p>but according to the documentation of Werner Lemberg’s <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a>, they rather represent the left and right part of U+23E0 TOP TORTOISE SHELL BRACKET.</p> -<p>Babel’s <tt class="literal">lgrenc.def</tt> has some definitions to prevent surprises with +<p>Babel’s <span class="docutils literal">lgrenc.def</span> has some definitions to prevent surprises with macros that expect a Latin script. These definitions are problematic in a -font-encoding definition file as they require <tt class="literal">\textlatin</tt> which is -defined in <tt class="literal">babel.def</tt>. They were moved to <tt class="literal">greek.ldf</tt>.</p> +font-encoding definition file as they require <span class="docutils literal">\textlatin</span> which is +defined in <span class="docutils literal">babel.def</span>. They were moved to <span class="docutils literal">greek.ldf</span>.</p> </div> </div> <div class="section" id="diacritics"> -<h2><a class="toc-backref" href="#id16">Diacritics</a></h2> +<h2><a class="toc-backref" href="#id17">Diacritics</a></h2> <p>This section defines <a class="reference internal" href="#named-macros">named macros</a> for Greek diacritics and standard <a class="reference internal" href="#symbol-macros">symbol macros</a> as alias for simple diacritics. Convenient input conventions for <a class="reference internal" href="#composite-diacritics">composite diacritics</a> are defined as <a class="reference internal" href="#composite-definitions">composite definitions</a>.</p> <p>Advantages:</p> <ul class="simple"> -<li><p>input convention similar to LGR input encodings (just prepend a <tt class="literal">\</tt>).</p></li> +<li><p>input convention similar to LGR input encodings (just prepend a <span class="docutils literal">\</span>).</p></li> <li><p>Access pre-composed characters without resorting to the ligature mechanism (allows proper kerning, cf. <a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">teubner-doc</a>).</p></li> <li><p>Named macros can be used to ensure a font encoding supporting Greek is used. However, substitution with pre-composed characters works only for the active font encoding (cf. <a class="reference external" href="textalpha.sty.html">textalpha</a>). Named accent macros can also be -used instead of the <tt class="literal">\@tabacckludge</tt> by to-LaTeX converters to ensure +used instead of the <span class="docutils literal">\@tabacckludge</span> by to-LaTeX converters to ensure working also inside the tabbing environment.</p></li> <li><p>Named macros are required for upcasing according to Greek typesetting conventions (cf. <a class="reference internal" href="#uppercase">UPPERCASE</a> below) and for composite diacritics.</p></li> </ul> <div class="section" id="named-macros"> -<h3><a class="toc-backref" href="#id17">Named macros</a></h3> +<h3><a class="toc-backref" href="#id18">Named macros</a></h3> <p>Definitions are based on the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> package by Claudio Beccari, the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> package, and the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg. Names are derived from the Unicode name with the prefix “acc” (cf. <cite>How to name accent macros?</cite> @@ -1191,14 +1044,12 @@ two-letter <a class="reference external" href="http://www.ctan.org/pkg/teubner"> \DeclareTextAccent{\accdasia}{LGR}{60} % δασεῖα spiritus asper (rough breathing) \DeclareTextAccent{\accpsili}{LGR}{62} % ψιλή spiritus lenis (smooth breathing) \DeclareTextAccent{\accvaria}{LGR}{96} % βαρεῖα (grave) -\DeclareTextAccent{\accperispomeni}{LGR}{126} % περισπωμένη (circonflex/tilde) -</pre> +\DeclareTextAccent{\accperispomeni}{LGR}{126} % περισπωμένη (circonflex/tilde)</pre> <p>The <a class="reference external" href="http://en.wikipedia.org/wiki/Hypogegrammeni">sub-iota</a> is input after the base character. In LGR fonts, ligatures are defined for pre-composed characters, the postfix ligature does not interfere with kerning:</p> <pre class="literal-block">\DeclareTextSymbol{\prosgegrammeni}{LGR}{8} % ι "capital" sub-iota -\DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ "small" sub-iota -</pre> +\DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ "small" sub-iota</pre> <p>Composite diacritics:</p> <pre class="literal-block">% Teubner name \DeclareTextAccent{\accdialytikaperispomeni}{LGR}{32} % Cd @@ -1211,50 +1062,46 @@ with kerning:</p> \DeclareTextAccent{\accpsiliperispomeni}{LGR}{92} % Cs \DeclareTextAccent{\accpsilioxia}{LGR}{94} % As -\DeclareTextAccent{\accpsilivaria}{LGR}{95} % Gs -</pre> +\DeclareTextAccent{\accpsilivaria}{LGR}{95} % Gs</pre> <p>For classical Greek and linguistics, the LGR font encoding contains a number of additional diacritic symbols:</p> <pre class="literal-block">\DeclareTextAccent{\accinvertedbrevebelow}{LGR}{1} % INVERTED BREVE BELOW \DeclareTextAccent{\textsubarch}{LGR}{1} % (tipa) \DeclareTextAccent{\accbrevebelow}{LGR}{20} % BREVE BELOW -\DeclareTextAccent{\u}{LGR}{30} % BREVE -\DeclareTextAccent{\=}{LGR}{31} % MACRON -</pre> +\DeclareTextAccent{\u}{LGR}{30} % BREVE (Greek vrachy) +\DeclareTextAccent{\=}{LGR}{31} % MACRON</pre> </div> <div class="section" id="aliases"> -<h3><a class="toc-backref" href="#id18">Aliases</a></h3> +<h3><a class="toc-backref" href="#id19">Aliases</a></h3> <p>The standard <span class="target" id="symbol-macros">symbol macros</span> are exclusively used for Greek diacritics in LGR:</p> <pre class="literal-block">\DeclareTextCommand{\"}{LGR}{\accdialytika} \DeclareTextCommand{\'}{LGR}{\acctonos} \DeclareTextCommand{\`}{LGR}{\accvaria} -\DeclareTextCommand{\~}{LGR}{\accperispomeni} -</pre> +\DeclareTextCommand{\~}{LGR}{\accperispomeni}</pre> </div> </div> <div class="section" id="common-greek-font-encoding-definitions"> -<h2><a class="toc-backref" href="#id19">Common Greek font encoding definitions</a></h2> +<h2><a class="toc-backref" href="#id20">Common Greek font encoding definitions</a></h2> <p>The file greek-fontenc.def contains font encoding definitions that are shared by font encodings providing Greek characters:</p> -<pre class="literal-block">\input{greek-fontenc.def} -</pre> +<pre class="literal-block">\input{greek-fontenc.def}</pre> </div> <div class="section" id="composite-definitions"> -<h2><a class="toc-backref" href="#id20">Composite definitions</a></h2> +<h2><a class="toc-backref" href="#id21">Composite definitions</a></h2> <div class="section" id="composite-diacritics"> -<h3><a class="toc-backref" href="#id21">Composite diacritics</a></h3> +<h3><a class="toc-backref" href="#id22">Composite diacritics</a></h3> <p>Composite accents can be input as sequence of simple diacritics (in arbitrary order) via named macro, symbol macro and “transcription -characters”, e.g. <tt class="literal">\accdialytica\accvaria\textalpha</tt>, <tt class="literal"><span class="pre">\"\'\textalpha</span></tt>, -<tt class="literal"><span class="pre">\"'\textalpha</span></tt>, or <tt class="literal"><span class="pre">\'"\textalpha</span></tt>.</p> +characters”, e.g. <span class="docutils literal">\accdialytica\accvaria\textalpha</span>, <span class="docutils literal"><span class="pre">\"\'\textalpha</span></span>, +<span class="docutils literal"><span class="pre">\"'\textalpha</span></span>, or <span class="docutils literal"><span class="pre">\'"\textalpha</span></span>.</p> <p>The actual declarations are part of the <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding definitions</a>.</p> </div> <div class="section" id="pre-composed-letters"> -<h3><a class="toc-backref" href="#id22">Pre-composed letters</a></h3> +<h3><a class="toc-backref" href="#id23">Pre-composed letters</a></h3> <div class="section" id="small-letters-with-diacritics"> -<h4><a class="toc-backref" href="#id23">Small letters with diacritics</a></h4> +<h4><a class="toc-backref" href="#id24">Small letters with diacritics</a></h4> <p>(from <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> with changed names of the composite accents):</p> <pre class="literal-block">\DeclareTextComposite{\accvaria}{LGR}{a}{128} \DeclareTextComposite{\accdasia}{LGR}{a}{129} @@ -1336,8 +1183,7 @@ definitions</a>.</p> \DeclareTextComposite{\accpsilioxia}{LGR}{o}{238} \DeclareTextComposite{\accpsilivaria}{LGR}{o}{239} \DeclareTextComposite{\accdasia}{LGR}{r}{251} -\DeclareTextComposite{\accpsili}{LGR}{r}{252} -</pre> +\DeclareTextComposite{\accpsili}{LGR}{r}{252}</pre> <p>Pre-composed letters with diacritics + LICR macros:</p> <pre class="literal-block">\DeclareTextComposite{\accvaria}{LGR}{\textalpha}{128} \DeclareTextComposite{\accdasia}{LGR}{\textalpha}{129} @@ -1419,17 +1265,16 @@ definitions</a>.</p> \DeclareTextComposite{\accpsilioxia}{LGR}{\textomicron}{238} \DeclareTextComposite{\accpsilivaria}{LGR}{\textomicron}{239} \DeclareTextComposite{\accdasia}{LGR}{r}{251} -\DeclareTextComposite{\accpsili}{LGR}{r}{252} -</pre> +\DeclareTextComposite{\accpsili}{LGR}{r}{252}</pre> </div> <div class="section" id="capital-letters-with-diacritics"> -<h4><a class="toc-backref" href="#id24">Capital letters with diacritics</a></h4> +<h4><a class="toc-backref" href="#id25">Capital letters with diacritics</a></h4> <blockquote> <p>In Greek, diacritics are omitted in all-uppercase words, but kept as part of an uppercase initial (written before rather than above the letter).</p> <p>The diaytika should also always be used in all-uppercase words (even in cases where they are not needed when writing in lowercase)</p> -<p class="attribution">—<a class="reference external" href="http://en.wikipedia.org/wiki/Capitalization">http://en.wikipedia.org/wiki/Capitalization</a></p> +<p class="attribution">—<cite><a class="reference external" href="http://en.wikipedia.org/wiki/Capitalization">http://en.wikipedia.org/wiki/Capitalization</a></cite></p> </blockquote> <p>In Title Case, place diacritics before instead of above the base character:</p> <pre class="literal-block">\DeclareTextCompositeCommand{\accdasia}{LGR}{A}{<A} @@ -1501,12 +1346,10 @@ in cases where they are not needed when writing in lowercase)</p> \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{W}{>'W} \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{W}{>\char126W} \DeclareTextCompositeCommand{\acctonos}{LGR}{W}{'W} -\DeclareTextCompositeCommand{\accvaria}{LGR}{W}{`W} -</pre> +\DeclareTextCompositeCommand{\accvaria}{LGR}{W}{`W}</pre> <p>Except for the dialytika:</p> <pre class="literal-block">\DeclareTextComposite{\accdialytika}{LGR}{I}{219} -\DeclareTextComposite{\accdialytika}{LGR}{U}{223} -</pre> +\DeclareTextComposite{\accdialytika}{LGR}{U}{223}</pre> <p>Do the same for the LICR macros:</p> <pre class="literal-block">\DeclareTextCompositeCommand{\accdasia}{LGR}{\textAlpha}{<A} \DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textAlpha}{<`A} @@ -1577,29 +1420,25 @@ in cases where they are not needed when writing in lowercase)</p> \DeclareTextCompositeCommand{\accpsilioxia}{LGR}{\textOmega}{>'W} \DeclareTextCompositeCommand{\accpsiliperispomeni}{LGR}{\textOmega}{>\char126W} \DeclareTextCompositeCommand{\acctonos}{LGR}{\textOmega}{'W} -\DeclareTextCompositeCommand{\accvaria}{LGR}{\textOmega}{`W} -</pre> +\DeclareTextCompositeCommand{\accvaria}{LGR}{\textOmega}{`W}</pre> <p>Except for the dialytika:</p> <pre class="literal-block">\DeclareTextComposite{\accdialytika}{LGR}{\textIota}{219} -\DeclareTextComposite{\accdialytika}{LGR}{\textUpsilon}{223} -</pre> +\DeclareTextComposite{\accdialytika}{LGR}{\textUpsilon}{223}</pre> </div> </div> </div> <div class="section" id="uppercase"> -<h2><a class="toc-backref" href="#id25">UPPERCASE</a></h2> -<p>The <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding definitions</a> in <tt class="literal"><span class="pre">greek-fontenc.def</span></tt> extend +<h2><a class="toc-backref" href="#id26">UPPERCASE</a></h2> +<p>The <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding definitions</a> in <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span> extend the <cite>uclclist</cite> with Greek LICR macros. Here, we add LGR specific “hiatus” handling.</p> <p>Composite commands for Latin transliteration:</p> <pre class="literal-block">\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{A}{\LGR@A@hiatus} -\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{E}{\LGR@E@hiatus} -</pre> +\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{E}{\LGR@E@hiatus}</pre> <p>TODO: What does the <a class="reference external" href="mailto:LGR@hiatus">LGR@hiatus</a> command “see” if a Unicode literal follows?</p> -<pre class="code latex literal-block"><span class="comment">% \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\symbol{"ce}}{bluff} +<pre class="code latex literal-block"><code><span class="comment">% \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\symbol{"ce}}{bluff} % \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{"cf}{blaff} -% \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{ι}{blaff}</span> -</pre> +% \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{ι}{blaff}</span></code></pre> <p>Look ahead and place a diaeresis on Ι or Υ:</p> <pre class="literal-block">\DeclareTextCommand{\LGR@A@hiatus}{LGR}{% \LGR@ifnextchar{I}{A\"}{% @@ -1618,26 +1457,23 @@ handling.</p> }% }% }% -} -</pre> +}</pre> <p>Unfortunately, the lookahead breaks kerning.</p> <p>Alternatives tried:</p> <ul> -<li><p>CompositeCommands fail at the end of a macro, e.g. <tt class="literal"><span class="pre">\emph{\'a}</span></tt></p> -<pre class="code latex literal-block"><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@A@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>A<span class="name builtin">}</span> +<li><p>CompositeCommands fail at the end of a macro, e.g. <span class="docutils literal"><span class="pre">\emph{\'a}</span></span></p> +<pre class="code latex literal-block"><code><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@A@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>A<span class="name builtin">}</span> <span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@E@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>E<span class="name builtin">}</span> <span class="keyword">\DeclareTextCompositeCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@A@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{}{</span>A<span class="name builtin">}</span> <span class="keyword">\DeclareTextCompositeCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@A@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>I<span class="name builtin">}{</span>A<span class="keyword">\"</span>I<span class="name builtin">}</span> -<span class="keyword">\DeclareTextCompositeCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@A@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>U<span class="name builtin">}{</span>A<span class="keyword">\"</span>U<span class="name builtin">}</span> -</pre> +<span class="keyword">\DeclareTextCompositeCommand</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@A@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>U<span class="name builtin">}{</span>A<span class="keyword">\"</span>U<span class="name builtin">}</span></code></pre> </li> <li><p>The glyph No 12 is a special “Upcase Alpha” that in ligature with Y and I adds a diaresis to them. However, it seems that it has only kerning definitions for I and Y (as it is not intended for direct use)</p> -<pre class="code latex literal-block"><span class="keyword">\DeclareTextComposite</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>A<span class="name builtin">}{</span>12<span class="name builtin">}</span> -</pre> +<pre class="code latex literal-block"><code><span class="keyword">\DeclareTextComposite</span><span class="name builtin">{</span><span class="keyword">\LGR</span>@hiatus<span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>A<span class="name builtin">}{</span>12<span class="name builtin">}</span></code></pre> <p>No such glyph exists for E but this is no problem as E does not require kerning anyway.</p> </li> |