| 1 |
% !TeX TXS-program:compile = txs:///arara |
| 2 |
% arara: lualatex: {shell: no, synctex: yes, interaction: batchmode} |
| 3 |
% arara: lualatex: {shell: no, synctex: yes, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)') |
| 4 |
|
| 5 |
\documentclass[a4paper]{scrartcl} |
| 6 |
\usepackage{mathtools, array, varioref} |
| 7 |
\usepackage[british]{babel} |
| 8 |
\usepackage{libertinus-otf} |
| 9 |
\usepackage[Scale=MatchLowercase]{monaspace-otf} |
| 10 |
\usepackage{framed} |
| 11 |
\usepackage{listings} |
| 12 |
\usepackage{xcolor} |
| 13 |
\usepackage{realscripts} |
| 14 |
\usepackage{graphicx} |
| 15 |
\usepackage{microtype} |
| 16 |
|
| 17 |
\newcommand*{\pkg}[1]{\texttt{#1}} |
| 18 |
\newcommand*{\file}[1]{\texttt{#1}} |
| 19 |
\newcommand*{\ttbold}[1]{\texttt{\textbf{#1}}} |
| 20 |
\newcommand*{\opt}[1]{\texttt{#1}} |
| 21 |
\newcommand*{\cmd}[1]{\texttt{\textbackslash #1}}\newcommand*{\showtchar}[1]{\cmd{#1}~\csname #1\endcsname} |
| 22 |
\newcommand*{\showmchar}[1]{\cmd{#1}~$(\csname #1\endcsname)$} |
| 23 |
\newcommand*{\showmchardollar}[1]{\texttt{\$\cmd{#1}\$}~$(\csname #1\endcsname)$} |
| 24 |
|
| 25 |
\newcommand{\abc}{abcdefghijklmnopqrstuvwxyz} |
| 26 |
\newcommand{\ABC}{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| 27 |
\newcommand{\samplenumbers}{0123456789} |
| 28 |
|
| 29 |
\newcommand\samplettxt{oO08 iIlL1 g9qCGQ <=>} |
| 30 |
\newcommand\samplett[1][]{\cmd{#1} & \fbox{\csname#1\endcsname\samplettxt} \\} |
| 31 |
|
| 32 |
\setlength{\parindent}{0pt} |
| 33 |
\setlength{\parskip}{6pt plus 2pt minus 2pt} |
| 34 |
|
| 35 |
\usepackage{hyperref} |
| 36 |
\hypersetup{pdftitle={Monaspace User’s Guide for LaTeX}, |
| 37 |
pdfauthor={Cédric PIERQUET}, |
| 38 |
bookmarksopen, |
| 39 |
colorlinks |
| 40 |
} |
| 41 |
\newcommand*{\hlabel}[1]{\phantomsection\label{#1}} |
| 42 |
|
| 43 |
\title{Monaspace family fonts (\textit{experimental}) \\User’s Guide for LaTeX (v0.1)} |
| 44 |
\author{Cédric Pierquet \\ \texttt{[email protected]}} |
| 45 |
|
| 46 |
\date{\today} |
| 47 |
\newcommand*{\version}{0.1} |
| 48 |
%\newif\ifCTAN \CTANtrue %%% décommenter pour CTAN |
| 49 |
|
| 50 |
\begin{document} |
| 51 |
|
| 52 |
\maketitle |
| 53 |
|
| 54 |
\section{What is Monaspace ?} |
| 55 |
|
| 56 |
\subsection{Presentation (actual version is v1.300)} |
| 57 |
|
| 58 |
\textbf{One superfamily / Five fonts / Texture healing} |
| 59 |
|
| 60 |
Since the earliest days of the teletype machine, code has been set in monospaced type — letters, on a grid. Monaspace is a new type system that advances the state of the art for the display of code on screen. |
| 61 |
|
| 62 |
Texture healing preserves the monospace grid, and works in most editors without needing new software or editor plugins. |
| 63 |
|
| 64 |
\medskip |
| 65 |
|
| 66 |
For further information, \url{https://monaspace.githubnext.com} is the best source! |
| 67 |
|
| 68 |
\subsection{License} |
| 69 |
|
| 70 |
Fonts are licensed under the SIL Open Font License, Version 1.1. |
| 71 |
|
| 72 |
They require LuaTeX or XeTeX as engine and the \pkg{fontspec} package\footnote{Please read the documentation \file{fontspec.pdf}.}. |
| 73 |
|
| 74 |
\pagebreak |
| 75 |
|
| 76 |
\section{Usage} |
| 77 |
|
| 78 |
\subsection{Loading mono font} |
| 79 |
|
| 80 |
Several weights are available: |
| 81 |
|
| 82 |
\hfill{\monaspaceargonextralight ExtraLight} / {\monaspaceargonlight Light} / {\monaspaceargon Regular} / {\monaspaceargonmedium Medium} / {\monaspaceargonsemibold SemiBold}\hfill\null |
| 83 |
|
| 84 |
Several styles are available: |
| 85 |
|
| 86 |
\hfill{\monaspaceargon Argon} / {\monaspacekrypton Krypton} / {\monaspaceneon Neon} / {\monaspaceradon Radon} / {\monaspacexenon Xenon}\hfill\null |
| 87 |
|
| 88 |
\smallskip |
| 89 |
|
| 90 |
Files \file{Monaspace<style>-<weight>.fontspec} are provided to ensure that Italic, Bold, BoldItalic are properly loaded. |
| 91 |
|
| 92 |
\smallskip |
| 93 |
|
| 94 |
A basic call for Monaspace mono font could be: |
| 95 |
|
| 96 |
\begin{verbatim} |
| 97 |
\usepackage{monaspace-otf} |
| 98 |
\end{verbatim} |
| 99 |
|
| 100 |
It loads \opt{MonaspaceArgon-Regular} as mono font. |
| 101 |
|
| 102 |
\medskip |
| 103 |
|
| 104 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\ttfamily,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single] |
| 105 |
def Fibonacci(n) : |
| 106 |
# Check if input is 0 then it will print incorrect input |
| 107 |
if n < 0 : |
| 108 |
print("Incorrect input") |
| 109 |
elif n == 0 : |
| 110 |
return 0 |
| 111 |
elif n == 1 or n == 2 : |
| 112 |
return 1 |
| 113 |
else : |
| 114 |
return Fibonacci(n-1) + Fibonacci(n-2) |
| 115 |
\end{lstlisting} |
| 116 |
|
| 117 |
\subsection{Options} |
| 118 |
|
| 119 |
Options can be given within the package: |
| 120 |
|
| 121 |
\begin{itemize} |
| 122 |
\item \opt{Weight=...}, within {\footnotesize \opt{ExtraLight/Light/Regular/Medium/SemiBold}}; |
| 123 |
\item \opt{Style=...}, within {\footnotesize \opt{Argon/Krypton/Neon/Radon/Xenon}}; |
| 124 |
\item the boolean \opt{nott} for not loading monospace as mono font; |
| 125 |
\item \opt{StylisticSet=...} |
| 126 |
\item \opt{RawFeature=...} |
| 127 |
\item \opt{CharacterVariant=...} |
| 128 |
\item \opt{Scale=...} |
| 129 |
\end{itemize} |
| 130 |
|
| 131 |
\subsection{Manual loading} |
| 132 |
|
| 133 |
It's also possible to load mono font with \cmd{setmonofont}, thanks to \opt{fontspec} files for example. |
| 134 |
|
| 135 |
\begin{verbatim} |
| 136 |
%w/o package loaded |
| 137 |
\usepackage{fontspec} |
| 138 |
\usepackage{unicode-math} |
| 139 |
\setmonofont{Monaspace<style>-<weight>}[options] |
| 140 |
\end{verbatim} |
| 141 |
|
| 142 |
\subsection{Fontfamily} |
| 143 |
|
| 144 |
Combination of \textit{style/weight} \opt{fontfamily} are provided: |
| 145 |
|
| 146 |
\begin{tabular}{ll} |
| 147 |
\samplett[monaspaceargonextralight] |
| 148 |
\samplett[monaspaceargonextralightcode] |
| 149 |
\samplett[monaspaceargonlight] |
| 150 |
\samplett[monaspaceargonlightcode] |
| 151 |
\samplett[monaspaceargon] |
| 152 |
\samplett[monaspaceargoncode] |
| 153 |
\samplett[monaspaceargonmedium] |
| 154 |
\samplett[monaspaceargonmediumcode] |
| 155 |
\samplett[monaspaceargonsemibold] |
| 156 |
\samplett[monaspaceargonsemiboldcode] |
| 157 |
\end{tabular} |
| 158 |
|
| 159 |
\begin{tabular}{ll} |
| 160 |
\samplett[monaspacekryptonextralight] |
| 161 |
\samplett[monaspacekryptonextralightcode] |
| 162 |
\samplett[monaspacekryptonlight] |
| 163 |
\samplett[monaspacekryptonlightcode] |
| 164 |
\samplett[monaspacekrypton] |
| 165 |
\samplett[monaspacekryptoncode] |
| 166 |
\samplett[monaspacekryptonmedium] |
| 167 |
\samplett[monaspacekryptonmediumcode] |
| 168 |
\samplett[monaspacekryptonsemibold] |
| 169 |
\samplett[monaspacekryptonsemiboldcode] |
| 170 |
\end{tabular} |
| 171 |
|
| 172 |
\begin{tabular}{ll} |
| 173 |
\samplett[monaspaceneonextralight] |
| 174 |
\samplett[monaspaceneonextralightcode] |
| 175 |
\samplett[monaspaceneonlight] |
| 176 |
\samplett[monaspaceneonlightcode] |
| 177 |
\samplett[monaspaceneon] |
| 178 |
\samplett[monaspaceneoncode] |
| 179 |
\samplett[monaspaceneonmedium] |
| 180 |
\samplett[monaspaceneonmediumcode] |
| 181 |
\samplett[monaspaceneonsemibold] |
| 182 |
\samplett[monaspaceneonsemiboldcode] |
| 183 |
\end{tabular} |
| 184 |
|
| 185 |
\begin{tabular}{ll} |
| 186 |
\samplett[monaspaceradonextralight] |
| 187 |
\samplett[monaspaceradonextralightcode] |
| 188 |
\samplett[monaspaceradonlight] |
| 189 |
\samplett[monaspaceradonlightcode] |
| 190 |
\samplett[monaspaceradon] |
| 191 |
\samplett[monaspaceradoncode] |
| 192 |
\samplett[monaspaceradonmedium] |
| 193 |
\samplett[monaspaceradonmediumcode] |
| 194 |
\samplett[monaspaceradonsemibold] |
| 195 |
\samplett[monaspaceradonsemiboldcode] |
| 196 |
\end{tabular} |
| 197 |
|
| 198 |
\begin{tabular}{ll} |
| 199 |
\samplett[monaspacexenonextralight] |
| 200 |
\samplett[monaspacexenonextralightcode] |
| 201 |
\samplett[monaspacexenonlight] |
| 202 |
\samplett[monaspacexenonlightcode] |
| 203 |
\samplett[monaspacexenon] |
| 204 |
\samplett[monaspacexenoncode] |
| 205 |
\samplett[monaspacexenonmedium] |
| 206 |
\samplett[monaspacexenonmediumcode] |
| 207 |
\samplett[monaspacexenonsemibold] |
| 208 |
\samplett[monaspacexenonsemiboldcode] |
| 209 |
\end{tabular} |
| 210 |
|
| 211 |
\opt{code} version are declared with ligatures and all \textit{ssXX}. |
| 212 |
|
| 213 |
\pagebreak |
| 214 |
|
| 215 |
\section{Openfeatures} |
| 216 |
|
| 217 |
See \url{https://monaspace.githubnext.com/\#code-ligatures}. |
| 218 |
|
| 219 |
\subsection{Ligatures} |
| 220 |
|
| 221 |
The \opt{liga} font feature enables customized spacing of repeating characters, like /// or ||. It is designed to avoid activating inside longer sequences like ////. |
| 222 |
|
| 223 |
There are ten groups of coding ligatures, separated into stylistic sets. You may be able to enable or disable individual sets selectively: |
| 224 |
|
| 225 |
\begin{itemize} |
| 226 |
\item \opt{ss01}: ligatures related to the equals glyph |
| 227 |
\item \opt{ss02}: ligatures for greater/less or equal |
| 228 |
\item \opt{ss03}: ligatures related to arrows |
| 229 |
\item \opt{ss04}: ligatures related to markup |
| 230 |
\item \opt{ss05}: ligatures related to the F\# programming language |
| 231 |
\item \opt{ss06}: ligatures related to repeated uses of \#, +, and \&. |
| 232 |
\item \opt{ss07}: ligatures related to colons |
| 233 |
\item \opt{ss08}: ligatures related to combinations of periods with other glyphs |
| 234 |
\item \opt{ss09}: ligatures related to combinations of the greater/less than and equals signs |
| 235 |
\item \opt{ss10}: other tags |
| 236 |
\end{itemize} |
| 237 |
|
| 238 |
\textit{You can see an interactive display of all the ligatures on the Monaspace website} |
| 239 |
|
| 240 |
\subsection{Character Variants} |
| 241 |
|
| 242 |
Specific characters have variants that you can optionally enable using the \opt{cvNN} opentype feature: |
| 243 |
|
| 244 |
\begin{itemize} |
| 245 |
\item \opt{cv01-cv09}: figure variants |
| 246 |
\item \opt{cv01}: 0 alternates (\opt{1/2/3/4} for plain/slash/reverse slash/cut-out slash) |
| 247 |
\item \opt{cv02}: 1 alternate (no serif) |
| 248 |
\item \opt{cv10-cv29}: letter variants |
| 249 |
\item \opt{cv10}: l i alternates (Neon, Argon, Xenon, Radon) |
| 250 |
\item \opt{cv11}: j f r t alternates (Neon, Argon) |
| 251 |
\item \opt{cv30-cv59}: symbol variants |
| 252 |
\item \opt{cv30}: * vertically aligned closer to the top of the space, similar to how the asterisk was in Monaspace 1.0 |
| 253 |
\item \opt{cv31}: * 6-pointed asterisk |
| 254 |
\item \opt{cv32}: leq/geq angled lower line |
| 255 |
\item \opt{cv60-cv79}: optional ligatures |
| 256 |
\item \opt{cv60}: forces the <= pair to render in a fashion that matches => instead of swapping for leq. |
| 257 |
\item \opt{cv61}: enables the optional closed square ligature for []. |
| 258 |
\item \opt{cv62}: @\_ ligature |
| 259 |
\end{itemize} |
| 260 |
|
| 261 |
\pagebreak |
| 262 |
|
| 263 |
\section{Samples (mono)} |
| 264 |
|
| 265 |
\subsection{Argo(Mono)} |
| 266 |
|
| 267 |
\begin{lstlisting}[language=TeX,basicstyle=\footnotesize\monaspaceargon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{blue},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 268 |
\lstset{ |
| 269 |
language=python, |
| 270 |
basicstyle=\footnotesize\monaspaceargon, |
| 271 |
commentstyle=\itshape\color{gray}, |
| 272 |
keywordstyle=\bfseries\color{magenta}, |
| 273 |
tabsize=4, |
| 274 |
frame=single, |
| 275 |
columns=flexible, |
| 276 |
showstringspaces=false |
| 277 |
} |
| 278 |
\end{lstlisting} |
| 279 |
|
| 280 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceargon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 281 |
|
| 282 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceargon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 283 |
|
| 284 |
\pagebreak |
| 285 |
|
| 286 |
\subsection{Krypton(Mono)} |
| 287 |
|
| 288 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspacekrypton,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 289 |
\lstset{ |
| 290 |
language=python, |
| 291 |
basicstyle=\footnotesize\monaspacekrypton, |
| 292 |
commentstyle=\itshape\color{gray}, |
| 293 |
keywordstyle=\bfseries\color{magenta}, |
| 294 |
tabsize=4, |
| 295 |
frame=single, |
| 296 |
columns=flexible, |
| 297 |
showstringspaces=false |
| 298 |
} |
| 299 |
\end{lstlisting} |
| 300 |
|
| 301 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacekrypton,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 302 |
|
| 303 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacekrypton,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 304 |
|
| 305 |
\pagebreak |
| 306 |
|
| 307 |
\subsection{Neon(Mono)} |
| 308 |
|
| 309 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspaceneon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 310 |
\lstset{ |
| 311 |
language=python, |
| 312 |
basicstyle=\footnotesize\monaspaceneon, |
| 313 |
commentstyle=\itshape\color{gray}, |
| 314 |
keywordstyle=\bfseries\color{magenta}, |
| 315 |
tabsize=4, |
| 316 |
frame=single, |
| 317 |
columns=flexible, |
| 318 |
showstringspaces=false |
| 319 |
} |
| 320 |
\end{lstlisting} |
| 321 |
|
| 322 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceneon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 323 |
|
| 324 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceneon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 325 |
|
| 326 |
\pagebreak |
| 327 |
|
| 328 |
\subsection{Radon(Mono)} |
| 329 |
|
| 330 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspaceradon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 331 |
\lstset{ |
| 332 |
language=python, |
| 333 |
basicstyle=\footnotesize\monaspaceradon, |
| 334 |
commentstyle=\itshape\color{gray}, |
| 335 |
keywordstyle=\bfseries\color{magenta}, |
| 336 |
tabsize=4, |
| 337 |
frame=single, |
| 338 |
columns=flexible, |
| 339 |
showstringspaces=false |
| 340 |
} |
| 341 |
\end{lstlisting} |
| 342 |
|
| 343 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceradon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 344 |
|
| 345 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceradon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 346 |
|
| 347 |
\pagebreak |
| 348 |
|
| 349 |
\subsection{Xenon(Mono)} |
| 350 |
|
| 351 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspacexenon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 352 |
\lstset{ |
| 353 |
language=python, |
| 354 |
basicstyle=\footnotesize\monaspacexenon, |
| 355 |
commentstyle=\itshape\color{gray}, |
| 356 |
keywordstyle=\bfseries\color{magenta}, |
| 357 |
tabsize=4, |
| 358 |
frame=single, |
| 359 |
columns=flexible, |
| 360 |
showstringspaces=false |
| 361 |
} |
| 362 |
\end{lstlisting} |
| 363 |
|
| 364 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacexenon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 365 |
|
| 366 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacexenon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 367 |
|
| 368 |
\pagebreak |
| 369 |
|
| 370 |
\section{Samples (code)} |
| 371 |
|
| 372 |
\makeatletter |
| 373 |
\renewcommand*\verbatim@nolig@list{} |
| 374 |
\makeatother |
| 375 |
|
| 376 |
\subsection{Argo(Code)} |
| 377 |
|
| 378 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspaceargoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 379 |
\lstset{ |
| 380 |
language=python, |
| 381 |
basicstyle=\footnotesize\monaspaceargoncode, |
| 382 |
commentstyle=\itshape\color{gray}, |
| 383 |
keywordstyle=\bfseries\color{magenta}, |
| 384 |
tabsize=4, |
| 385 |
frame=single, |
| 386 |
columns=flexible, |
| 387 |
showstringspaces=false |
| 388 |
} |
| 389 |
\end{lstlisting} |
| 390 |
|
| 391 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceargoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 392 |
|
| 393 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceargoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 394 |
|
| 395 |
\pagebreak |
| 396 |
|
| 397 |
\subsection{Krypton(Code)} |
| 398 |
|
| 399 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspacekryptoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 400 |
\lstset{ |
| 401 |
language=python, |
| 402 |
basicstyle=\footnotesize\monaspacekryptoncode, |
| 403 |
commentstyle=\itshape\color{gray}, |
| 404 |
keywordstyle=\bfseries\color{magenta}, |
| 405 |
tabsize=4, |
| 406 |
frame=single, |
| 407 |
columns=flexible, |
| 408 |
showstringspaces=false |
| 409 |
} |
| 410 |
\end{lstlisting} |
| 411 |
|
| 412 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacekryptoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 413 |
|
| 414 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacekryptoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 415 |
|
| 416 |
\pagebreak |
| 417 |
|
| 418 |
\subsection{Neon(Code)} |
| 419 |
|
| 420 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspaceneoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 421 |
\lstset{ |
| 422 |
language=python, |
| 423 |
basicstyle=\footnotesize\monaspaceneoncode, |
| 424 |
commentstyle=\itshape\color{gray}, |
| 425 |
keywordstyle=\bfseries\color{magenta}, |
| 426 |
tabsize=4, |
| 427 |
frame=single, |
| 428 |
columns=flexible, |
| 429 |
showstringspaces=false |
| 430 |
} |
| 431 |
\end{lstlisting} |
| 432 |
|
| 433 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceneoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 434 |
|
| 435 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceneoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 436 |
|
| 437 |
\pagebreak |
| 438 |
|
| 439 |
\subsection{Radon(Code)} |
| 440 |
|
| 441 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspaceradoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 442 |
\lstset{ |
| 443 |
language=python, |
| 444 |
basicstyle=\footnotesize\monaspaceradoncode, |
| 445 |
commentstyle=\itshape\color{gray}, |
| 446 |
keywordstyle=\bfseries\color{magenta}, |
| 447 |
tabsize=4, |
| 448 |
frame=single, |
| 449 |
columns=flexible, |
| 450 |
showstringspaces=false |
| 451 |
} |
| 452 |
\end{lstlisting} |
| 453 |
|
| 454 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceradoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 455 |
|
| 456 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceradoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 457 |
|
| 458 |
\pagebreak |
| 459 |
|
| 460 |
\subsection{Xenon(Code)} |
| 461 |
|
| 462 |
\begin{lstlisting}[language=python,basicstyle=\footnotesize\monaspacexenoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false] |
| 463 |
\lstset{ |
| 464 |
language=python, |
| 465 |
basicstyle=\footnotesize\monaspacexenoncode, |
| 466 |
commentstyle=\itshape\color{gray}, |
| 467 |
keywordstyle=\bfseries\color{magenta}, |
| 468 |
tabsize=4, |
| 469 |
frame=single, |
| 470 |
columns=flexible, |
| 471 |
showstringspaces=false |
| 472 |
} |
| 473 |
\end{lstlisting} |
| 474 |
|
| 475 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacexenoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacejava.js} |
| 476 |
|
| 477 |
\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacexenoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single,columns=flexible,showstringspaces=false]{samplemonaspacepython.py} |
| 478 |
|
| 479 |
%\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceargon,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single]{samplemonaspacepython.py} |
| 480 |
% |
| 481 |
%\makeatletter |
| 482 |
%\renewcommand*\verbatim@nolig@list{} |
| 483 |
%\makeatother |
| 484 |
% |
| 485 |
%\lstinputlisting[language=python,basicstyle=\footnotesize\monaspaceargoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single]{samplemonaspacepython.py} |
| 486 |
% |
| 487 |
%\subsection{Krpyton (mono and code)} |
| 488 |
% |
| 489 |
%\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacekrypton,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single]{samplemonaspacepython.py} |
| 490 |
% |
| 491 |
%\lstinputlisting[language=python,basicstyle=\footnotesize\monaspacekryptoncode,commentstyle=\itshape\color{gray},keywordstyle=\bfseries\color{magenta},tabsize=4,frame=single]{samplemonaspacepython.py} |
| 492 |
|
| 493 |
\end{document} |