10

Consider the following MWE:

\documentclass[a4paper]{scrartcl}

\usepackage{enumitem}
\usepackage{fourier}

\begin{document}
\begin{enumerate}[labelindent=10pt,labelwidth=0pt,labelsep=30.5pt,leftmargin=!,itemsep=2.00pt,topsep=2.75pt,partopsep=2.00pt,parsep=2.00pt,label=\Alph*.,ref=\Alph{enumi}]
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
\end{enumerate}
\end{document}

Clearly, the letters are not correctly aligned. See the pic below (particularly the letter F).

BAD ALIGNMENT

If instead one runs the exact same MWE but commenting \usepackage{fourier}, one obtains correctly aligned letters. See the pic below.

GOOD ALIGNMENT

Why is this happening? Can this problem be sorted in any way?

Thank you all very much in advanced for your time.

10

I believe the issue must arise from the kerning between, for example, F and the subsequent period . Therefore, I prevent the kerning by typesetting the label as label={\Alph*}., with braces, so that kerning between the letter and the dot does not apply.

\documentclass[a4paper]{scrartcl}

\usepackage{enumitem}
\usepackage{fourier}

\begin{document}
\begin{enumerate}[labelindent=10pt,labelwidth=0pt,labelsep=30.5pt,leftmargin=!,itemsep=2.00pt,topsep=2.75pt,
  partopsep=2.00pt,parsep=2.00pt,label={\Alph*}.,ref=\Alph{enumi}]
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
\end{enumerate}
\end{document}

enter image description here

If you are still not happy, you can center the letter in a fixed-width \makebox, as in label={\makebox[1.6ex]{\Alph*}.}

\documentclass[a4paper]{scrartcl}

\usepackage{enumitem}
\usepackage{fourier}

\begin{document}
\begin{enumerate}[labelindent=10pt,labelwidth=0pt,labelsep=30.5pt,leftmargin=!,itemsep=2.00pt,topsep=2.75pt,
  partopsep=2.00pt,parsep=2.00pt,label={\makebox[1.6ex]{\Alph*}.},ref=\Alph{enumi}]
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
    \item Do whatever.
\end{enumerate}
\end{document}

enter image description here

  • 2
    I adopted your second approach: it's the one that feels visually best (at least to me). Thank you! – Héctor Oct 4 '18 at 11:46
5

In order to break an automatic kerning, I suggest \/, which inserts an explicit kern, so disallowing the automatic one.

\begin{enumerate}[
  labelindent=10pt,
  labelwidth=0pt,
  labelsep=30.5pt,
  leftmargin=!,
  itemsep=2.00pt,
  topsep=2.75pt,
  partopsep=2.00pt,
  parsep=2.00pt,
  label=\Alph*\/.,
  ref=\Alph{enumi}
]

I believe you should define your own environment, instead of adding all those options in the document body.

enter image description here

You may also want to do

\usepackage{fourier}
\usepackage{erewhon}

which chooses a newer version of Utopia for the text font, with better support for font encodings.

  • 2
    Unless you really like fourier for math (personally, I think it's a train wreck!) you might also try \usepackage[utopia]{newtxmath} (utopia was Adobe's font name for what evolved into erewhon). – alephzero Oct 5 '18 at 0:10
  • @alephzero I never got notified of this comment. Why is fourier such a disaster, if I may ask? I'll give a try to your suggestion to see what happens. Thanks! – Héctor Oct 8 '18 at 20:55
  • 1
    @Héctor I'm not sure why alephzero put here his/her comment. When you want to address a comment to somebody who participated to the discussion, start the comment with @, press TAB and choose the appropriate completion. I wrote a book with Fourier. – egreg Oct 8 '18 at 20:59
  • @egreg I never thought much about it... I certainly like it since I first saw it. So unless it turns out there is a solid reason to give it up, I think I will stick to it. Now I'm curious. – Héctor Oct 8 '18 at 21:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.