Skip to content

Instantly share code, notes, and snippets.

@WaterSibilantFalling
Created September 18, 2017 03:32
Show Gist options
  • Save WaterSibilantFalling/1d4b1c59a4b906139f47bc4cbd407e2a to your computer and use it in GitHub Desktop.
Save WaterSibilantFalling/1d4b1c59a4b906139f47bc4cbd407e2a to your computer and use it in GitHub Desktop.
how to compress text in latex
% use the microtype package
\usepackage[kerning=true, tracking=true]{microtype}
\microtypecontext{spacing=nonfrench}
% make a new command: say, compress{ }
\newcommand{\compress}[1]{\textsc{\textls[-40]{#1}}}
% use the command to compress the kerning in a script
\cvsite{\compress{github.com/AbsurdMagpieScrutinies}} % Personal website
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment