diff options
Diffstat (limited to 'macros/latex/contrib/utf8add/utf8add.tex')
-rw-r--r-- | macros/latex/contrib/utf8add/utf8add.tex | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/macros/latex/contrib/utf8add/utf8add.tex b/macros/latex/contrib/utf8add/utf8add.tex index 2521455308..6896d99090 100644 --- a/macros/latex/contrib/utf8add/utf8add.tex +++ b/macros/latex/contrib/utf8add/utf8add.tex @@ -1,4 +1,4 @@ -% Copyright 2020 Palle Jorgensen, hamselv@pallej.dk +% Copyright 2020-21 Palle Jorgensen, hamselv@pallej.dk % % This file is part of utf8add. % @@ -19,6 +19,7 @@ \usepackage[utf8]{inputenc} % \usepackage[math,nicefrac]{utf8add} % \usepackage{babel} % +\usepackage[sc]{mathpazo} % \usepackage{tgpagella} % \usepackage{listings} % \usepackage[scaled]{luximono} % @@ -47,6 +48,21 @@ The main purpose of this package is to make the text parts of \LaTeX\ document source more readable for non-\LaTeX\ users and to make more use of the possibilities with UTF-8 encoded input. +One major issue with this package is that it does \emph{not} map input +and output correct with respekt to the Unicode standards. However it +makes some \emph{available} UTF-8 input provide some \emph{desired} +outout. + +As the applied support for say the mathemathical greek letters of +Unicode still is scarse this is more of a workaround than a decent, +native support. + +The package is \emph{hack}-ish by nature. Thus the use of this +package is somewhat (quite) incompatible with documents written in +greek using e.g. the LGR input encoding. + +Thus puritans should not use this package. + \section{Loading the package} \label{sec:loading-package} \begin{lstlisting} @@ -84,6 +100,8 @@ use of the possibilities with UTF-8 encoded input. However; don't use this. \item[lowercasegreek] The same story as for the `\texttt{uppercasegreek}' option. Don't use this either. +\item[nogreek] disable the mapping of greek input. This is for + compatibility with greek texts. \end{description} @@ -108,6 +126,7 @@ support. This is the same case as for fractions. mode. View section~\ref{sec:fractions} for details. \end{description} +\clearpage \section{Using the package} \label{sec:using-package} @@ -120,7 +139,8 @@ your UTF-8 characters into your document. The default behaviour of the math support of the fractions is to typeset fractions in the default \LaTeX\ way, that is small fractions, $\tfrac12$, in text mode and larger fractions, $\dfrac12$, in display -mode. +mode. The fractions are set with the math font in math mode and text +font in text mode. Starring the fractions forces the fractions to be in text mode style. I find it useful in some cases such as @@ -141,6 +161,9 @@ details. The support for the \texttt{verbatim} environment and other source displaying features is not that good. In fact it probably won't work. +The imcompatibility with support for the greek language makes the use +of this package less desirable for users writing in greek. + \section{Copyright and license} \label{sec:copyright-license} |