diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/babel-greek/test-greek.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/babel-greek/test-greek.tex | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex b/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex index 5498dfc96bd..4e5618cf87b 100644 --- a/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex +++ b/Master/texmf-dist/doc/generic/babel-greek/test-greek.tex @@ -101,7 +101,7 @@ argument using this encoding. Switching to a font encoding supporting the Greek script is possible without switching the Babel language using the declarations \verb|\greekscript| (no switch if the current encoding supports Greek script (e.g. the Unicode font -encodings EU1, EU2)) or \verb|\greektext| (always switch to LGR) and the +encoding TU)) or \verb|\greektext| (always switch to LGR) and the corresponding macros \verb|\ensuregreek| or \verb|\textgreek|. These commands do not start a new paragraph: @@ -109,28 +109,30 @@ commands do not start a new paragraph: \latintext Friends (\ensuregreek{F\'ilwn}) of TeX. \texttt{greek.ldf} has some workarounds, so that macros relying on Latin -characters in the ``right'' positions keep working. We test, that these +characters in standard positions keep working. We test, that these definitions do not overwrite the selection of pre-composed characters for -``copyright'' and ``registered trade mark'' by ``textcomp'' (try copy and +``copyright'' and ``registered trade mark'' by \emph{textcomp} (try copy and paste from the PDF output): -Greek (LGR): \ensuregreek{Α \& Ω, \textcopyright{} \textregistered{} -\texttrademark{}, © ® ™ } \\ -Latin: A \& O. +Latin: A \& O, © ® ™ \\ +Greek (LGR): \ensuregreek{Α \textampersand{} Ω, +\textcopyright{} \textregistered{} \texttrademark{}, \& © ® ™ }. + +The ampersand should also work in mathematical mode: $ 1 \& 2 $ To prevent Roman numerals being typeset in Greek letters we need to adopt the internal LaTeX commands. Note that this may cause errors when roman numerals are used in a situation where the macros need to be expanded: \makeatletter -Greek: \ensuregreek{ +Latin: \@roman{1}, \@roman{2}, \@roman{3}, \@roman{4}, \ldots, \@roman{1975} \@Roman{1}, \@Roman{2}, \@Roman{3}, \@Roman{4}, \ldots, \@Roman{1975} -} -Latin: +Greek: \ensuregreek{ \@roman{1}, \@roman{2}, \@roman{3}, \@roman{4}, \ldots, \@roman{1975} \@Roman{1}, \@Roman{2}, \@Roman{3}, \@Roman{4}, \ldots, \@Roman{1975} +} \makeatother \section{MakeUppercase, MakeLowercase} |