Missing group for letter opening
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
moderncv |
New
|
Undecided
|
Unassigned |
Bug Description
Using the style `casual` the following definition occurs:
````
\renewcommand*
% recompute lengths (in case we are switching from letter to resume, or vice versa)
\recomputelet
% ensure footer with personal information
\makeletterfo
% recipient block
\begin{
\raggedright%
\addressfont%
{\bfseries\
\@recipient
\end{minipage}
% date
\hfill% US style
% \\[1em]% UK style
\@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
% opening
\raggedright%
\@opening\
% ensure no extra spacing after \makelettertitle due to a possible blank line
% \ignorespacesaf
\hspace{
````
However I think the command `raggedright` should be executed inside a single group. So suggest:
````
\renewcommand*
% recompute lengths (in case we are switching from letter to resume, or vice versa)
\recomputelet
% ensure footer with personal information
\makeletterfo
% recipient block
\begin{
\raggedright%
\addressfont%
{\bfseries\
\@recipient
\end{minipage}
% date
\hfill% US style
% \\[1em]% UK style
\@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
% opening
\begingroup%<-- NEW
\raggedright%
\@opening%
\engroup%<-- NEW
\\[1.5em]%
% ensure no extra spacing after \makelettertitle due to a possible blank line
% \ignorespacesaf
\hspace{
````
Best regards
Marco