Lettre Class, how to supress this aweful blank space












1















I am currently writing a cover letter with the modified lettre package which is a modified version of the original letter, in order to correspond to french standards. Below a MWE :



documentclass[12pt,a4paper,loghighlight,french]{lettre}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

begin{document}
begin{letter}{Résponsable des ressources humaines}
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-20}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame, Monsieur, mes sincères salutations.}
end{letter}
end{document}


The text from my letter is a bit long so that the final letters output on two pages. Though, the presence of a huge gap between the adress fields and the letter's subject field.



After 2 compilations of the previous code, tension went to 2 to -5 according to log file. But the second page is still filled by less than a third.




"Class lettre Warning: Longueur de la derniere page : 119.60605pt<
130pt" :




After 2 compilations of the previous code, tension went to 2 to -5 according to log file. The second page is filled by less than a third. "Class lettre Warning: Longueur de la derniere page : 119.60605pt< 130pt"



In the package documentation page 16, it describes about the so called tension parameter that is responsible for shortening the blank gaps between elements in order to fit the letter on one page if the space taken on the second page is smaller than 1/3 of that second page. The tension value originally set to 2 is then adjusted after the first compilation of the tex file and then used for the second compilation. The user can manually set this value. Which I tried, resulting in aweful results.



Here with tension{-20} :



Here with <code>tension{-20}</code>



The opening and closing fields are completely crumbled within the text.



I have also tried to use the commands openingspace{} and sigspace{} and the solution as suggested in this thread which are supposed to help for the blank space height between the text core and signature/opening but without concluent results. The value indicating the space between the text core and signature (for the sigspace command), completely ignoring the closing field in between.



How to fix this letter once and for good?



I know this question has already been asked a lot either here or other forums but I did not find any convenient solution neither there or in the package manual.



Thanks for further help.



PS: note that it might be possible to fix this MWE letter as only the closing field is on the second page. Though, with the letter I want to write, few additional lines are located there but could still be fitted within the first page. Especially after receiving the compilation warning that less than a third of the second page is used: "119.60605pt< 130pt" for my letter. And slightly tuning the tension parameter for each letter I want to write is not a reliable technique I believe.










share|improve this question

























  • egreg's patch in the question you linked too works fine for me and is the correct solution. And you should put a complete address in the begin{letter} argument, so that you can better judge the space.

    – Ulrike Fischer
    Mar 16 at 15:29











  • Hi, thanks. The thing is that i don't have a complete adress to use. Only the title from the service I want to target.

    – Odyseus_v4
    Mar 17 at 10:43
















1















I am currently writing a cover letter with the modified lettre package which is a modified version of the original letter, in order to correspond to french standards. Below a MWE :



documentclass[12pt,a4paper,loghighlight,french]{lettre}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

begin{document}
begin{letter}{Résponsable des ressources humaines}
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-20}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame, Monsieur, mes sincères salutations.}
end{letter}
end{document}


The text from my letter is a bit long so that the final letters output on two pages. Though, the presence of a huge gap between the adress fields and the letter's subject field.



After 2 compilations of the previous code, tension went to 2 to -5 according to log file. But the second page is still filled by less than a third.




"Class lettre Warning: Longueur de la derniere page : 119.60605pt<
130pt" :




After 2 compilations of the previous code, tension went to 2 to -5 according to log file. The second page is filled by less than a third. "Class lettre Warning: Longueur de la derniere page : 119.60605pt< 130pt"



In the package documentation page 16, it describes about the so called tension parameter that is responsible for shortening the blank gaps between elements in order to fit the letter on one page if the space taken on the second page is smaller than 1/3 of that second page. The tension value originally set to 2 is then adjusted after the first compilation of the tex file and then used for the second compilation. The user can manually set this value. Which I tried, resulting in aweful results.



Here with tension{-20} :



Here with <code>tension{-20}</code>



The opening and closing fields are completely crumbled within the text.



I have also tried to use the commands openingspace{} and sigspace{} and the solution as suggested in this thread which are supposed to help for the blank space height between the text core and signature/opening but without concluent results. The value indicating the space between the text core and signature (for the sigspace command), completely ignoring the closing field in between.



How to fix this letter once and for good?



I know this question has already been asked a lot either here or other forums but I did not find any convenient solution neither there or in the package manual.



Thanks for further help.



PS: note that it might be possible to fix this MWE letter as only the closing field is on the second page. Though, with the letter I want to write, few additional lines are located there but could still be fitted within the first page. Especially after receiving the compilation warning that less than a third of the second page is used: "119.60605pt< 130pt" for my letter. And slightly tuning the tension parameter for each letter I want to write is not a reliable technique I believe.










share|improve this question

























  • egreg's patch in the question you linked too works fine for me and is the correct solution. And you should put a complete address in the begin{letter} argument, so that you can better judge the space.

    – Ulrike Fischer
    Mar 16 at 15:29











  • Hi, thanks. The thing is that i don't have a complete adress to use. Only the title from the service I want to target.

    – Odyseus_v4
    Mar 17 at 10:43














1












1








1


1






I am currently writing a cover letter with the modified lettre package which is a modified version of the original letter, in order to correspond to french standards. Below a MWE :



documentclass[12pt,a4paper,loghighlight,french]{lettre}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

begin{document}
begin{letter}{Résponsable des ressources humaines}
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-20}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame, Monsieur, mes sincères salutations.}
end{letter}
end{document}


The text from my letter is a bit long so that the final letters output on two pages. Though, the presence of a huge gap between the adress fields and the letter's subject field.



After 2 compilations of the previous code, tension went to 2 to -5 according to log file. But the second page is still filled by less than a third.




"Class lettre Warning: Longueur de la derniere page : 119.60605pt<
130pt" :




After 2 compilations of the previous code, tension went to 2 to -5 according to log file. The second page is filled by less than a third. "Class lettre Warning: Longueur de la derniere page : 119.60605pt< 130pt"



In the package documentation page 16, it describes about the so called tension parameter that is responsible for shortening the blank gaps between elements in order to fit the letter on one page if the space taken on the second page is smaller than 1/3 of that second page. The tension value originally set to 2 is then adjusted after the first compilation of the tex file and then used for the second compilation. The user can manually set this value. Which I tried, resulting in aweful results.



Here with tension{-20} :



Here with <code>tension{-20}</code>



The opening and closing fields are completely crumbled within the text.



I have also tried to use the commands openingspace{} and sigspace{} and the solution as suggested in this thread which are supposed to help for the blank space height between the text core and signature/opening but without concluent results. The value indicating the space between the text core and signature (for the sigspace command), completely ignoring the closing field in between.



How to fix this letter once and for good?



I know this question has already been asked a lot either here or other forums but I did not find any convenient solution neither there or in the package manual.



Thanks for further help.



PS: note that it might be possible to fix this MWE letter as only the closing field is on the second page. Though, with the letter I want to write, few additional lines are located there but could still be fitted within the first page. Especially after receiving the compilation warning that less than a third of the second page is used: "119.60605pt< 130pt" for my letter. And slightly tuning the tension parameter for each letter I want to write is not a reliable technique I believe.










share|improve this question
















I am currently writing a cover letter with the modified lettre package which is a modified version of the original letter, in order to correspond to french standards. Below a MWE :



documentclass[12pt,a4paper,loghighlight,french]{lettre}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

begin{document}
begin{letter}{Résponsable des ressources humaines}
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-20}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame, Monsieur, mes sincères salutations.}
end{letter}
end{document}


The text from my letter is a bit long so that the final letters output on two pages. Though, the presence of a huge gap between the adress fields and the letter's subject field.



After 2 compilations of the previous code, tension went to 2 to -5 according to log file. But the second page is still filled by less than a third.




"Class lettre Warning: Longueur de la derniere page : 119.60605pt<
130pt" :




After 2 compilations of the previous code, tension went to 2 to -5 according to log file. The second page is filled by less than a third. "Class lettre Warning: Longueur de la derniere page : 119.60605pt< 130pt"



In the package documentation page 16, it describes about the so called tension parameter that is responsible for shortening the blank gaps between elements in order to fit the letter on one page if the space taken on the second page is smaller than 1/3 of that second page. The tension value originally set to 2 is then adjusted after the first compilation of the tex file and then used for the second compilation. The user can manually set this value. Which I tried, resulting in aweful results.



Here with tension{-20} :



Here with <code>tension{-20}</code>



The opening and closing fields are completely crumbled within the text.



I have also tried to use the commands openingspace{} and sigspace{} and the solution as suggested in this thread which are supposed to help for the blank space height between the text core and signature/opening but without concluent results. The value indicating the space between the text core and signature (for the sigspace command), completely ignoring the closing field in between.



How to fix this letter once and for good?



I know this question has already been asked a lot either here or other forums but I did not find any convenient solution neither there or in the package manual.



Thanks for further help.



PS: note that it might be possible to fix this MWE letter as only the closing field is on the second page. Though, with the letter I want to write, few additional lines are located there but could still be fitted within the first page. Especially after receiving the compilation warning that less than a third of the second page is used: "119.60605pt< 130pt" for my letter. And slightly tuning the tension parameter for each letter I want to write is not a reliable technique I believe.







margins layout lettre






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 16 at 16:41









Kurt

39.9k850164




39.9k850164










asked Mar 16 at 14:52









Odyseus_v4Odyseus_v4

665




665













  • egreg's patch in the question you linked too works fine for me and is the correct solution. And you should put a complete address in the begin{letter} argument, so that you can better judge the space.

    – Ulrike Fischer
    Mar 16 at 15:29











  • Hi, thanks. The thing is that i don't have a complete adress to use. Only the title from the service I want to target.

    – Odyseus_v4
    Mar 17 at 10:43



















  • egreg's patch in the question you linked too works fine for me and is the correct solution. And you should put a complete address in the begin{letter} argument, so that you can better judge the space.

    – Ulrike Fischer
    Mar 16 at 15:29











  • Hi, thanks. The thing is that i don't have a complete adress to use. Only the title from the service I want to target.

    – Odyseus_v4
    Mar 17 at 10:43

















egreg's patch in the question you linked too works fine for me and is the correct solution. And you should put a complete address in the begin{letter} argument, so that you can better judge the space.

– Ulrike Fischer
Mar 16 at 15:29





egreg's patch in the question you linked too works fine for me and is the correct solution. And you should put a complete address in the begin{letter} argument, so that you can better judge the space.

– Ulrike Fischer
Mar 16 at 15:29













Hi, thanks. The thing is that i don't have a complete adress to use. Only the title from the service I want to target.

– Odyseus_v4
Mar 17 at 10:43





Hi, thanks. The thing is that i don't have a complete adress to use. Only the title from the service I want to target.

– Odyseus_v4
Mar 17 at 10:43










1 Answer
1






active

oldest

votes


















2














I think you need a mix of two partial solutions:





  1. use the patch given by egreg in his answer in your linked question, but we have to adjust the length -openingspace you will see later:



    usepackage{etoolbox} % <===============================================

    % The default value of openingspace is 1cm.
    % Instead of -openingspace use the length you prefer
    % for instance -0.5cm or whatever
    patchcmd{letteropening}{2openingspace}{-openingspace}{}{}


  2. use enlargethispage{2baselineskip} to get the signature removed from page two.



Please see that I simulated a real letter with an real recipient address with changing your used



%begin{letter}{Résponsable des ressources humaines}


to



begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================


Then we need to change the length -openingspace in the patch to better suited -1cm.



With the following MWE



documentclass[12pt,a4paper,loghighlight,french]{lettre}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

usepackage{etoolbox} % <===============================================

% The default value of openingspace is 1cm.
% Instead of -openingspace use the length you prefer
% for instance -0.5cm or whatever
patchcmd{letteropening}{2openingspace}{-1cm}{}{} % -openingspace <================


begin{document}

%begin{letter}{Résponsable des ressources humaines}
begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-9}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.
enlargethispage{2baselineskip} % <====================================

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame,
Monsieur, mes sincères salutations.}
end{letter}
end{document}


I get the result:



resulting letter






share|improve this answer
























  • Awesome, thank you so much for the clear details.

    – Odyseus_v4
    Mar 17 at 10:49











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479796%2flettre-class-how-to-supress-this-aweful-blank-space%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














I think you need a mix of two partial solutions:





  1. use the patch given by egreg in his answer in your linked question, but we have to adjust the length -openingspace you will see later:



    usepackage{etoolbox} % <===============================================

    % The default value of openingspace is 1cm.
    % Instead of -openingspace use the length you prefer
    % for instance -0.5cm or whatever
    patchcmd{letteropening}{2openingspace}{-openingspace}{}{}


  2. use enlargethispage{2baselineskip} to get the signature removed from page two.



Please see that I simulated a real letter with an real recipient address with changing your used



%begin{letter}{Résponsable des ressources humaines}


to



begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================


Then we need to change the length -openingspace in the patch to better suited -1cm.



With the following MWE



documentclass[12pt,a4paper,loghighlight,french]{lettre}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

usepackage{etoolbox} % <===============================================

% The default value of openingspace is 1cm.
% Instead of -openingspace use the length you prefer
% for instance -0.5cm or whatever
patchcmd{letteropening}{2openingspace}{-1cm}{}{} % -openingspace <================


begin{document}

%begin{letter}{Résponsable des ressources humaines}
begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-9}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.
enlargethispage{2baselineskip} % <====================================

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame,
Monsieur, mes sincères salutations.}
end{letter}
end{document}


I get the result:



resulting letter






share|improve this answer
























  • Awesome, thank you so much for the clear details.

    – Odyseus_v4
    Mar 17 at 10:49
















2














I think you need a mix of two partial solutions:





  1. use the patch given by egreg in his answer in your linked question, but we have to adjust the length -openingspace you will see later:



    usepackage{etoolbox} % <===============================================

    % The default value of openingspace is 1cm.
    % Instead of -openingspace use the length you prefer
    % for instance -0.5cm or whatever
    patchcmd{letteropening}{2openingspace}{-openingspace}{}{}


  2. use enlargethispage{2baselineskip} to get the signature removed from page two.



Please see that I simulated a real letter with an real recipient address with changing your used



%begin{letter}{Résponsable des ressources humaines}


to



begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================


Then we need to change the length -openingspace in the patch to better suited -1cm.



With the following MWE



documentclass[12pt,a4paper,loghighlight,french]{lettre}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

usepackage{etoolbox} % <===============================================

% The default value of openingspace is 1cm.
% Instead of -openingspace use the length you prefer
% for instance -0.5cm or whatever
patchcmd{letteropening}{2openingspace}{-1cm}{}{} % -openingspace <================


begin{document}

%begin{letter}{Résponsable des ressources humaines}
begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-9}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.
enlargethispage{2baselineskip} % <====================================

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame,
Monsieur, mes sincères salutations.}
end{letter}
end{document}


I get the result:



resulting letter






share|improve this answer
























  • Awesome, thank you so much for the clear details.

    – Odyseus_v4
    Mar 17 at 10:49














2












2








2







I think you need a mix of two partial solutions:





  1. use the patch given by egreg in his answer in your linked question, but we have to adjust the length -openingspace you will see later:



    usepackage{etoolbox} % <===============================================

    % The default value of openingspace is 1cm.
    % Instead of -openingspace use the length you prefer
    % for instance -0.5cm or whatever
    patchcmd{letteropening}{2openingspace}{-openingspace}{}{}


  2. use enlargethispage{2baselineskip} to get the signature removed from page two.



Please see that I simulated a real letter with an real recipient address with changing your used



%begin{letter}{Résponsable des ressources humaines}


to



begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================


Then we need to change the length -openingspace in the patch to better suited -1cm.



With the following MWE



documentclass[12pt,a4paper,loghighlight,french]{lettre}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

usepackage{etoolbox} % <===============================================

% The default value of openingspace is 1cm.
% Instead of -openingspace use the length you prefer
% for instance -0.5cm or whatever
patchcmd{letteropening}{2openingspace}{-1cm}{}{} % -openingspace <================


begin{document}

%begin{letter}{Résponsable des ressources humaines}
begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-9}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.
enlargethispage{2baselineskip} % <====================================

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame,
Monsieur, mes sincères salutations.}
end{letter}
end{document}


I get the result:



resulting letter






share|improve this answer













I think you need a mix of two partial solutions:





  1. use the patch given by egreg in his answer in your linked question, but we have to adjust the length -openingspace you will see later:



    usepackage{etoolbox} % <===============================================

    % The default value of openingspace is 1cm.
    % Instead of -openingspace use the length you prefer
    % for instance -0.5cm or whatever
    patchcmd{letteropening}{2openingspace}{-openingspace}{}{}


  2. use enlargethispage{2baselineskip} to get the signature removed from page two.



Please see that I simulated a real letter with an real recipient address with changing your used



%begin{letter}{Résponsable des ressources humaines}


to



begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================


Then we need to change the length -openingspace in the patch to better suited -1cm.



With the following MWE



documentclass[12pt,a4paper,loghighlight,french]{lettre}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{babel}
usepackage{lipsum}

usepackage{etoolbox} % <===============================================

% The default value of openingspace is 1cm.
% Instead of -openingspace use the length you prefer
% for instance -0.5cm or whatever
patchcmd{letteropening}{2openingspace}{-1cm}{}{} % -openingspace <================


begin{document}

%begin{letter}{Résponsable des ressources humaines}
begin{letter}{% <======================================================
Pr.~E.T.~Phonom \
Departement Asprototographie \
Universite de Saint Zopium \
3945, Quai du General Gisant \
CH-6800 Motte-au-Rolla } % <==========================================
francais
name{Gustave textsc{Eiffel}}
address{Tour Eiffel\75000 Paris\textsc{France}}
nofax
telephone{+33 1 23 45 67 89}
email{gustave.eiffel@gmail.com}
lieu{Paris}
date{today}

%tension{-9}% par défaut 2. p. 16 de l'aide.
marge{0mm}% par défaut 15mm. p. 16 de l'aide.
enlargethispage{2baselineskip} % <====================================

conc{Candidature au poste de météorologiste.}
opening{Madame, Monsieur,}
lipsum[1-3]

closing{Dans l'espoir d'une réponse positive, je vous transmets Madame,
Monsieur, mes sincères salutations.}
end{letter}
end{document}


I get the result:



resulting letter







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 16 at 16:20









KurtKurt

39.9k850164




39.9k850164













  • Awesome, thank you so much for the clear details.

    – Odyseus_v4
    Mar 17 at 10:49



















  • Awesome, thank you so much for the clear details.

    – Odyseus_v4
    Mar 17 at 10:49

















Awesome, thank you so much for the clear details.

– Odyseus_v4
Mar 17 at 10:49





Awesome, thank you so much for the clear details.

– Odyseus_v4
Mar 17 at 10:49


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479796%2flettre-class-how-to-supress-this-aweful-blank-space%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?