diff options
Diffstat (limited to 'macros/latex/contrib/substitutefont/greek-times-artemisia.tex')
-rw-r--r-- | macros/latex/contrib/substitutefont/greek-times-artemisia.tex | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/macros/latex/contrib/substitutefont/greek-times-artemisia.tex b/macros/latex/contrib/substitutefont/greek-times-artemisia.tex new file mode 100644 index 0000000000..b6740a37f6 --- /dev/null +++ b/macros/latex/contrib/substitutefont/greek-times-artemisia.tex @@ -0,0 +1,71 @@ +% Example and test for the substitutefont package: +\documentclass{article} +\usepackage{parskip} +\usepackage[LGR,T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref} +\usepackage{bookmark} +\pagestyle{empty} + +\usepackage{substitutefont} + +% Serif +\usepackage[scaled=0.97]{newtxtext} +\substitutefont{LGR}{\rmdefault}{artemisia} + +% Sans +\substitutefont{LGR}{\sfdefault}{neohellenic} + +% Monospaced +\substitutefont{LGR}{\ttdefault}{cmtt} % CB fonts + + +% Teststring +\newcommand{\alphabet}{% + abcdefghjiklmnoprqrstuvwxyzäöüß + {\fontencoding{LGR}\selectfont abgdezhjiklmnxoprsctufqyw} \\ + ABCDEFGHJIKLMNOPRQRSTUVWXYZÄÖÜ + {\fontencoding{LGR}\selectfont ABGDEZHJIKLMNXOPRSTUFQYW}% +} + +\begin{document} + +\section*{Times/Helvetica/TXTT and Greek replacements} + +Use Times, Helvetica, and TXTT from the +\href{http://www.ctan.org/pkg/newtx}{newtx} package and +\href{http://www.ctan.org/pkg/gfsartemisia}{GFS Artemisia}, +\href{http://www.ctan.org/pkg/gfsneohellenic}{GFS Neohellenic}, +and \href{http://www.ctan.org/pkg/cbgreek-complete}{CB-Fonts}, +for Greek text.\footnote{% +See the \href{http://www.ctan.org/pkg/txfontsb}{txfontsb} +package for an alternative.} + +\begin{description} + \item [Normal:] \alphabet + + \item [it:] \textit{\alphabet} + + \item [sl:] \textsl{\alphabet} + + \item [bf:] \textbf{\alphabet} + + \item [bf it:] \textbf{\textit\alphabet} + + \item [sc:] \textsc{\alphabet} + + % \item [bf sc:] \textsc{\textbf\alphabet} missing in Bodoni + + \item [sf:] \textsf{\alphabet} + + \item [sf bf:] \textsf{\textbf\alphabet} + + \item [sf sl:] \textsf{\textsl\alphabet} + + \item [sf sc:] \textsf{\textsc\alphabet} + + \item [tt:] \texttt{\alphabet} + +\end{description} + +\end{document} |