Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
\documentclass[10pt]{extarticle}
% \usepackage[utf8]{inputenc}
\usepackage[textwidth=12cm,centering,bottom=1.5cm,top=1.5cm,inner=1.5cm,outer=1.5cm,hoffset=0pt]{geometry}
\usepackage[x11names]{xcolor}
% \usepackage{background}
\usepackage[object=vectorian]{pgfornament} %% http://altermundus.com/pages/tkz/ornament/index.html
\usepackage{fontspec}
\usepackage{layout}
\usepackage{tgchorus}
\usepackage[T1]{fontenc}
% Show colision boxes (uncomment).
% \usepackage{showframe}
\newcommand*\wb[3]{
{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}#3}}
% Fancy HR - https://tex.stackexchange.com/questions/32711/totally-sweet-horizontal-rules-in-latex
%% A macro with two arguments to change ornaments and colors easily
%% Syntax -- \sectionlinetwo{<color>}{<ornament>}
\newcommand{\sectionlinetwo}[3]{
\nointerlineskip \vspace{.1\baselineskip}\hspace{\fill}
{\color{#1}
\resizebox{#3\linewidth}{1ex}
{{
{\begin{tikzpicture}
\node (C) at (0,0) {};
\node (D) at (9,0) {};
\path (C) to [ornament=#2] (D);
\end{tikzpicture}}}}}
\hspace{\fill}
\par\nointerlineskip \vspace{.1\baselineskip}
}
\pagestyle{empty}
% Begin.
\begin{document}
{\fontfamily{cmr}\selectfont
a\={a}e\.{e}i\={i}o\={o}u\={u}
s\v{s}g\k{g}k\k{k}l\k{l}z\v{z}c\k{c}n\k{n}
aāeēiīoōuū
sšgģkķlļzžcčnņ
}
\\~\\
\itshape
a\={a}e\.{e}i\={i}o\={o}u\={u}
s\v{s}g\k{g}k\k{k}l\k{l}z\v{z}c\k{c}n\k{n}
aāeēiīoōuū
sšgģkķlļzžcčnņ
\\~\\
\setmainfont{Winter Calligraphy}
a\={a}e\.{e}i\={i}o\={o}u\={u}
s\v{s}g\k{g}k\k{k}l\k{l}z\v{z}c\k{c}n\k{n}
aāeēiīoōuū
sšgģkķlļzžcčnņ
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.