Skip to content

Using microtype for hanging punctuation with the xelatex engine #10825

Closed Answered by cscheid
lokesh-krishna asked this question in Q&A
Discussion options

You must be logged in to vote

I think this option doesn't do what you want it to, or the microtype package doesn't know how to fix overhang of quotes. This confirms @mcanouil's hunch that it's not a Quarto problem:

$ cat test.tex
\documentclass{article}
\usepackage[protrusion=true]{microtype}

\title{Hello, world}
\author{}
\date{}

\begin{document}
\maketitle

\noindent ``This is a really long piece of text that I'm using to check if
microtype is enabled successfully or not for hanging punctuations, which
is all that I'm interested in presently. Hopefully it does!''


\end{document}
$ pdflatex test.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdflatex)
 restricted \write18 ena…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lokesh-krishna
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
latex LaTeX engines related libraries and technologies
3 participants