Align right twentyitem












2















I am using the Twenty Second Resume template (https://it.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc).



I have this environment:



setlength{tabcolsep}{0pt}

% New environment for the long list
newenvironment{twenty}{%
begin{tabular*}{textwidth}{@{extracolsep{fill}}ll}
}{%
end{tabular*}
}

newcommand{twentyitem}[4]{%
scriptsize{#1}&quadparbox[t]{textwidth}{%
textbf{#2}%
quad%
{footnotesize#3}\%
#4vspace{parsep}%
}\
}


and this code:



begin{twenty} % Environment for a list with descriptions
twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
end{twenty}


This is the result:
result



How can I align right the BBB EEE and HHH part (the third parameter of twentyitem) ???










share|improve this question





























    2















    I am using the Twenty Second Resume template (https://it.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc).



    I have this environment:



    setlength{tabcolsep}{0pt}

    % New environment for the long list
    newenvironment{twenty}{%
    begin{tabular*}{textwidth}{@{extracolsep{fill}}ll}
    }{%
    end{tabular*}
    }

    newcommand{twentyitem}[4]{%
    scriptsize{#1}&quadparbox[t]{textwidth}{%
    textbf{#2}%
    quad%
    {footnotesize#3}\%
    #4vspace{parsep}%
    }\
    }


    and this code:



    begin{twenty} % Environment for a list with descriptions
    twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
    twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
    twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
    end{twenty}


    This is the result:
    result



    How can I align right the BBB EEE and HHH part (the third parameter of twentyitem) ???










    share|improve this question



























      2












      2








      2








      I am using the Twenty Second Resume template (https://it.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc).



      I have this environment:



      setlength{tabcolsep}{0pt}

      % New environment for the long list
      newenvironment{twenty}{%
      begin{tabular*}{textwidth}{@{extracolsep{fill}}ll}
      }{%
      end{tabular*}
      }

      newcommand{twentyitem}[4]{%
      scriptsize{#1}&quadparbox[t]{textwidth}{%
      textbf{#2}%
      quad%
      {footnotesize#3}\%
      #4vspace{parsep}%
      }\
      }


      and this code:



      begin{twenty} % Environment for a list with descriptions
      twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
      twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
      twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
      end{twenty}


      This is the result:
      result



      How can I align right the BBB EEE and HHH part (the third parameter of twentyitem) ???










      share|improve this question
















      I am using the Twenty Second Resume template (https://it.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc).



      I have this environment:



      setlength{tabcolsep}{0pt}

      % New environment for the long list
      newenvironment{twenty}{%
      begin{tabular*}{textwidth}{@{extracolsep{fill}}ll}
      }{%
      end{tabular*}
      }

      newcommand{twentyitem}[4]{%
      scriptsize{#1}&quadparbox[t]{textwidth}{%
      textbf{#2}%
      quad%
      {footnotesize#3}\%
      #4vspace{parsep}%
      }\
      }


      and this code:



      begin{twenty} % Environment for a list with descriptions
      twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
      twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
      twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
      end{twenty}


      This is the result:
      result



      How can I align right the BBB EEE and HHH part (the third parameter of twentyitem) ???







      tables align overleaf






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 7 hours ago









      egreg

      732k8919303254




      732k8919303254










      asked 7 hours ago









      ScTALEScTALE

      21718




      21718






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Maybe with tabularx?



          documentclass{article}
          usepackage{tabularx,array}

          % New environment for the long list
          newenvironment{twenty}
          {parnoindenttabularx{textwidth}{@{}l@{}>{raggedright}X@{}r@{}}}
          {endtabularx}

          newcommand{twentyitem}[4]{%
          {scriptsize #1}hspace*{1em} &
          textbf{#2}\
          #4 & {footnotesize#3} tabularnewline[parsep]
          }

          begin{document}

          begin{twenty} % Environment for a list with descriptions
          twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
          twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
          twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
          end{twenty}

          end{document}


          enter image description here






          share|improve this answer
























          • Unlikely, that doesn't fit in my code and it gives me some errors. I would rather, if possible, use tabular

            – ScTALE
            6 hours ago











          • @ScTALE Well, using parbox[t]{textwidth} makes an overfull box for every item.

            – egreg
            6 hours ago



















          1














          I suggest to replace the tabular with a real itemize, which has been tailored for your need.



          documentclass{article}
          usepackage[pass,showframe]{geometry}
          usepackage{enumitem}
          newenvironment{twenty}{begin{itemize}[leftmargin=70pt]}{end{itemize}}
          newcommandtwentyitem[4]{item[{scriptsize[#1]}]textbf{#2}hfill
          {footnotesize#3}\#4}
          begin{document}
          sffamily
          begin{twenty} % Environment for a list with descriptions
          twentyitem[09/2016 - 03/2019]{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}
          {emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
          twentyitem[09/2017 - 03/2018]{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}
          {emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
          twentyitem[09/2013 - 12/2016]{GGGGGGGGGGGGGGGGGGG}{HHHHH}
          {emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
          end{twenty}
          end{document}


          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%2f483926%2falign-right-twentyitem%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









            1














            Maybe with tabularx?



            documentclass{article}
            usepackage{tabularx,array}

            % New environment for the long list
            newenvironment{twenty}
            {parnoindenttabularx{textwidth}{@{}l@{}>{raggedright}X@{}r@{}}}
            {endtabularx}

            newcommand{twentyitem}[4]{%
            {scriptsize #1}hspace*{1em} &
            textbf{#2}\
            #4 & {footnotesize#3} tabularnewline[parsep]
            }

            begin{document}

            begin{twenty} % Environment for a list with descriptions
            twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
            twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
            twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
            end{twenty}

            end{document}


            enter image description here






            share|improve this answer
























            • Unlikely, that doesn't fit in my code and it gives me some errors. I would rather, if possible, use tabular

              – ScTALE
              6 hours ago











            • @ScTALE Well, using parbox[t]{textwidth} makes an overfull box for every item.

              – egreg
              6 hours ago
















            1














            Maybe with tabularx?



            documentclass{article}
            usepackage{tabularx,array}

            % New environment for the long list
            newenvironment{twenty}
            {parnoindenttabularx{textwidth}{@{}l@{}>{raggedright}X@{}r@{}}}
            {endtabularx}

            newcommand{twentyitem}[4]{%
            {scriptsize #1}hspace*{1em} &
            textbf{#2}\
            #4 & {footnotesize#3} tabularnewline[parsep]
            }

            begin{document}

            begin{twenty} % Environment for a list with descriptions
            twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
            twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
            twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
            end{twenty}

            end{document}


            enter image description here






            share|improve this answer
























            • Unlikely, that doesn't fit in my code and it gives me some errors. I would rather, if possible, use tabular

              – ScTALE
              6 hours ago











            • @ScTALE Well, using parbox[t]{textwidth} makes an overfull box for every item.

              – egreg
              6 hours ago














            1












            1








            1







            Maybe with tabularx?



            documentclass{article}
            usepackage{tabularx,array}

            % New environment for the long list
            newenvironment{twenty}
            {parnoindenttabularx{textwidth}{@{}l@{}>{raggedright}X@{}r@{}}}
            {endtabularx}

            newcommand{twentyitem}[4]{%
            {scriptsize #1}hspace*{1em} &
            textbf{#2}\
            #4 & {footnotesize#3} tabularnewline[parsep]
            }

            begin{document}

            begin{twenty} % Environment for a list with descriptions
            twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
            twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
            twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
            end{twenty}

            end{document}


            enter image description here






            share|improve this answer













            Maybe with tabularx?



            documentclass{article}
            usepackage{tabularx,array}

            % New environment for the long list
            newenvironment{twenty}
            {parnoindenttabularx{textwidth}{@{}l@{}>{raggedright}X@{}r@{}}}
            {endtabularx}

            newcommand{twentyitem}[4]{%
            {scriptsize #1}hspace*{1em} &
            textbf{#2}\
            #4 & {footnotesize#3} tabularnewline[parsep]
            }

            begin{document}

            begin{twenty} % Environment for a list with descriptions
            twentyitem{09/2016 - 03/2019}{AAAAAAAAAAAAAAAAAA}{BBBBBB}{emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
            twentyitem{09/2017 - 03/2018}{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}{emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
            twentyitem{09/2013 - 12/2016}{GGGGGGGGGGGGGGGGGGG}{HHHHH}{emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
            end{twenty}

            end{document}


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 7 hours ago









            egregegreg

            732k8919303254




            732k8919303254













            • Unlikely, that doesn't fit in my code and it gives me some errors. I would rather, if possible, use tabular

              – ScTALE
              6 hours ago











            • @ScTALE Well, using parbox[t]{textwidth} makes an overfull box for every item.

              – egreg
              6 hours ago



















            • Unlikely, that doesn't fit in my code and it gives me some errors. I would rather, if possible, use tabular

              – ScTALE
              6 hours ago











            • @ScTALE Well, using parbox[t]{textwidth} makes an overfull box for every item.

              – egreg
              6 hours ago

















            Unlikely, that doesn't fit in my code and it gives me some errors. I would rather, if possible, use tabular

            – ScTALE
            6 hours ago





            Unlikely, that doesn't fit in my code and it gives me some errors. I would rather, if possible, use tabular

            – ScTALE
            6 hours ago













            @ScTALE Well, using parbox[t]{textwidth} makes an overfull box for every item.

            – egreg
            6 hours ago





            @ScTALE Well, using parbox[t]{textwidth} makes an overfull box for every item.

            – egreg
            6 hours ago











            1














            I suggest to replace the tabular with a real itemize, which has been tailored for your need.



            documentclass{article}
            usepackage[pass,showframe]{geometry}
            usepackage{enumitem}
            newenvironment{twenty}{begin{itemize}[leftmargin=70pt]}{end{itemize}}
            newcommandtwentyitem[4]{item[{scriptsize[#1]}]textbf{#2}hfill
            {footnotesize#3}\#4}
            begin{document}
            sffamily
            begin{twenty} % Environment for a list with descriptions
            twentyitem[09/2016 - 03/2019]{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}
            {emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
            twentyitem[09/2017 - 03/2018]{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}
            {emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
            twentyitem[09/2013 - 12/2016]{GGGGGGGGGGGGGGGGGGG}{HHHHH}
            {emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
            end{twenty}
            end{document}


            enter image description here






            share|improve this answer






























              1














              I suggest to replace the tabular with a real itemize, which has been tailored for your need.



              documentclass{article}
              usepackage[pass,showframe]{geometry}
              usepackage{enumitem}
              newenvironment{twenty}{begin{itemize}[leftmargin=70pt]}{end{itemize}}
              newcommandtwentyitem[4]{item[{scriptsize[#1]}]textbf{#2}hfill
              {footnotesize#3}\#4}
              begin{document}
              sffamily
              begin{twenty} % Environment for a list with descriptions
              twentyitem[09/2016 - 03/2019]{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}
              {emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
              twentyitem[09/2017 - 03/2018]{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}
              {emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
              twentyitem[09/2013 - 12/2016]{GGGGGGGGGGGGGGGGGGG}{HHHHH}
              {emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
              end{twenty}
              end{document}


              enter image description here






              share|improve this answer




























                1












                1








                1







                I suggest to replace the tabular with a real itemize, which has been tailored for your need.



                documentclass{article}
                usepackage[pass,showframe]{geometry}
                usepackage{enumitem}
                newenvironment{twenty}{begin{itemize}[leftmargin=70pt]}{end{itemize}}
                newcommandtwentyitem[4]{item[{scriptsize[#1]}]textbf{#2}hfill
                {footnotesize#3}\#4}
                begin{document}
                sffamily
                begin{twenty} % Environment for a list with descriptions
                twentyitem[09/2016 - 03/2019]{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}
                {emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
                twentyitem[09/2017 - 03/2018]{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}
                {emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
                twentyitem[09/2013 - 12/2016]{GGGGGGGGGGGGGGGGGGG}{HHHHH}
                {emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
                end{twenty}
                end{document}


                enter image description here






                share|improve this answer















                I suggest to replace the tabular with a real itemize, which has been tailored for your need.



                documentclass{article}
                usepackage[pass,showframe]{geometry}
                usepackage{enumitem}
                newenvironment{twenty}{begin{itemize}[leftmargin=70pt]}{end{itemize}}
                newcommandtwentyitem[4]{item[{scriptsize[#1]}]textbf{#2}hfill
                {footnotesize#3}\#4}
                begin{document}
                sffamily
                begin{twenty} % Environment for a list with descriptions
                twentyitem[09/2016 - 03/2019]{AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}{BBBBBB}
                {emph{CCCCCCCCC}\CCCCCCCC\ CCCCCCCCCCCCCC}
                twentyitem[09/2017 - 03/2018]{DDDDDDDDDDDDDDDD}{EEEEEEEEEE}
                {emph{FFFFFFFFFFFF}\FFFFFFFFFFFFFFFFFF}
                twentyitem[09/2013 - 12/2016]{GGGGGGGGGGGGGGGGGGG}{HHHHH}
                {emph{IIIIIIIIIIIIIII}\IIIIIIIIIIIIII\ IIIIIIIIIII}
                end{twenty}
                end{document}


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 6 hours ago

























                answered 6 hours ago









                Steven B. SegletesSteven B. Segletes

                161k9205416




                161k9205416






























                    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%2f483926%2falign-right-twentyitem%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

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

                    Calculate evaluation metrics using cross_val_predict sklearn

                    Insert data from modal to MySQL (multiple modal on website)