summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/teubner
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/teubner')
-rw-r--r--macros/latex/contrib/teubner/README3
-rw-r--r--macros/latex/contrib/teubner/teubner-doc.pdfbin431632 -> 432909 bytes
-rw-r--r--macros/latex/contrib/teubner/teubner-doc.tex26
-rw-r--r--macros/latex/contrib/teubner/teubner.dtx63
-rw-r--r--macros/latex/contrib/teubner/teubner.pdfbin670679 -> 671724 bytes
-rw-r--r--macros/latex/contrib/teubner/teubner.txt25
6 files changed, 66 insertions, 51 deletions
diff --git a/macros/latex/contrib/teubner/README b/macros/latex/contrib/teubner/README
index 065a7a3c92..d1b6912675 100644
--- a/macros/latex/contrib/teubner/README
+++ b/macros/latex/contrib/teubner/README
@@ -1,4 +1,5 @@
-This accompanies the teubner bundle version 5.x dated November 2020 or later.
+This README file accompanies the teubner bundle version 5.x dated
+November 2020 or later.
Copyright 2010-2022 Claudio Beccari
diff --git a/macros/latex/contrib/teubner/teubner-doc.pdf b/macros/latex/contrib/teubner/teubner-doc.pdf
index 1facc3adc6..b95983eb0c 100644
--- a/macros/latex/contrib/teubner/teubner-doc.pdf
+++ b/macros/latex/contrib/teubner/teubner-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/teubner/teubner-doc.tex b/macros/latex/contrib/teubner/teubner-doc.tex
index aed4713fcf..2fcc2b241d 100644
--- a/macros/latex/contrib/teubner/teubner-doc.tex
+++ b/macros/latex/contrib/teubner/teubner-doc.tex
@@ -46,7 +46,7 @@
An extension for Greek philology\\
User manual}
\author{Claudio Beccari\thanks{\texttt{claudio dot beccari at gmail dot com}}}
-\date{October 2022}% <---- this is the date of the teubenr-doc document!
+\date{October 2022}% <---- this is the date of the teubner-doc document!
\def\comando#1{\expandafter\texttt\expandafter{\string#1}}
\def\cs#1{\texttt{\char92#1}}
\def\ARG#1{\texttt{\char123}\meta{#1}\texttt{\char125}}
@@ -568,18 +568,6 @@ if you type \texttt{\comando\AtticNumeral\{1999\}} you get \textLipsias{\AtticNu
if you type \texttt{\comando\AtticNumeral\{55555\}} you get \textLipsias{\AtticNumeral{55555}}
\end{quote}
-\section{New commands}
-This package introduces many new commands for typesetting Greek in a philological way. Most such commands are collected in table~\ref{t:extcomandi}.
-
-A short remark on the command \comando\ap: this useful command inserts \emph{anything} as a superscript of anything else; it works both in text mode and in math mode\footnote{Numerical superscripts or apices do not require math mode; numerical footnote labels are automatically inserted by \LaTeX's \comando\footnote\ command; non numerical footnote labels are easily inserted with \LaTeX's \comando\footnotemark\ and \comando\footnotetext\ commands with their optional arguments.}. In particular while typesetting a philological text in different languages and with different alphabets, \comando\ap\ typesets the superscript with the current language and alphabet; if any change is required, the \comando\ap's argument can contain any language or alphabet specific declaration. You can typeset something such as \textLipsias{Baq\'ulides\,\ap{\textlatin{a}}} by switching language and alphabet as required; the specific declarations and the commands contained in table~\ref{t:extcomandi} come handy also in these cases.
-
-Please, read the \file{teubner.pdf} file for what concerns command \cs{LLadd}; it accepts two optional kerning values in order to adapt the internal spaces in accordance with the nature of the \meta{text} argument; with capital letters and/or sloping fonts, such kerning values may come handy for a perfect final result.
-Its new syntax is the following:
-\begin{quote}
-\cs{LLadd}\oarg{left kerning}\marg{text}\oarg{right kerning}
-\end{quote}
-where both kerning values imply a reduction of space if they are specified as positive values; use o font size units, such as \texttt{ex} or \texttt{em} are recommended, since they assure the automatic correct value even when changing font size.
-
\begin{table}[!p]\thrule
\let\c\comando
@@ -636,6 +624,18 @@ with the homonymous math command; this is now resolved. Thank you Ansten.\par}
\caption{Extended commands}\label{t:extcomandi}
\end{table}
+\section{New commands}
+This package introduces many new commands for typesetting Greek in a philological way. Most such commands are collected in table~\ref{t:extcomandi}.
+
+A short remark on the command \comando\ap: this useful command inserts \emph{anything} as a superscript of anything else; it works both in text mode and in math mode\footnote{Numerical superscripts or apices do not require math mode; numerical footnote labels are automatically inserted by \LaTeX's \comando\footnote\ command; non numerical footnote labels are easily inserted with \LaTeX's \comando\footnotemark\ and \comando\footnotetext\ commands with their optional arguments.}. In particular while typesetting a philological text in different languages and with different alphabets, \comando\ap\ typesets the superscript with the current language and alphabet; if any change is required, the \comando\ap's argument can contain any language or alphabet specific declaration. You can typeset something such as \textLipsias{Baq\'ulides\,\ap{\textlatin{a}}} by switching language and alphabet as required; the specific declarations and the commands contained in table~\ref{t:extcomandi} come handy also in these cases.
+
+Please, read the \file{teubner.pdf} file for what concerns command \cs{LLadd}; it accepts two \emph{optional} kerning values in order to adapt the internal spaces in accordance with the nature of the \meta{text} argument; with capital letters and/or sloping fonts, such kerning values may come handy for a perfect final result. Nevertheless a lot of attention was used to cope with such situations so as to avoid the above described corrections.
+Its new syntax is the following:
+\begin{quote}
+\cs{LLadd}\oarg{left kerning}\marg{text}\oarg{right kerning}
+\end{quote}
+where both kerning values imply a \emph{reduction} of space if they are specified as positive values; therefore if you specify negative values, the space is increased. Using of font size units, such as \texttt{ex} or \texttt{em} is recommended, since xuch units assure the automatic correct value even when changing font size.
+
\section{Metrics}
Philological writings often require the description of metrics;
diff --git a/macros/latex/contrib/teubner/teubner.dtx b/macros/latex/contrib/teubner/teubner.dtx
index 6a3e029252..bd656ecbda 100644
--- a/macros/latex/contrib/teubner/teubner.dtx
+++ b/macros/latex/contrib/teubner/teubner.dtx
@@ -43,7 +43,7 @@ See the end of the file.
%<package>\ProvidesPackage{teubner}[%
%<tbtx>\ProvidesPackage{teubnertx}[%
%<*driver,package,tbtx>
-2022/10/01 v.5.7.1
+2022/10/03 v.5.7.3
%<package>Extensions for Greek philology]
%<tbtx>Access to the LGR encoded Greek fonts that match the TX fonts]
%</driver,package,tbtx>
@@ -84,7 +84,7 @@ See the end of the file.
%</driver>
% \fi
%
-% \CheckSum{4190}
+% \CheckSum{4206}
% \begin{multicols}{2}\tableofcontents\end{multicols}
%
%
@@ -618,7 +618,9 @@ Type X <return> to exit.}%
\DeclareFontShape{U}{mtr}{m}{it}{<->ssub*mtr/m/n}{}%
\DeclareFontShape{U}{mtr}{b}{it}{<->ssub*mtr/m/n}{}%
\DeclareFontShape{U}{mtr}{bx}{n}{<->ssub*mtr/m/n}{}%
-\newcommand*\metricsfont{\fontencoding{U}\fontfamily{mtr}\normalshape}
+\DeclareRobustCommand*\metricsfont{%
+ \fontencoding{U}\fontfamily{mtr}\normalshape}
+\DeclareTextFontCommand{\textmtr}{\metricsfont}
% \end{macrocode}
% \end{macro} Next we require the package for extensible math fonts;
% it might be strange to use extensible math fonts in Greek philology,
@@ -1024,16 +1026,16 @@ Type X <return> to exit.}%
\ProvideDocumentEnvironment{GRL}{m}{}{}
\RenewDocumentEnvironment{GRL}{o}{\begin{otherlanguage*}{greek}%
-\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
-\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
+\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
+\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
\IfValueTF{#1}{\fontseries{#1}}{}%
- \fontshape{li}\selectfont}{\end{otherlanguage*}}
+ \fontshape{li}\selectfont}{\end{otherlanguage*}}%
\RenewDocumentEnvironment{GRD}{o}{\begin{otherlanguage*}{greek}%
-\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
-\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}
+\@ifclassloaded{memoir}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
+\@ifclassloaded{scrbook}{\def\bfseries{\fontseries{bx}\selectfont}}{\relax}%
\IfValueTF{#1}{\fontseries{#1}}{}%
- \fontshape{up}\selectfont}{\end{otherlanguage*}}
+ \fontshape{up}\selectfont}{\end{otherlanguage*}}%
}
% \end{macrocode}
%\end{environment}
@@ -1066,9 +1068,9 @@ Type X <return> to exit.}%
%\begin{macro}{\textui}
%\begin{macro}{\rsshape}
%\begin{macro}{\textrs}
-% The other switching font macros for using the other shapes that are available
-% with the CB fonts are working only when typesetting in Greek and the default
-% encoding is therefore LGR.
+% The other switching font macros for using the other shapes that are
+% available with the CB fonts are working only when typesetting in
+% Greek and the default encoding is therefore LGR.
% \begin{macrocode}
\DeclareRobustCommand\uishape{%
\ifthenelse{\equal{\f@encoding}{\GRenc@name}}%
@@ -2220,7 +2222,9 @@ Type X <return> to exit.}%
% designed as to be higher and deeper than the font total height, so as
% not to interfere with Greek accents and to accomodate for at least one
% level of nesting (for example square brackets enclosing lower part of
-% square brackets. The single glyphs may be used directly by the
+% square brackets.
+%
+% The single glyphs may be used directly by the
% typesetter, but we think that the commands requiring some text are
% far more useful. |\Ladd| and its double version |\LLadd| enclose text
% that should be added for sure. |\ladd| and its double version |\lladd|
@@ -2229,20 +2233,29 @@ Type X <return> to exit.}%
% with the lower part of open and closed square brackets. |\mqs| surrounds
% some text with the upper part of open and closed square brackets.
% See \texttt{teubenr-doc.pdf} for samples of such commands.
+%
% Command |\LLadd| has been modified since |teubner| previous version
-% because it contained a spurios space; in addition it has been
+% because it contained a spurious space; in addition it has been
% rewritten with the |\NewDocumentCommand| in \LaTeX\,3 language, so as
% to accept two optional kerning values so as to get the double square
-% brackets closer to the enclosed text; it syntax is now
+% brackets closer to the enclosed text; its syntax is now
%\begin{sintassi}
%\cs{LLadd}\oarg{left kerning}\marg{text}\oarg{right kerning}
%\end{sintassi}
-% Both kerning values are positive in order to get the square brackets
+% Both kerning values are positive in order to get the angle brackets
% closer to the text; this facility is especially useful with slanted
% text. In any case such kernings should be set only while reviewing the
% document draft. We suggest to use units of measure depending on the
-% font body (|ex| or |em|) so that if the body is changed the corrections
-% keep working properly.
+% font size (|ex| or |em|) so that if the size is changed the corrections
+% keep working properly. Some settings are already part of the code in
+% order to kern the angle brackets and the \meta{text} depending on the
+% font slant; but, when capital letters appear at the beginning or at
+% the end of the \meta{text} string, some small correction might be
+% necessary; similar small corrections might be different if the capital
+% is inscribed in a triangle, as A, T, Y, V, and the like; in substance
+% such small corrections might result necessary while reviewing the
+% document drafts, because they depend too much from the particular
+% \meta{text} string.
% \begin{macrocode}
\DeclareRobustCommand{\lbrk}{{\metricsfont\posthindspace[\negthinspace}}
\DeclareRobustCommand{\rbrk}{{\metricsfont]}}
@@ -2253,13 +2266,15 @@ Type X <return> to exit.}%
\DeclareRobustCommand\mqi[1]{\posthinspace\lmqi\negthinspace
{#1\/}\rmqi}\let\mezzeq\mqi
\DeclareRobustCommand\mqs[1]{\lmqs{#1\/}\rmqs}
-\DeclareRobustCommand{\Ladd}[1]{{\metricsfont<}{\!\!#1\/}%
- {\metricsfont>}}% litterae certe addendae
+\DeclareRobustCommand{\Ladd}[1]{%
+ \textmtr{<}{\!\!#1\/}\textmtr{>}}% litterae certe addendae
\providecommand\LLadd{}
-\RenewDocumentCommand{\LLadd}{O{0pt}m O{0pt}}{%
- {\metricsfont<\kern-0.3ex<\kern-0.3ex}{\kern-#1\relax#2\kern-#3}%
- {\metricsfont>\kern-0.3ex>}%
-}% litterae certe addendae
+\DeclareRobustCommand\LLaddKern[2]%
+ {\ifdim\fontdimen1\font=\z@\kern#1\else\kern#2\fi}
+\RenewDocumentCommand{\LLadd}{O{0pt} m O{0pt}}{% litterae certe addendae
+ \textmtr{<\kern-0.3ex<}{\LLaddKern{-0.1ex}{-0.3ex}%
+ \kern-#1\relax#2\/\LLaddKern{\z@}{0.1ex}\kern-#3}\textmtr{>\kern-0.3ex>}%
+}%
\DeclareRobustCommand{\ladd}[1]{{\metricsfont\kern.15ex[\negthinspace}%
{#1\/}{\metricsfont]\kern-.15ex}}% litterae addendae
\DeclareRobustCommand{\lladd}[1]{{\metricsfont\kern.15ex[\kern-.3ex[%
diff --git a/macros/latex/contrib/teubner/teubner.pdf b/macros/latex/contrib/teubner/teubner.pdf
index ab9ec25648..5368b72abe 100644
--- a/macros/latex/contrib/teubner/teubner.pdf
+++ b/macros/latex/contrib/teubner/teubner.pdf
Binary files differ
diff --git a/macros/latex/contrib/teubner/teubner.txt b/macros/latex/contrib/teubner/teubner.txt
index 5bbd82c191..788df7def9 100644
--- a/macros/latex/contrib/teubner/teubner.txt
+++ b/macros/latex/contrib/teubner/teubner.txt
@@ -1,5 +1,5 @@
- THE TEUBNER PACKAGE VERSION 5.7 OF OCTOBER 2022
+ THE TEUBNER PACKAGE VERSION 5.7.3 OF OCTOBER 2022
EXTENSION FOR PHILOLOGICAL TYPESETTING
@@ -39,7 +39,7 @@ through the packages txfonts and pxfonts, are already built in; the
compatibility with the Latin Modern fonts was already available with
version 2.x of this package.
-With the upgrade of the Greek support to babel through file greek.ldf
+With the upgrade of the Greek support for babel through file greek.ldf
version 1.10, teubner package versions previous to 5.0 became unable to
transform Arabic numerals into the classical Milesian and Attic number
representations. From version 5.0 the teubner package has been patched
@@ -74,22 +74,22 @@ specified the TX fonts by calling the txfonts package.
In order to use this extension package with LaTeX you have to install it.
May be the very installation of your (recent) TeX system distribution
already provided for this task; may be your TeX system is configured to
-load missing packages on the fly. In any case you can check and possibly
-run your Package Manager: with MiKTeX follow the path:
- Programs|MiKTeX Settings|Packages;
-with TeXlive and MacTeX (if their installation configuration was not
+load missing packages on the fly. In any case with MiKTeX you can check
+and possibly run your Package Manager: X follow the path:
+ Programs|MiKTeX Settings|Packages.
+With TeXlive and MacTeX (if their installation configuration was not
the default complete one) run tlmgr.
If you feel more comfortable to do everything by yourself and/or want to
make a personal installation, run teubner.dtx through pdflatex; the
generated files are teubner.sty and the aforementioned teubnertx.sty
file; they must be moved where TeX-the-program can find them. This
-depends very much on your particular implementation of the TeX system,
-but if your system copes with the TDS (standard TeX Directory Structure)
-and has a multiplicity of different TeX directory trees, you probably
-have a \localtexmf rooted TDS, or a /texmf one in your Home directory
+depends very much on your particular installation of the TeX system,
+but if your system copes with the TDS (standard TeX Directory Structure)
+and has a multiplicity of different TeX directory trees, you probably
+have a \localtexmf rooted TDS, or a /texmf one in your Home directory
containing a /tex directory tree which on turn contains a latex directory.
-Under the latter one create a new directory named, say, teubner, and
+Under the latter one create a new directory named, say, teubner, and
move to this folder the teubner.sty, and teubnertx.sty files.
I suggest to create a directory /teubner in the /doc directory of the
@@ -100,8 +100,7 @@ For what concerns fonts, they should already be installed with a recent
TeX system distribution; this means that there are already all the
files TeX-the-program needs in order to do its work; there is one
point, though, that requires full attention; the default *basic* TeX
-system installation loads only the PostScript fonts in size 10pt; all
-other sizes are obtained by reducing or enlarging that single size.
+system installation loads only the Type 1 fonts in size 10pt; all other sizes are obtained by reducing or enlarging that single size.
A *complete* TeX system installation does not exhibit this limitation.
There are also non standard scalable Type 1 fonts, such for example, the
Fourier ones, that come only in one size, the 10pt one; for these