Created
March 12, 2018 05:35
-
-
Save nicola-gigante/f6abd7cc63935ce560818330a4bb8cb2 to your computer and use it in GitHub Desktop.
Life-saving LaTeX trick for typography paranoids like me...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{microtype} | |
\newcommand\fitpar{\looseness=-1} | |
\begin{document} | |
This is a long paragraph on multiple lines, really a lot of useless lines, with | |
lots of useless characters and lots of useless punctuation, which could fit | |
better into four lines. This trick works at its best on long paragraphs because | |
there's more room to play with spaces and glues so we can avoid having this ugly | |
extra word. | |
\bigskip | |
This is a long paragraph on multiple lines, really a lot of useless lines, with | |
lots of useless characters and lots of useless punctuation, which could fit | |
better into four lines. This trick works at its best on long paragraphs because | |
there's more room to play with spaces and glues so we can avoid having this ugly | |
extra word.\fitpar | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment