On 03/30/2018 12:11 PM, Rich Shepard wrote:
>   Just noticed that the Modern CV class appends a period (full stop)
> at the
> end of each entry's What? box. This is fine when that's the
> appropriate end
> of the title, but not when the title ends in a question mark or closing
> quotation mark. After all do we want to present a sentence that ends like
> this?.
>
>   I'd appreciate suggestions on how to fix this. In
> /usr/share/texmf-dist/tex
> /latex/moderncv/ I find many .sty files and a few .cls files and
> haven't a
> clue which one, if any, controls insertion of full-stops. Nothing is
> /immediately obvious to me as relevant.

The definition of \cventry is in the moderncvbody?.sty files. There are
five of
these, which I guess are used with various options. Anyway, they all contain
code like:

\renewcommand*{\cventry}[7][.25em]{%
  \cvitem[#1]{#2}{%
    {\bfseries#3}%
    \ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
    \ifthenelse{\equal{#5}{}}{}{, #5}%
    \ifthenelse{\equal{#6}{}}{}{, #6}%
    .\strut%
    \ifx&#7&%
   
\else{\newline{}\begin{minipage}[t]{\linewidth}\small#7\end{minipage}}\fi}}

The What? argument is #3 here, so this one sets it as boldface.
Affiliation, City, and Country are #4, #5, and #6, and what the code
does is insert a comma between arguments and a period at the end of the
whole thing. I'm guessing your other arguments are empty, so you get the
period after What?

It's just a guess, but since you refer to a "title", and aren't using
the other arguments, you might shouldn't be using Entry for this but
instead Item.

Riki

Reply via email to