Change position of enclosure in makeletterclosing in moderncv template












0














While writing the cover letter, the makeletterclosing automatically adds enclosure at the end of the page. Is there a way to reduce the space between Name and the enclosure information.Reduce this space










share|improve this question


















  • 1




    Welcome to TeX.SE! Please show a short compilable code resulting in the issue. At last it depends on which moderncvstyle you are using ...
    – Kurt
    1 hour ago
















0














While writing the cover letter, the makeletterclosing automatically adds enclosure at the end of the page. Is there a way to reduce the space between Name and the enclosure information.Reduce this space










share|improve this question


















  • 1




    Welcome to TeX.SE! Please show a short compilable code resulting in the issue. At last it depends on which moderncvstyle you are using ...
    – Kurt
    1 hour ago














0












0








0







While writing the cover letter, the makeletterclosing automatically adds enclosure at the end of the page. Is there a way to reduce the space between Name and the enclosure information.Reduce this space










share|improve this question













While writing the cover letter, the makeletterclosing automatically adds enclosure at the end of the page. Is there a way to reduce the space between Name and the enclosure information.Reduce this space







moderncv






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









Inc0gnitoInc0gnito

1




1








  • 1




    Welcome to TeX.SE! Please show a short compilable code resulting in the issue. At last it depends on which moderncvstyle you are using ...
    – Kurt
    1 hour ago














  • 1




    Welcome to TeX.SE! Please show a short compilable code resulting in the issue. At last it depends on which moderncvstyle you are using ...
    – Kurt
    1 hour ago








1




1




Welcome to TeX.SE! Please show a short compilable code resulting in the issue. At last it depends on which moderncvstyle you are using ...
– Kurt
1 hour ago




Welcome to TeX.SE! Please show a short compilable code resulting in the issue. At last it depends on which moderncvstyle you are using ...
– Kurt
1 hour ago










1 Answer
1






active

oldest

votes


















0














At last it depends on your used moderncvstyle.



For example if you use moderncvstyle{classic} the command makeletterclosing is defined as:



renewcommand*{makeletterclosing}{
@closing\[3em]%
{bfseries@firstname~@lastname}%
ifthenelse{isundefined{@enclosure}}{}{%
\%
vfil%
{color{color2}itshapeenclname: @enclosure}}%
vfil}


In your case you need to delete vfil and add a little space after the signature like:



makeatletter
renewcommand*{makeletterclosing}{
@closing\[3em]%
{bfseries@firstname~@lastname}%
ifthenelse{isundefined{@enclosure}}{}{%
\[1cm]% <==========================================================
{color{color2}itshapeenclname: @enclosure}}%
}
makeatother


Change the value 1cm in \[1cm] for your needs ...



With the following compiling MWE (please add one to your next question by your own)



documentclass[11pt,a4paper,sans]{moderncv}

% moderncv themes
moderncvstyle{classic} % casual, classic, banking, oldstyle and fancy
moderncvcolor{blue}

usepackage[utf8]{inputenc}

usepackage[scale=0.75]{geometry}

% personal data
name{John}{Doe}
title{Resumé title}
address{street and number}{postcode city}{country}
phone[mobile]{+1~(234)~567~890}
phone[fixed]{+2~(345)~678~901}
phone[fax]{+3~(456)~789~012}
email{john@doe.org}
homepage{www.johndoe.com}
social[linkedin]{john.doe}
social[twitter]{jdoe}
social[github]{jdoe}
extrainfo{additional information}
photo[64pt][0.4pt]{example-image-a}
quote{Some quote}

setlength{footskip}{66pt}

makeatletter
renewcommand*{makeletterclosing}{
@closing\[3em]%
{bfseries@firstname~@lastname}%
ifthenelse{isundefined{@enclosure}}{}{%
\[1cm]% <==========================================================
{color{color2}itshapeenclname: @enclosure}}%
}
makeatother


begin{document}

%----- letter ---------------------------------------------------------
% recipient data
recipient{Company Recruitment team}{Company, Inc.\123 somestreet\some city}
date{January 01, 1984}
opening{Dear Sir or Madam,}
closing{Yours faithfully,}
enclosure[Attached]{curriculum vitae{}}
makelettertitle
%raggedbottom

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper
neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque
arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi
volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis
tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat
vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis
ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.

Albert Einstein discovered that $e=mc^2$ in 1905.

[ e=lim_{n to infty} left(1+frac{1}{n}right)^n ]

makeletterclosing

end{document}


you get the result:



enter image description here






share|improve this answer





















    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%2f469086%2fchange-position-of-enclosure-in-makeletterclosing-in-moderncv-template%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









    0














    At last it depends on your used moderncvstyle.



    For example if you use moderncvstyle{classic} the command makeletterclosing is defined as:



    renewcommand*{makeletterclosing}{
    @closing\[3em]%
    {bfseries@firstname~@lastname}%
    ifthenelse{isundefined{@enclosure}}{}{%
    \%
    vfil%
    {color{color2}itshapeenclname: @enclosure}}%
    vfil}


    In your case you need to delete vfil and add a little space after the signature like:



    makeatletter
    renewcommand*{makeletterclosing}{
    @closing\[3em]%
    {bfseries@firstname~@lastname}%
    ifthenelse{isundefined{@enclosure}}{}{%
    \[1cm]% <==========================================================
    {color{color2}itshapeenclname: @enclosure}}%
    }
    makeatother


    Change the value 1cm in \[1cm] for your needs ...



    With the following compiling MWE (please add one to your next question by your own)



    documentclass[11pt,a4paper,sans]{moderncv}

    % moderncv themes
    moderncvstyle{classic} % casual, classic, banking, oldstyle and fancy
    moderncvcolor{blue}

    usepackage[utf8]{inputenc}

    usepackage[scale=0.75]{geometry}

    % personal data
    name{John}{Doe}
    title{Resumé title}
    address{street and number}{postcode city}{country}
    phone[mobile]{+1~(234)~567~890}
    phone[fixed]{+2~(345)~678~901}
    phone[fax]{+3~(456)~789~012}
    email{john@doe.org}
    homepage{www.johndoe.com}
    social[linkedin]{john.doe}
    social[twitter]{jdoe}
    social[github]{jdoe}
    extrainfo{additional information}
    photo[64pt][0.4pt]{example-image-a}
    quote{Some quote}

    setlength{footskip}{66pt}

    makeatletter
    renewcommand*{makeletterclosing}{
    @closing\[3em]%
    {bfseries@firstname~@lastname}%
    ifthenelse{isundefined{@enclosure}}{}{%
    \[1cm]% <==========================================================
    {color{color2}itshapeenclname: @enclosure}}%
    }
    makeatother


    begin{document}

    %----- letter ---------------------------------------------------------
    % recipient data
    recipient{Company Recruitment team}{Company, Inc.\123 somestreet\some city}
    date{January 01, 1984}
    opening{Dear Sir or Madam,}
    closing{Yours faithfully,}
    enclosure[Attached]{curriculum vitae{}}
    makelettertitle
    %raggedbottom

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper
    neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque
    arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi
    volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis
    tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat
    vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis
    ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.

    Albert Einstein discovered that $e=mc^2$ in 1905.

    [ e=lim_{n to infty} left(1+frac{1}{n}right)^n ]

    makeletterclosing

    end{document}


    you get the result:



    enter image description here






    share|improve this answer


























      0














      At last it depends on your used moderncvstyle.



      For example if you use moderncvstyle{classic} the command makeletterclosing is defined as:



      renewcommand*{makeletterclosing}{
      @closing\[3em]%
      {bfseries@firstname~@lastname}%
      ifthenelse{isundefined{@enclosure}}{}{%
      \%
      vfil%
      {color{color2}itshapeenclname: @enclosure}}%
      vfil}


      In your case you need to delete vfil and add a little space after the signature like:



      makeatletter
      renewcommand*{makeletterclosing}{
      @closing\[3em]%
      {bfseries@firstname~@lastname}%
      ifthenelse{isundefined{@enclosure}}{}{%
      \[1cm]% <==========================================================
      {color{color2}itshapeenclname: @enclosure}}%
      }
      makeatother


      Change the value 1cm in \[1cm] for your needs ...



      With the following compiling MWE (please add one to your next question by your own)



      documentclass[11pt,a4paper,sans]{moderncv}

      % moderncv themes
      moderncvstyle{classic} % casual, classic, banking, oldstyle and fancy
      moderncvcolor{blue}

      usepackage[utf8]{inputenc}

      usepackage[scale=0.75]{geometry}

      % personal data
      name{John}{Doe}
      title{Resumé title}
      address{street and number}{postcode city}{country}
      phone[mobile]{+1~(234)~567~890}
      phone[fixed]{+2~(345)~678~901}
      phone[fax]{+3~(456)~789~012}
      email{john@doe.org}
      homepage{www.johndoe.com}
      social[linkedin]{john.doe}
      social[twitter]{jdoe}
      social[github]{jdoe}
      extrainfo{additional information}
      photo[64pt][0.4pt]{example-image-a}
      quote{Some quote}

      setlength{footskip}{66pt}

      makeatletter
      renewcommand*{makeletterclosing}{
      @closing\[3em]%
      {bfseries@firstname~@lastname}%
      ifthenelse{isundefined{@enclosure}}{}{%
      \[1cm]% <==========================================================
      {color{color2}itshapeenclname: @enclosure}}%
      }
      makeatother


      begin{document}

      %----- letter ---------------------------------------------------------
      % recipient data
      recipient{Company Recruitment team}{Company, Inc.\123 somestreet\some city}
      date{January 01, 1984}
      opening{Dear Sir or Madam,}
      closing{Yours faithfully,}
      enclosure[Attached]{curriculum vitae{}}
      makelettertitle
      %raggedbottom

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper
      neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque
      arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi
      volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis
      tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat
      vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis
      ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.

      Albert Einstein discovered that $e=mc^2$ in 1905.

      [ e=lim_{n to infty} left(1+frac{1}{n}right)^n ]

      makeletterclosing

      end{document}


      you get the result:



      enter image description here






      share|improve this answer
























        0












        0








        0






        At last it depends on your used moderncvstyle.



        For example if you use moderncvstyle{classic} the command makeletterclosing is defined as:



        renewcommand*{makeletterclosing}{
        @closing\[3em]%
        {bfseries@firstname~@lastname}%
        ifthenelse{isundefined{@enclosure}}{}{%
        \%
        vfil%
        {color{color2}itshapeenclname: @enclosure}}%
        vfil}


        In your case you need to delete vfil and add a little space after the signature like:



        makeatletter
        renewcommand*{makeletterclosing}{
        @closing\[3em]%
        {bfseries@firstname~@lastname}%
        ifthenelse{isundefined{@enclosure}}{}{%
        \[1cm]% <==========================================================
        {color{color2}itshapeenclname: @enclosure}}%
        }
        makeatother


        Change the value 1cm in \[1cm] for your needs ...



        With the following compiling MWE (please add one to your next question by your own)



        documentclass[11pt,a4paper,sans]{moderncv}

        % moderncv themes
        moderncvstyle{classic} % casual, classic, banking, oldstyle and fancy
        moderncvcolor{blue}

        usepackage[utf8]{inputenc}

        usepackage[scale=0.75]{geometry}

        % personal data
        name{John}{Doe}
        title{Resumé title}
        address{street and number}{postcode city}{country}
        phone[mobile]{+1~(234)~567~890}
        phone[fixed]{+2~(345)~678~901}
        phone[fax]{+3~(456)~789~012}
        email{john@doe.org}
        homepage{www.johndoe.com}
        social[linkedin]{john.doe}
        social[twitter]{jdoe}
        social[github]{jdoe}
        extrainfo{additional information}
        photo[64pt][0.4pt]{example-image-a}
        quote{Some quote}

        setlength{footskip}{66pt}

        makeatletter
        renewcommand*{makeletterclosing}{
        @closing\[3em]%
        {bfseries@firstname~@lastname}%
        ifthenelse{isundefined{@enclosure}}{}{%
        \[1cm]% <==========================================================
        {color{color2}itshapeenclname: @enclosure}}%
        }
        makeatother


        begin{document}

        %----- letter ---------------------------------------------------------
        % recipient data
        recipient{Company Recruitment team}{Company, Inc.\123 somestreet\some city}
        date{January 01, 1984}
        opening{Dear Sir or Madam,}
        closing{Yours faithfully,}
        enclosure[Attached]{curriculum vitae{}}
        makelettertitle
        %raggedbottom

        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper
        neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque
        arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi
        volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis
        tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat
        vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis
        ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.

        Albert Einstein discovered that $e=mc^2$ in 1905.

        [ e=lim_{n to infty} left(1+frac{1}{n}right)^n ]

        makeletterclosing

        end{document}


        you get the result:



        enter image description here






        share|improve this answer












        At last it depends on your used moderncvstyle.



        For example if you use moderncvstyle{classic} the command makeletterclosing is defined as:



        renewcommand*{makeletterclosing}{
        @closing\[3em]%
        {bfseries@firstname~@lastname}%
        ifthenelse{isundefined{@enclosure}}{}{%
        \%
        vfil%
        {color{color2}itshapeenclname: @enclosure}}%
        vfil}


        In your case you need to delete vfil and add a little space after the signature like:



        makeatletter
        renewcommand*{makeletterclosing}{
        @closing\[3em]%
        {bfseries@firstname~@lastname}%
        ifthenelse{isundefined{@enclosure}}{}{%
        \[1cm]% <==========================================================
        {color{color2}itshapeenclname: @enclosure}}%
        }
        makeatother


        Change the value 1cm in \[1cm] for your needs ...



        With the following compiling MWE (please add one to your next question by your own)



        documentclass[11pt,a4paper,sans]{moderncv}

        % moderncv themes
        moderncvstyle{classic} % casual, classic, banking, oldstyle and fancy
        moderncvcolor{blue}

        usepackage[utf8]{inputenc}

        usepackage[scale=0.75]{geometry}

        % personal data
        name{John}{Doe}
        title{Resumé title}
        address{street and number}{postcode city}{country}
        phone[mobile]{+1~(234)~567~890}
        phone[fixed]{+2~(345)~678~901}
        phone[fax]{+3~(456)~789~012}
        email{john@doe.org}
        homepage{www.johndoe.com}
        social[linkedin]{john.doe}
        social[twitter]{jdoe}
        social[github]{jdoe}
        extrainfo{additional information}
        photo[64pt][0.4pt]{example-image-a}
        quote{Some quote}

        setlength{footskip}{66pt}

        makeatletter
        renewcommand*{makeletterclosing}{
        @closing\[3em]%
        {bfseries@firstname~@lastname}%
        ifthenelse{isundefined{@enclosure}}{}{%
        \[1cm]% <==========================================================
        {color{color2}itshapeenclname: @enclosure}}%
        }
        makeatother


        begin{document}

        %----- letter ---------------------------------------------------------
        % recipient data
        recipient{Company Recruitment team}{Company, Inc.\123 somestreet\some city}
        date{January 01, 1984}
        opening{Dear Sir or Madam,}
        closing{Yours faithfully,}
        enclosure[Attached]{curriculum vitae{}}
        makelettertitle
        %raggedbottom

        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ullamcorper
        neque sit amet lectus facilisis sed luctus nisl iaculis. Vivamus at neque
        arcu, sed tempor quam. Curabitur pharetra tincidunt tincidunt. Morbi
        volutpat feugiat mauris, quis tempor neque vehicula volutpat. Duis
        tristique justo vel massa fermentum accumsan. Mauris ante elit, feugiat
        vestibulum tempor eget, eleifend ac ipsum. Donec scelerisque lobortis
        ipsum eu vestibulum. Pellentesque vel massa at felis accumsan rhoncus.

        Albert Einstein discovered that $e=mc^2$ in 1905.

        [ e=lim_{n to infty} left(1+frac{1}{n}right)^n ]

        makeletterclosing

        end{document}


        you get the result:



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        KurtKurt

        35.7k847160




        35.7k847160






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f469086%2fchange-position-of-enclosure-in-makeletterclosing-in-moderncv-template%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

            Contact image not getting when fetch all contact list from iPhone by CNContact

            count number of partitions of a set with n elements into k subsets

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks