<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 12px; ">I am not able to make protrusion work with the Euler font (I tried <br>XeTeX and pdfTeX). For example, for testing a single letter, I am <br>
using the following: <br><p>\documentclass{article} <br>\usepackage{euler} <br>\usepackage{microtype} <br>\usepackage{ifthen} <br></p><p>\SetProtrusion <br> [ name = euler ] <br> { encoding = U, <br> family = eur } <br>
{ <br> X = {, 1000} <br> } <br></p><p>\newcommand\testprotrusion[2][]{% <br> \ifthenelse{\equal{#1}{r}}{}{#2}% <br> lorem ipsum dolor sit amet, <br> \ifthenelse{\equal{#1}{r}}{\crulefill}{\leftarrowfill} #2 <br>
\ifthenelse{\equal{#1}{l}}{\crulefill}{\rightarrowfill} <br> you know the rest% <br> \ifthenelse{\equal{#1}{l}}{}{#2}% <br> \linebreak <br> {\fontencoding{\encodingdefault}% <br> \fontseries{\seriesdefault}% <br>
\fontshape{\shapedefault}% <br> \selectfont <br> Here is the beginning of a line, \dotfill and here is its end} <br>\linebreak <br></p><p></p><div id="qhide_197157" class="qt" style="display: block; ">} <br><br></div>
\begin{document} <br>\testprotrusion{$X$} <br>\end{document} </span>