Align right twentyitem
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:
How can I align right the BBB EEE and HHH part (the third parameter of twentyitem
) ???
tables align overleaf
add a comment |
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:
How can I align right the BBB EEE and HHH part (the third parameter of twentyitem
) ???
tables align overleaf
add a comment |
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:
How can I align right the BBB EEE and HHH part (the third parameter of twentyitem
) ???
tables align overleaf
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:
How can I align right the BBB EEE and HHH part (the third parameter of twentyitem
) ???
tables align overleaf
tables align overleaf
edited 7 hours ago
egreg
732k8919303254
732k8919303254
asked 7 hours ago
ScTALEScTALE
21718
21718
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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}
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, usingparbox[t]{textwidth}
makes an overfull box for every item.
– egreg
6 hours ago
add a comment |
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}
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%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
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}
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, usingparbox[t]{textwidth}
makes an overfull box for every item.
– egreg
6 hours ago
add a comment |
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}
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, usingparbox[t]{textwidth}
makes an overfull box for every item.
– egreg
6 hours ago
add a comment |
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}
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}
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, usingparbox[t]{textwidth}
makes an overfull box for every item.
– egreg
6 hours ago
add a comment |
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, usingparbox[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
add a comment |
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}
add a comment |
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}
add a comment |
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}
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}
edited 6 hours ago
answered 6 hours ago
Steven B. SegletesSteven B. Segletes
161k9205416
161k9205416
add a comment |
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%2f483926%2falign-right-twentyitem%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