Sharedfonts-luatex / fonts-in-luatex.texOpen in CoCalc
Author: Harald Schilly
Description: sample of luatex fonts on cocalc
1
\documentclass[14pt]{amsart}
2
\usepackage{fontspec}
3
\usepackage[T1]{fontenc}
4
\usepackage[a4paper, margin=1.5cm]{geometry}
5
6
% Use LuaTeX !
7
8
\newcommand{\ipsum}{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Fames ac turpis egestas maecenas pharetra convallis. Eleifend donec pretium vulputate sapien nec. Id ornare arcu odio ut sem. Sed adipiscing diam donec adipiscing tristique risus nec. Ut porttitor leo a diam sollicitudin tempor id.}
9
10
\newfontfamily\dyslexic{OpenDyslexicAlta}
11
\newfontfamily\libertine{Linux Libertine O}
12
\newfontfamily\ocra{OCRA}
13
\newfontfamily\ocrb{OCRB}
14
\newfontfamily\mononoki{mononoki}
15
\newfontfamily\comic{Comic Neue}
16
\newfontfamily\alphabeta{alfa-beta}
17
\newfontfamily\quercus{Quercus}
18
\newfontfamily\roboto{Roboto}
19
\newfontfamily\tuffy{Tuffy}
20
\newfontfamily\vollkorn{Vollkorn}
21
22
\title{Selected fonts in LuaTeX on CoCalc}
23
\author{Harald Schilly, 2019-01-12}
24
25
\begin{document}
26
27
\maketitle
28
29
\textbf{You have to switch the \LaTeX{} Engine to \textbf{LuaTeX} to compile this document (that's in the "Build Control" panel)!}
30
31
32
\section{Standard Fonts}
33
34
\begin{enumerate}
35
\fontfamily{pag}\selectfont \item Avant Garde
36
\fontfamily{fvs}\selectfont \item Bitstream Vera Sans
37
\fontfamily{pbk}\selectfont \item Bookman
38
\fontfamily{bch}\selectfont \item Charter
39
\fontfamily{ccr}\selectfont \item Computer Concrete
40
\fontfamily{cmr}\selectfont \item Computer Modern
41
\fontfamily{pcr}\selectfont \item Courier
42
\fontfamily{phv}\selectfont \item Helvetica
43
\fontfamily{fi4}\selectfont \item Inconsolata
44
\fontfamily{lmr}\selectfont \item Latin Modern
45
\fontfamily{lmss}\selectfont\item Latin Modern Sans
46
\fontfamily{lmtt}\selectfont\item Latin Modern Typewriter
47
\fontfamily{pnc}\selectfont \item New Century Schoolbook
48
\fontfamily{ppl}\selectfont \item Palatino
49
\fontfamily{ptm}\selectfont \item Times
50
\fontfamily{uncl}\selectfont\item Uncial
51
\fontfamily{put}\selectfont \item Utopia
52
\fontfamily{pzc}\selectfont \item Zapf Chancery
53
\end{enumerate}
54
55
\section{Selected special TrueType fonts}
56
57
\subsection{OpenDyslexicAlta}
58
{\dyslexic \ipsum }
59
60
\subsection{LineX Alpha Beta}
61
{\alphabeta \ipsum}
62
63
\subsection{LineX Quercus}
64
{\quercus \ipsum}
65
66
\subsection{Linux Libertine O}
67
{\libertine \ipsum }
68
69
\subsection{Mononoki}
70
{\mononoki \ipsum}
71
72
\subsection{Comic Neue}
73
{\comic \ipsum}
74
75
\subsection{Roboto}
76
{\roboto \ipsum}
77
78
\subsection{Tuffy}
79
{\tuffy \ipsum}
80
81
\subsection{Vollkorn}
82
{\vollkorn \ipsum}
83
84
\subsection{OCR-A}
85
{\ocra \ipsum}
86
87
\subsection{OCR-B}
88
{\ocrb \ipsum}
89
90
91
\end{document}