How to break the alignment of the date?
I'm writing a cover letter for a presentation but the line with the following text:
University of Baltimore, Department of mechatronics is broken due to the presence of the line Date. As you can see, they lie on the same line:
That text mechatronics should be on the same line of University of... . I tried already some commands like: nolinebreak
, and the character ~
but it doesn't work.
Here is my minimal working example:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
How can I change my code, so that the text and the date not on the same line lie?
moderncv
add a comment |
I'm writing a cover letter for a presentation but the line with the following text:
University of Baltimore, Department of mechatronics is broken due to the presence of the line Date. As you can see, they lie on the same line:
That text mechatronics should be on the same line of University of... . I tried already some commands like: nolinebreak
, and the character ~
but it doesn't work.
Here is my minimal working example:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
How can I change my code, so that the text and the date not on the same line lie?
moderncv
add a comment |
I'm writing a cover letter for a presentation but the line with the following text:
University of Baltimore, Department of mechatronics is broken due to the presence of the line Date. As you can see, they lie on the same line:
That text mechatronics should be on the same line of University of... . I tried already some commands like: nolinebreak
, and the character ~
but it doesn't work.
Here is my minimal working example:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
How can I change my code, so that the text and the date not on the same line lie?
moderncv
I'm writing a cover letter for a presentation but the line with the following text:
University of Baltimore, Department of mechatronics is broken due to the presence of the line Date. As you can see, they lie on the same line:
That text mechatronics should be on the same line of University of... . I tried already some commands like: nolinebreak
, and the character ~
but it doesn't work.
Here is my minimal working example:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
How can I change my code, so that the text and the date not on the same line lie?
moderncv
moderncv
asked Jan 26 at 12:12


DaveDave
1918
1918
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can fool LaTeX with rlap
:
documentclass[11pt, a4paper, roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of rlap{mechatronics}}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
add a comment |
Well, I think the better solution would be to start the department line new on the left with
recipient{University of Baltimore, \Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
% ^^^^
If you do not want to do this you have to redefine command makeletterhead
. Inside it you find the code for the minipage placing the recipients address with
begin{minipage}[t]{.5textwidth}
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
Change here the width of the minipage to your needs, for example to .7textwidth
:
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
With the following code (please see that I used the current version 2.0.0 of class moderncv
; it could be you are using an older version as indicated in this comment: Version 1.3 (29/10/16)
):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
makeatletter
renewcommand*{makeletterhead}{%
% recompute lengths (in case we are switching from letter to resume, or vice versa)
recomputeletterlengths%
% sender contact info
hfill%
begin{minipage}{.5textwidth}%
% optional detailed information
if@details%
raggedleft%
addressfonttextcolor{color2}{%
{bfseriesupshape@firstname~@lastname}@firstdetailselementfalse%
% optional detailed information
ifthenelse{isundefined{@addressstreet}}{}{makenewlineaddresssymbol@addressstreet%
ifthenelse{equal{@addresscity}{}}{}{makenewline@addresscity}% if addresstreet is defined, addresscity and addresscountry will always be defined but could be empty
ifthenelse{equal{@addresscountry}{}}{}{makenewline@addresscountry}}%
collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
makenewlinecsnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}%
ifthenelse{isundefined{@email}}{}{makenewlineemailsymbolemaillink{@email}}%
ifthenelse{isundefined{@homepage}}{}{makenewlinehomepagesymbolhttplink{@homepage}}%
ifthenelse{isundefined{@extrainfo}}{}{makenewline@extrainfo}}fi%
end{minipage}\[1em]
% recipient block
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
% date
hfill% US style
% \[1em]% UK style
@date\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
% opening
raggedright%
@opening\[1.5em]%
% ensure no extra spacing after makelettertitle due to a possible blank line
% ignorespacesafterend% not working
hspace{0pt}parvspace{-baselineskip}vspace{-parskip}}
makeatother
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
you get the result:
As mentioned by @egreg you can use a shorter code by using package etoolbox
which is already loaded by class moderncv
. But please see that this shorter code can only be used if you are using also version 2.0.0 of class moderncv
. Please check your log file for the version number!
The shorter code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
% to patch the code of moderncv, version 2.0.0
%usepackage{etoolbox} % already loaded in moderncv <===================
patchcmd{makeletterhead}%
{[t]{.5textwidth}}% code to patch
{[t]{0.7textwidth}}% new code <======================================
{}% success
{}% failure
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
results in the result shows above ...
Many thanks @Kurt both your solutions are suitable and work.
– Dave
Jan 26 at 12:45
More easily: at the end of the preamble addpatchcmd{makeletterhead}{[t]{.5textwidth}}{[t]{0.7textwidth}}{}{}
, afterusepackage{etoolbox}
.
– egreg
Jan 26 at 13:47
@egreg Ah, you are right! Thank you for the hint, I will add it to the answer, if it is okay for you.
– Kurt
Jan 26 at 14:15
@Kurt Of course it is OK!
– egreg
Jan 26 at 14:57
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471952%2fhow-to-break-the-alignment-of-the-date%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can fool LaTeX with rlap
:
documentclass[11pt, a4paper, roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of rlap{mechatronics}}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
add a comment |
You can fool LaTeX with rlap
:
documentclass[11pt, a4paper, roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of rlap{mechatronics}}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
add a comment |
You can fool LaTeX with rlap
:
documentclass[11pt, a4paper, roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of rlap{mechatronics}}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
You can fool LaTeX with rlap
:
documentclass[11pt, a4paper, roman]{moderncv}
moderncvstyle{classic}
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of rlap{mechatronics}}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
answered Jan 26 at 12:38
BernardBernard
174k776205
174k776205
add a comment |
add a comment |
Well, I think the better solution would be to start the department line new on the left with
recipient{University of Baltimore, \Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
% ^^^^
If you do not want to do this you have to redefine command makeletterhead
. Inside it you find the code for the minipage placing the recipients address with
begin{minipage}[t]{.5textwidth}
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
Change here the width of the minipage to your needs, for example to .7textwidth
:
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
With the following code (please see that I used the current version 2.0.0 of class moderncv
; it could be you are using an older version as indicated in this comment: Version 1.3 (29/10/16)
):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
makeatletter
renewcommand*{makeletterhead}{%
% recompute lengths (in case we are switching from letter to resume, or vice versa)
recomputeletterlengths%
% sender contact info
hfill%
begin{minipage}{.5textwidth}%
% optional detailed information
if@details%
raggedleft%
addressfonttextcolor{color2}{%
{bfseriesupshape@firstname~@lastname}@firstdetailselementfalse%
% optional detailed information
ifthenelse{isundefined{@addressstreet}}{}{makenewlineaddresssymbol@addressstreet%
ifthenelse{equal{@addresscity}{}}{}{makenewline@addresscity}% if addresstreet is defined, addresscity and addresscountry will always be defined but could be empty
ifthenelse{equal{@addresscountry}{}}{}{makenewline@addresscountry}}%
collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
makenewlinecsnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}%
ifthenelse{isundefined{@email}}{}{makenewlineemailsymbolemaillink{@email}}%
ifthenelse{isundefined{@homepage}}{}{makenewlinehomepagesymbolhttplink{@homepage}}%
ifthenelse{isundefined{@extrainfo}}{}{makenewline@extrainfo}}fi%
end{minipage}\[1em]
% recipient block
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
% date
hfill% US style
% \[1em]% UK style
@date\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
% opening
raggedright%
@opening\[1.5em]%
% ensure no extra spacing after makelettertitle due to a possible blank line
% ignorespacesafterend% not working
hspace{0pt}parvspace{-baselineskip}vspace{-parskip}}
makeatother
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
you get the result:
As mentioned by @egreg you can use a shorter code by using package etoolbox
which is already loaded by class moderncv
. But please see that this shorter code can only be used if you are using also version 2.0.0 of class moderncv
. Please check your log file for the version number!
The shorter code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
% to patch the code of moderncv, version 2.0.0
%usepackage{etoolbox} % already loaded in moderncv <===================
patchcmd{makeletterhead}%
{[t]{.5textwidth}}% code to patch
{[t]{0.7textwidth}}% new code <======================================
{}% success
{}% failure
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
results in the result shows above ...
Many thanks @Kurt both your solutions are suitable and work.
– Dave
Jan 26 at 12:45
More easily: at the end of the preamble addpatchcmd{makeletterhead}{[t]{.5textwidth}}{[t]{0.7textwidth}}{}{}
, afterusepackage{etoolbox}
.
– egreg
Jan 26 at 13:47
@egreg Ah, you are right! Thank you for the hint, I will add it to the answer, if it is okay for you.
– Kurt
Jan 26 at 14:15
@Kurt Of course it is OK!
– egreg
Jan 26 at 14:57
add a comment |
Well, I think the better solution would be to start the department line new on the left with
recipient{University of Baltimore, \Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
% ^^^^
If you do not want to do this you have to redefine command makeletterhead
. Inside it you find the code for the minipage placing the recipients address with
begin{minipage}[t]{.5textwidth}
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
Change here the width of the minipage to your needs, for example to .7textwidth
:
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
With the following code (please see that I used the current version 2.0.0 of class moderncv
; it could be you are using an older version as indicated in this comment: Version 1.3 (29/10/16)
):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
makeatletter
renewcommand*{makeletterhead}{%
% recompute lengths (in case we are switching from letter to resume, or vice versa)
recomputeletterlengths%
% sender contact info
hfill%
begin{minipage}{.5textwidth}%
% optional detailed information
if@details%
raggedleft%
addressfonttextcolor{color2}{%
{bfseriesupshape@firstname~@lastname}@firstdetailselementfalse%
% optional detailed information
ifthenelse{isundefined{@addressstreet}}{}{makenewlineaddresssymbol@addressstreet%
ifthenelse{equal{@addresscity}{}}{}{makenewline@addresscity}% if addresstreet is defined, addresscity and addresscountry will always be defined but could be empty
ifthenelse{equal{@addresscountry}{}}{}{makenewline@addresscountry}}%
collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
makenewlinecsnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}%
ifthenelse{isundefined{@email}}{}{makenewlineemailsymbolemaillink{@email}}%
ifthenelse{isundefined{@homepage}}{}{makenewlinehomepagesymbolhttplink{@homepage}}%
ifthenelse{isundefined{@extrainfo}}{}{makenewline@extrainfo}}fi%
end{minipage}\[1em]
% recipient block
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
% date
hfill% US style
% \[1em]% UK style
@date\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
% opening
raggedright%
@opening\[1.5em]%
% ensure no extra spacing after makelettertitle due to a possible blank line
% ignorespacesafterend% not working
hspace{0pt}parvspace{-baselineskip}vspace{-parskip}}
makeatother
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
you get the result:
As mentioned by @egreg you can use a shorter code by using package etoolbox
which is already loaded by class moderncv
. But please see that this shorter code can only be used if you are using also version 2.0.0 of class moderncv
. Please check your log file for the version number!
The shorter code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
% to patch the code of moderncv, version 2.0.0
%usepackage{etoolbox} % already loaded in moderncv <===================
patchcmd{makeletterhead}%
{[t]{.5textwidth}}% code to patch
{[t]{0.7textwidth}}% new code <======================================
{}% success
{}% failure
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
results in the result shows above ...
Many thanks @Kurt both your solutions are suitable and work.
– Dave
Jan 26 at 12:45
More easily: at the end of the preamble addpatchcmd{makeletterhead}{[t]{.5textwidth}}{[t]{0.7textwidth}}{}{}
, afterusepackage{etoolbox}
.
– egreg
Jan 26 at 13:47
@egreg Ah, you are right! Thank you for the hint, I will add it to the answer, if it is okay for you.
– Kurt
Jan 26 at 14:15
@Kurt Of course it is OK!
– egreg
Jan 26 at 14:57
add a comment |
Well, I think the better solution would be to start the department line new on the left with
recipient{University of Baltimore, \Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
% ^^^^
If you do not want to do this you have to redefine command makeletterhead
. Inside it you find the code for the minipage placing the recipients address with
begin{minipage}[t]{.5textwidth}
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
Change here the width of the minipage to your needs, for example to .7textwidth
:
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
With the following code (please see that I used the current version 2.0.0 of class moderncv
; it could be you are using an older version as indicated in this comment: Version 1.3 (29/10/16)
):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
makeatletter
renewcommand*{makeletterhead}{%
% recompute lengths (in case we are switching from letter to resume, or vice versa)
recomputeletterlengths%
% sender contact info
hfill%
begin{minipage}{.5textwidth}%
% optional detailed information
if@details%
raggedleft%
addressfonttextcolor{color2}{%
{bfseriesupshape@firstname~@lastname}@firstdetailselementfalse%
% optional detailed information
ifthenelse{isundefined{@addressstreet}}{}{makenewlineaddresssymbol@addressstreet%
ifthenelse{equal{@addresscity}{}}{}{makenewline@addresscity}% if addresstreet is defined, addresscity and addresscountry will always be defined but could be empty
ifthenelse{equal{@addresscountry}{}}{}{makenewline@addresscountry}}%
collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
makenewlinecsnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}%
ifthenelse{isundefined{@email}}{}{makenewlineemailsymbolemaillink{@email}}%
ifthenelse{isundefined{@homepage}}{}{makenewlinehomepagesymbolhttplink{@homepage}}%
ifthenelse{isundefined{@extrainfo}}{}{makenewline@extrainfo}}fi%
end{minipage}\[1em]
% recipient block
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
% date
hfill% US style
% \[1em]% UK style
@date\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
% opening
raggedright%
@opening\[1.5em]%
% ensure no extra spacing after makelettertitle due to a possible blank line
% ignorespacesafterend% not working
hspace{0pt}parvspace{-baselineskip}vspace{-parskip}}
makeatother
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
you get the result:
As mentioned by @egreg you can use a shorter code by using package etoolbox
which is already loaded by class moderncv
. But please see that this shorter code can only be used if you are using also version 2.0.0 of class moderncv
. Please check your log file for the version number!
The shorter code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
% to patch the code of moderncv, version 2.0.0
%usepackage{etoolbox} % already loaded in moderncv <===================
patchcmd{makeletterhead}%
{[t]{.5textwidth}}% code to patch
{[t]{0.7textwidth}}% new code <======================================
{}% success
{}% failure
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
results in the result shows above ...
Well, I think the better solution would be to start the department line new on the left with
recipient{University of Baltimore, \Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
% ^^^^
If you do not want to do this you have to redefine command makeletterhead
. Inside it you find the code for the minipage placing the recipients address with
begin{minipage}[t]{.5textwidth}
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
Change here the width of the minipage to your needs, for example to .7textwidth
:
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
With the following code (please see that I used the current version 2.0.0 of class moderncv
; it could be you are using an older version as indicated in this comment: Version 1.3 (29/10/16)
):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
makeatletter
renewcommand*{makeletterhead}{%
% recompute lengths (in case we are switching from letter to resume, or vice versa)
recomputeletterlengths%
% sender contact info
hfill%
begin{minipage}{.5textwidth}%
% optional detailed information
if@details%
raggedleft%
addressfonttextcolor{color2}{%
{bfseriesupshape@firstname~@lastname}@firstdetailselementfalse%
% optional detailed information
ifthenelse{isundefined{@addressstreet}}{}{makenewlineaddresssymbol@addressstreet%
ifthenelse{equal{@addresscity}{}}{}{makenewline@addresscity}% if addresstreet is defined, addresscity and addresscountry will always be defined but could be empty
ifthenelse{equal{@addresscountry}{}}{}{makenewline@addresscountry}}%
collectionloop{phones}{% the key holds the phone type (=symbol command prefix), the item holds the number
makenewlinecsnamecollectionloopkey phonesymbolendcsnamecollectionloopitem}%
ifthenelse{isundefined{@email}}{}{makenewlineemailsymbolemaillink{@email}}%
ifthenelse{isundefined{@homepage}}{}{makenewlinehomepagesymbolhttplink{@homepage}}%
ifthenelse{isundefined{@extrainfo}}{}{makenewline@extrainfo}}fi%
end{minipage}\[1em]
% recipient block
begin{minipage}[t]{.7textwidth} % <==================== .5textwidth
raggedright%
addressfont%
{bfseriesupshape@recipientname}\%
@recipientaddress%
end{minipage}
% date
hfill% US style
% \[1em]% UK style
@date\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
% opening
raggedright%
@opening\[1.5em]%
% ensure no extra spacing after makelettertitle due to a possible blank line
% ignorespacesafterend% not working
hspace{0pt}parvspace{-baselineskip}vspace{-parskip}}
makeatother
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
you get the result:
As mentioned by @egreg you can use a shorter code by using package etoolbox
which is already loaded by class moderncv
. But please see that this shorter code can only be used if you are using also version 2.0.0 of class moderncv
. Please check your log file for the version number!
The shorter code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "ModernCV" CV and Cover Letter
% LaTeX Template
% Version 1.3 (29/10/16)
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
documentclass[11pt,a4paper,roman]{moderncv}
moderncvstyle{classic} % head 1 body 1 foot
moderncvcolor{blue}
usepackage{ngerman}
usepackage[utf8]{inputenc}
usepackage[scale=0.75]{geometry}
setlength{hintscolumnwidth}{3.9cm}
nopagenumbers{}
% to patch the code of moderncv, version 2.0.0
%usepackage{etoolbox} % already loaded in moderncv <===================
patchcmd{makeletterhead}%
{[t]{.5textwidth}}% code to patch
{[t]{0.7textwidth}}% new code <======================================
{}% success
{}% failure
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
firstname{John} % Your first name
familyname{Smith} % Your last name
% All information in this block is optional, comment out any lines you don't need
address{xxxxx}{4444, Paris}
mobile{+123456789}
email{yyy@xxx.com}
%----------------------------------------------------------------------------------------
begin{document}
clearpage
recipient{University of Baltimore, Department of mechatronics}{Prof. Micky Mouse \Somewhere in the world\98763 Baltimore} % Letter recipient
date{Paris, today} % Letter date
opening{} % Opening greeting
closing{Sincerely} % Closing phrase
makelettertitle % Print letter title
textbf{Letter of presentation}
Dear Prof....
makeletterclosing % Print letter signature
newpage
end{document}
results in the result shows above ...
edited Jan 26 at 14:37
answered Jan 26 at 12:39


KurtKurt
39.9k850164
39.9k850164
Many thanks @Kurt both your solutions are suitable and work.
– Dave
Jan 26 at 12:45
More easily: at the end of the preamble addpatchcmd{makeletterhead}{[t]{.5textwidth}}{[t]{0.7textwidth}}{}{}
, afterusepackage{etoolbox}
.
– egreg
Jan 26 at 13:47
@egreg Ah, you are right! Thank you for the hint, I will add it to the answer, if it is okay for you.
– Kurt
Jan 26 at 14:15
@Kurt Of course it is OK!
– egreg
Jan 26 at 14:57
add a comment |
Many thanks @Kurt both your solutions are suitable and work.
– Dave
Jan 26 at 12:45
More easily: at the end of the preamble addpatchcmd{makeletterhead}{[t]{.5textwidth}}{[t]{0.7textwidth}}{}{}
, afterusepackage{etoolbox}
.
– egreg
Jan 26 at 13:47
@egreg Ah, you are right! Thank you for the hint, I will add it to the answer, if it is okay for you.
– Kurt
Jan 26 at 14:15
@Kurt Of course it is OK!
– egreg
Jan 26 at 14:57
Many thanks @Kurt both your solutions are suitable and work.
– Dave
Jan 26 at 12:45
Many thanks @Kurt both your solutions are suitable and work.
– Dave
Jan 26 at 12:45
More easily: at the end of the preamble add
patchcmd{makeletterhead}{[t]{.5textwidth}}{[t]{0.7textwidth}}{}{}
, after usepackage{etoolbox}
.– egreg
Jan 26 at 13:47
More easily: at the end of the preamble add
patchcmd{makeletterhead}{[t]{.5textwidth}}{[t]{0.7textwidth}}{}{}
, after usepackage{etoolbox}
.– egreg
Jan 26 at 13:47
@egreg Ah, you are right! Thank you for the hint, I will add it to the answer, if it is okay for you.
– Kurt
Jan 26 at 14:15
@egreg Ah, you are right! Thank you for the hint, I will add it to the answer, if it is okay for you.
– Kurt
Jan 26 at 14:15
@Kurt Of course it is OK!
– egreg
Jan 26 at 14:57
@Kurt Of course it is OK!
– egreg
Jan 26 at 14:57
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471952%2fhow-to-break-the-alignment-of-the-date%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown