Make a p-type multicol span to full width Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Multicolumn width calculated for lX columnsVertical alignment in multicolTable (page width) in multicol?Multicol cheatsheet formatspan x columns in y multicol environmentSpan text across columns in multicolHow does multicol split?one-column multicol environmentEnumerate and multicolMulticol tables with imagesmulticol interline space problems

What do you call a plan that's an alternative plan in case your initial plan fails?

How can players take actions together that are impossible otherwise?

What would be Julian Assange's expected punishment, on the current English criminal law?

What LEGO pieces have "real-world" functionality?

Who can trigger ship-wide alerts in Star Trek?

How to colour the US map with Yellow, Green, Red and Blue to minimize the number of states with the colour of Green

What are the performance impacts of 'functional' Rust?

Did the new image of black hole confirm the general theory of relativity?

Why does this iterative way of solving of equation work?

How is simplicity better than precision and clarity in prose?

How to retrograde a note sequence in Finale?

Unable to start mainnet node docker container

Why use gamma over alpha radiation?

Am I ethically obligated to go into work on an off day if the reason is sudden?

Two different pronunciation of "понял"

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

What is the electric potential inside a point charge?

Slither Like a Snake

What's the difference between (size_t)-1 and ~0?

If A makes B more likely then B makes A more likely"

Active filter with series inductor and resistor - do these exist?

How can I make names more distinctive without making them longer?

How do I keep my slimes from escaping their pens?

Losing the Initialization Vector in Cipher Block Chaining



Make a p-type multicol span to full width



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Multicolumn width calculated for lX columnsVertical alignment in multicolTable (page width) in multicol?Multicol cheatsheet formatspan x columns in y multicol environmentSpan text across columns in multicolHow does multicol split?one-column multicol environmentEnumerate and multicolMulticol tables with imagesmulticol interline space problems










0















I'm using longtabu in my resume to display the content in 3 rows. In the first row of type l is the date, the second row contains the description (graduation, team member, ...) and is of the type X (which I redefined to type L to be left aligned) and the last row is of the type r and contains the place (society, university, ...).



In the second row, there should be a multicol spreading across the L and the r column. Here I want to print the graduation paper title or what exactly I've done as an employee. As I need the ability to put in a newline in here, I need the p type for the multicol, but unfortunately this goes ahead with putting in a width for the p. I don't know that width as it depends on the content of the previous line so I want to do it automatically.



How can I achieve this result? Having a multicol spreading across the two columns as with the l type, but also allowing the use of newline?



MWE



documentclassarticle
usepackage[utf8]inputenc



% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
endentrylist

enddocument









share|improve this question
















bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Does this answer help you? tex.stackexchange.com/a/76192/134144

    – leandriis
    Nov 20 '17 at 10:23











  • I copied the exact code and I'm getting the following error: Incomplete ifx; all text was ignored after line 78.. Could you please provide an MWE showing how this should be incorporated to my existing code? Thanks in advance.

    – Sam
    Nov 20 '17 at 15:13















0















I'm using longtabu in my resume to display the content in 3 rows. In the first row of type l is the date, the second row contains the description (graduation, team member, ...) and is of the type X (which I redefined to type L to be left aligned) and the last row is of the type r and contains the place (society, university, ...).



In the second row, there should be a multicol spreading across the L and the r column. Here I want to print the graduation paper title or what exactly I've done as an employee. As I need the ability to put in a newline in here, I need the p type for the multicol, but unfortunately this goes ahead with putting in a width for the p. I don't know that width as it depends on the content of the previous line so I want to do it automatically.



How can I achieve this result? Having a multicol spreading across the two columns as with the l type, but also allowing the use of newline?



MWE



documentclassarticle
usepackage[utf8]inputenc



% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
endentrylist

enddocument









share|improve this question
















bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Does this answer help you? tex.stackexchange.com/a/76192/134144

    – leandriis
    Nov 20 '17 at 10:23











  • I copied the exact code and I'm getting the following error: Incomplete ifx; all text was ignored after line 78.. Could you please provide an MWE showing how this should be incorporated to my existing code? Thanks in advance.

    – Sam
    Nov 20 '17 at 15:13













0












0








0


1






I'm using longtabu in my resume to display the content in 3 rows. In the first row of type l is the date, the second row contains the description (graduation, team member, ...) and is of the type X (which I redefined to type L to be left aligned) and the last row is of the type r and contains the place (society, university, ...).



In the second row, there should be a multicol spreading across the L and the r column. Here I want to print the graduation paper title or what exactly I've done as an employee. As I need the ability to put in a newline in here, I need the p type for the multicol, but unfortunately this goes ahead with putting in a width for the p. I don't know that width as it depends on the content of the previous line so I want to do it automatically.



How can I achieve this result? Having a multicol spreading across the two columns as with the l type, but also allowing the use of newline?



MWE



documentclassarticle
usepackage[utf8]inputenc



% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
endentrylist

enddocument









share|improve this question
















I'm using longtabu in my resume to display the content in 3 rows. In the first row of type l is the date, the second row contains the description (graduation, team member, ...) and is of the type X (which I redefined to type L to be left aligned) and the last row is of the type r and contains the place (society, university, ...).



In the second row, there should be a multicol spreading across the L and the r column. Here I want to print the graduation paper title or what exactly I've done as an employee. As I need the ability to put in a newline in here, I need the p type for the multicol, but unfortunately this goes ahead with putting in a width for the p. I don't know that width as it depends on the content of the previous line so I want to do it automatically.



How can I achieve this result? Having a multicol spreading across the two columns as with the l type, but also allowing the use of newline?



MWE



documentclassarticle
usepackage[utf8]inputenc



% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
endentrylist

enddocument






multicol tabu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 '17 at 7:40







Sam

















asked Nov 20 '17 at 7:31









SamSam

815513




815513





bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Does this answer help you? tex.stackexchange.com/a/76192/134144

    – leandriis
    Nov 20 '17 at 10:23











  • I copied the exact code and I'm getting the following error: Incomplete ifx; all text was ignored after line 78.. Could you please provide an MWE showing how this should be incorporated to my existing code? Thanks in advance.

    – Sam
    Nov 20 '17 at 15:13

















  • Does this answer help you? tex.stackexchange.com/a/76192/134144

    – leandriis
    Nov 20 '17 at 10:23











  • I copied the exact code and I'm getting the following error: Incomplete ifx; all text was ignored after line 78.. Could you please provide an MWE showing how this should be incorporated to my existing code? Thanks in advance.

    – Sam
    Nov 20 '17 at 15:13
















Does this answer help you? tex.stackexchange.com/a/76192/134144

– leandriis
Nov 20 '17 at 10:23





Does this answer help you? tex.stackexchange.com/a/76192/134144

– leandriis
Nov 20 '17 at 10:23













I copied the exact code and I'm getting the following error: Incomplete ifx; all text was ignored after line 78.. Could you please provide an MWE showing how this should be incorporated to my existing code? Thanks in advance.

– Sam
Nov 20 '17 at 15:13





I copied the exact code and I'm getting the following error: Incomplete ifx; all text was ignored after line 78.. Could you please provide an MWE showing how this should be incorporated to my existing code? Thanks in advance.

– Sam
Nov 20 '17 at 15:13










1 Answer
1






active

oldest

votes


















0














I am not completely sure, if I have adapted the code correctly, but the following example seems to work:



documentclassarticle
usepackage[utf8]inputenc

usepackagecalc
usepackagelipsum

% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument
makeatletter
newdimenzzz
ifxLT@i@undefined
zzz=8cm
else
globalzzzz@
begingroup
@tempcntaz@
defLT@entry#1#2%
advance@tempcnta@ne
ifnum@tempcnta=1 globaladvancezzz#2relaxfi
ifnum@tempcnta=2 globaladvancezzz#2relaxfi

LT@i
endgroup
advancezzz-2tabcolsep
advancezzz-arrayrulewidth

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
& multicolumn2l%
rlapparbox[t]zzzlipsum[2]\
endentrylist

enddocument





share|improve this answer























  • Yes, this works, but it's not what I intended to do. First, it seems to be impossible to make a command out of this and call it the AtBeginDocument command. Furthermore it only works if you add the multicolumn to the entryitem as you did. The way my code was intended to work is to replace multicolumn2p6cmitshape #4 by your multicolumn2l% rlapparbox[t]zzzitshape #4. This does not produce any errors, but it also does not span the parbox to the full width.

    – Sam
    Nov 20 '17 at 15:56











  • In the mean time I tried to get this to work the way you intended it to but unfortunately I was unsuccessfull. Maybe @DavidCarlisle or seomeone else has a better idea.

    – leandriis
    Nov 21 '17 at 21:22











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%2f402193%2fmake-a-p-type-multicol-span-to-full-width%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














I am not completely sure, if I have adapted the code correctly, but the following example seems to work:



documentclassarticle
usepackage[utf8]inputenc

usepackagecalc
usepackagelipsum

% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument
makeatletter
newdimenzzz
ifxLT@i@undefined
zzz=8cm
else
globalzzzz@
begingroup
@tempcntaz@
defLT@entry#1#2%
advance@tempcnta@ne
ifnum@tempcnta=1 globaladvancezzz#2relaxfi
ifnum@tempcnta=2 globaladvancezzz#2relaxfi

LT@i
endgroup
advancezzz-2tabcolsep
advancezzz-arrayrulewidth

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
& multicolumn2l%
rlapparbox[t]zzzlipsum[2]\
endentrylist

enddocument





share|improve this answer























  • Yes, this works, but it's not what I intended to do. First, it seems to be impossible to make a command out of this and call it the AtBeginDocument command. Furthermore it only works if you add the multicolumn to the entryitem as you did. The way my code was intended to work is to replace multicolumn2p6cmitshape #4 by your multicolumn2l% rlapparbox[t]zzzitshape #4. This does not produce any errors, but it also does not span the parbox to the full width.

    – Sam
    Nov 20 '17 at 15:56











  • In the mean time I tried to get this to work the way you intended it to but unfortunately I was unsuccessfull. Maybe @DavidCarlisle or seomeone else has a better idea.

    – leandriis
    Nov 21 '17 at 21:22















0














I am not completely sure, if I have adapted the code correctly, but the following example seems to work:



documentclassarticle
usepackage[utf8]inputenc

usepackagecalc
usepackagelipsum

% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument
makeatletter
newdimenzzz
ifxLT@i@undefined
zzz=8cm
else
globalzzzz@
begingroup
@tempcntaz@
defLT@entry#1#2%
advance@tempcnta@ne
ifnum@tempcnta=1 globaladvancezzz#2relaxfi
ifnum@tempcnta=2 globaladvancezzz#2relaxfi

LT@i
endgroup
advancezzz-2tabcolsep
advancezzz-arrayrulewidth

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
& multicolumn2l%
rlapparbox[t]zzzlipsum[2]\
endentrylist

enddocument





share|improve this answer























  • Yes, this works, but it's not what I intended to do. First, it seems to be impossible to make a command out of this and call it the AtBeginDocument command. Furthermore it only works if you add the multicolumn to the entryitem as you did. The way my code was intended to work is to replace multicolumn2p6cmitshape #4 by your multicolumn2l% rlapparbox[t]zzzitshape #4. This does not produce any errors, but it also does not span the parbox to the full width.

    – Sam
    Nov 20 '17 at 15:56











  • In the mean time I tried to get this to work the way you intended it to but unfortunately I was unsuccessfull. Maybe @DavidCarlisle or seomeone else has a better idea.

    – leandriis
    Nov 21 '17 at 21:22













0












0








0







I am not completely sure, if I have adapted the code correctly, but the following example seems to work:



documentclassarticle
usepackage[utf8]inputenc

usepackagecalc
usepackagelipsum

% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument
makeatletter
newdimenzzz
ifxLT@i@undefined
zzz=8cm
else
globalzzzz@
begingroup
@tempcntaz@
defLT@entry#1#2%
advance@tempcnta@ne
ifnum@tempcnta=1 globaladvancezzz#2relaxfi
ifnum@tempcnta=2 globaladvancezzz#2relaxfi

LT@i
endgroup
advancezzz-2tabcolsep
advancezzz-arrayrulewidth

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
& multicolumn2l%
rlapparbox[t]zzzlipsum[2]\
endentrylist

enddocument





share|improve this answer













I am not completely sure, if I have adapted the code correctly, but the following example seems to work:



documentclassarticle
usepackage[utf8]inputenc

usepackagecalc
usepackagelipsum

% %%%%%%%%%%%%%%%
% Packages and
% Package options
% %%%%%%%%%%%%%%%

usepackagegeometry, tabu, longtable, xparse, parskip
geometry%
verbose,%
a4paper,%
tmargin=25mm,%
bmargin=25mm,%
lmargin=25mm,%
rmargin=20mm,%
nomarginpar,%
nohead,%

newcolumntypeL>raggedrightarraybackslashX



% %%%%%%%%%%%%%%%
% New environment
% %%%%%%%%%%%%%%%

NewDocumentEnvironmententrylistm%
%
LARGEbfseries #1
par%
addvspace.5em%
longtabu@ l L r @%
%
%

endlongtabu
paraddvspace2em



% %%%%%%%%%%%
% New Command
% %%%%%%%%%%%

newcommandentryitem[4]
#1
&
bfseries #2
&
smallcolorlight-gray#3\
&
multicolumn2p6cmitshape #4\[.5baselineskip]




% %%%%%%%%
% Document
% %%%%%%%%

begindocument
makeatletter
newdimenzzz
ifxLT@i@undefined
zzz=8cm
else
globalzzzz@
begingroup
@tempcntaz@
defLT@entry#1#2%
advance@tempcnta@ne
ifnum@tempcnta=1 globaladvancezzz#2relaxfi
ifnum@tempcnta=2 globaladvancezzz#2relaxfi

LT@i
endgroup
advancezzz-2tabcolsep
advancezzz-arrayrulewidth

beginentrylistTest
entryitem
2014 textendash 2018
Member of the foo research team
Foo society
Working on a new foo

entryitem
2014
Graduation to master of bar
Bar school
The juxtaposition of foo and bar
& multicolumn2l%
rlapparbox[t]zzzlipsum[2]\
endentrylist

enddocument






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 20 '17 at 15:23









leandriisleandriis

11.3k1733




11.3k1733












  • Yes, this works, but it's not what I intended to do. First, it seems to be impossible to make a command out of this and call it the AtBeginDocument command. Furthermore it only works if you add the multicolumn to the entryitem as you did. The way my code was intended to work is to replace multicolumn2p6cmitshape #4 by your multicolumn2l% rlapparbox[t]zzzitshape #4. This does not produce any errors, but it also does not span the parbox to the full width.

    – Sam
    Nov 20 '17 at 15:56











  • In the mean time I tried to get this to work the way you intended it to but unfortunately I was unsuccessfull. Maybe @DavidCarlisle or seomeone else has a better idea.

    – leandriis
    Nov 21 '17 at 21:22

















  • Yes, this works, but it's not what I intended to do. First, it seems to be impossible to make a command out of this and call it the AtBeginDocument command. Furthermore it only works if you add the multicolumn to the entryitem as you did. The way my code was intended to work is to replace multicolumn2p6cmitshape #4 by your multicolumn2l% rlapparbox[t]zzzitshape #4. This does not produce any errors, but it also does not span the parbox to the full width.

    – Sam
    Nov 20 '17 at 15:56











  • In the mean time I tried to get this to work the way you intended it to but unfortunately I was unsuccessfull. Maybe @DavidCarlisle or seomeone else has a better idea.

    – leandriis
    Nov 21 '17 at 21:22
















Yes, this works, but it's not what I intended to do. First, it seems to be impossible to make a command out of this and call it the AtBeginDocument command. Furthermore it only works if you add the multicolumn to the entryitem as you did. The way my code was intended to work is to replace multicolumn2p6cmitshape #4 by your multicolumn2l% rlapparbox[t]zzzitshape #4. This does not produce any errors, but it also does not span the parbox to the full width.

– Sam
Nov 20 '17 at 15:56





Yes, this works, but it's not what I intended to do. First, it seems to be impossible to make a command out of this and call it the AtBeginDocument command. Furthermore it only works if you add the multicolumn to the entryitem as you did. The way my code was intended to work is to replace multicolumn2p6cmitshape #4 by your multicolumn2l% rlapparbox[t]zzzitshape #4. This does not produce any errors, but it also does not span the parbox to the full width.

– Sam
Nov 20 '17 at 15:56













In the mean time I tried to get this to work the way you intended it to but unfortunately I was unsuccessfull. Maybe @DavidCarlisle or seomeone else has a better idea.

– leandriis
Nov 21 '17 at 21:22





In the mean time I tried to get this to work the way you intended it to but unfortunately I was unsuccessfull. Maybe @DavidCarlisle or seomeone else has a better idea.

– leandriis
Nov 21 '17 at 21:22

















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%2f402193%2fmake-a-p-type-multicol-span-to-full-width%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

Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm