Skip to content

Instantly share code, notes, and snippets.

@aussetg
Created May 18, 2021 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aussetg/a17814410a8f7e6e76c7ad4857a49ab8 to your computer and use it in GitHub Desktop.
Save aussetg/a17814410a8f7e6e76c7ad4857a49ab8 to your computer and use it in GitHub Desktop.
\documentclass{minimal} % Default font size and paper size
\usepackage{fontspec} % For loading fonts
\setmainfont[RawFeature={-calt}, Renderer=Harfbuzz]{PragmataPro Liga}[
UprightFont={*Regular},
ItalicFont={*Italic},
BoldFont={*Bold},
BoldItalicFont={*Bold Italic},
]
\begin{document}
calt=Off => time-to-event \\
\addfontfeatures{RawFeature={+calt}}
calt=On => time-to-event
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment