diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-24 03:02:47 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-24 03:02:47 +0000 |
commit | e9af7499b89170ca5c737240b0cdb9563dcf6c5a (patch) | |
tree | 28a1345f3b2d6516864defbaa2e5bf65b15b77da /macros/latex/contrib/babel-contrib/greek/test-greek.tex | |
parent | 404e90e73ebdb6ecca01ae0b18e684a5f8fe83b3 (diff) |
CTAN sync 202003240302
Diffstat (limited to 'macros/latex/contrib/babel-contrib/greek/test-greek.tex')
-rw-r--r-- | macros/latex/contrib/babel-contrib/greek/test-greek.tex | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/macros/latex/contrib/babel-contrib/greek/test-greek.tex b/macros/latex/contrib/babel-contrib/greek/test-greek.tex index 5498dfc96b..4e5618cf87 100644 --- a/macros/latex/contrib/babel-contrib/greek/test-greek.tex +++ b/macros/latex/contrib/babel-contrib/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} |