Change column specification for single specific cellsTabular environment column specificationmulti-page two column table in a single column documentmathbf ignored in table column specificationTabular and grid typesettingDocument possessing simultaneously text in single column and double column;Table without column specificationtabu package - gaps in vertical linesVertical alignment of multi column cellsCan't change longtable width for middle columnProblem in creating multi column tables with specific size text
Self-Preservation: How to DM NPCs that Love Living?
How do I get a list of only the files (not the directories) from a package?
Is having a hidden directory under /etc safe?
Recording the inputs of a command and producing a list of them later on
Select * from View takes 4 minutes
Beginner's snake game using PyGame
How to decline physical affection from a child whose parents are pressuring them?
What should I do about a religious player who refuses to accept the existence of multiple gods in D&D?
Are grass strips more dangerous than tarmac?
Joist hangers to use for rough cut 2x8 (2 3/4" x 8 3/4")?
What does it mean by "d-ism of Leibniz" and "dotage of Newton" in simple English?
Is the capacitor drawn or wired wrongly?
Make a formula to get the highest score
Can an old DSLR be upgraded to match modern smartphone image quality
Coding Challenge Solution - Good Range
Why is Colorado so different politically from nearby states?
What does War Machine's "Canopy! Canopy!" line mean in "Avengers: Endgame"?
Accidentally cashed a check twice
Singlequote and backslash
The deliberate use of misleading terminology
Does a component pouch automatically contain components?
Is there any Biblical Basis for 400 years of silence between Old and New Testament?
How crucial is a waifu game storyline?
What is a natural deduction proof from ~(A↔B) to ~(A→B)?
Change column specification for single specific cells
Tabular environment column specificationmulti-page two column table in a single column documentmathbf ignored in table column specificationTabular and grid typesettingDocument possessing simultaneously text in single column and double column;Table without column specificationtabu package - gaps in vertical linesVertical alignment of multi column cellsCan't change longtable width for middle columnProblem in creating multi column tables with specific size text
Say I have a table with some data, a header row and a summary. The table has specific column specifications, like below
documentclassarticle
setlengthparskip1em
begindocument
% Consider this table:
begintabularl@~--~l%<- Makes a dash between columns
NODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
Sum & NODASH!
endtabular
Below, a possible workaround that I don't really fancy
defnodash#1multicolumn1l#1
% Now using the nodash to remove the dashes that I don't want
begintabularl@~--~l
nodashNODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
nodashSum & NODASH!
endtabular
enddocument
Which produces the following output:
So I'm looking for a more canonical way to produce the bottom table.
Any ideas?
tables multicolumn columns
add a comment |
Say I have a table with some data, a header row and a summary. The table has specific column specifications, like below
documentclassarticle
setlengthparskip1em
begindocument
% Consider this table:
begintabularl@~--~l%<- Makes a dash between columns
NODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
Sum & NODASH!
endtabular
Below, a possible workaround that I don't really fancy
defnodash#1multicolumn1l#1
% Now using the nodash to remove the dashes that I don't want
begintabularl@~--~l
nodashNODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
nodashSum & NODASH!
endtabular
enddocument
Which produces the following output:
So I'm looking for a more canonical way to produce the bottom table.
Any ideas?
tables multicolumn columns
2
Your write-up and code are slightly confusing. E.g., what is the purpose of the third column in bothtabular
environments?
– Mico
Apr 14 at 11:01
@Mico yup - that was very confusing, and there wasn't supposed to be a third column! Is it clear now?
– Andreas Storvik Strauman
Apr 14 at 13:19
Another issue with your posting is that the title contains the qualifier "for only one single row". However, a careful reading of your posting suggests that you actually wish to change the column specification for two cells, not for one row. You may want to edit your posting to eliminate the need for people to guess as to what you really want to achieve...
– Mico
Apr 14 at 13:50
add a comment |
Say I have a table with some data, a header row and a summary. The table has specific column specifications, like below
documentclassarticle
setlengthparskip1em
begindocument
% Consider this table:
begintabularl@~--~l%<- Makes a dash between columns
NODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
Sum & NODASH!
endtabular
Below, a possible workaround that I don't really fancy
defnodash#1multicolumn1l#1
% Now using the nodash to remove the dashes that I don't want
begintabularl@~--~l
nodashNODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
nodashSum & NODASH!
endtabular
enddocument
Which produces the following output:
So I'm looking for a more canonical way to produce the bottom table.
Any ideas?
tables multicolumn columns
Say I have a table with some data, a header row and a summary. The table has specific column specifications, like below
documentclassarticle
setlengthparskip1em
begindocument
% Consider this table:
begintabularl@~--~l%<- Makes a dash between columns
NODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
Sum & NODASH!
endtabular
Below, a possible workaround that I don't really fancy
defnodash#1multicolumn1l#1
% Now using the nodash to remove the dashes that I don't want
begintabularl@~--~l
nodashNODASH1 & NODASH2 \hline
beforedash & afterdash \
beforedash & afterdash \hline
nodashSum & NODASH!
endtabular
enddocument
Which produces the following output:
So I'm looking for a more canonical way to produce the bottom table.
Any ideas?
tables multicolumn columns
tables multicolumn columns
edited Apr 14 at 13:56
Andreas Storvik Strauman
asked Apr 14 at 10:52
Andreas Storvik StraumanAndreas Storvik Strauman
2,686519
2,686519
2
Your write-up and code are slightly confusing. E.g., what is the purpose of the third column in bothtabular
environments?
– Mico
Apr 14 at 11:01
@Mico yup - that was very confusing, and there wasn't supposed to be a third column! Is it clear now?
– Andreas Storvik Strauman
Apr 14 at 13:19
Another issue with your posting is that the title contains the qualifier "for only one single row". However, a careful reading of your posting suggests that you actually wish to change the column specification for two cells, not for one row. You may want to edit your posting to eliminate the need for people to guess as to what you really want to achieve...
– Mico
Apr 14 at 13:50
add a comment |
2
Your write-up and code are slightly confusing. E.g., what is the purpose of the third column in bothtabular
environments?
– Mico
Apr 14 at 11:01
@Mico yup - that was very confusing, and there wasn't supposed to be a third column! Is it clear now?
– Andreas Storvik Strauman
Apr 14 at 13:19
Another issue with your posting is that the title contains the qualifier "for only one single row". However, a careful reading of your posting suggests that you actually wish to change the column specification for two cells, not for one row. You may want to edit your posting to eliminate the need for people to guess as to what you really want to achieve...
– Mico
Apr 14 at 13:50
2
2
Your write-up and code are slightly confusing. E.g., what is the purpose of the third column in both
tabular
environments?– Mico
Apr 14 at 11:01
Your write-up and code are slightly confusing. E.g., what is the purpose of the third column in both
tabular
environments?– Mico
Apr 14 at 11:01
@Mico yup - that was very confusing, and there wasn't supposed to be a third column! Is it clear now?
– Andreas Storvik Strauman
Apr 14 at 13:19
@Mico yup - that was very confusing, and there wasn't supposed to be a third column! Is it clear now?
– Andreas Storvik Strauman
Apr 14 at 13:19
Another issue with your posting is that the title contains the qualifier "for only one single row". However, a careful reading of your posting suggests that you actually wish to change the column specification for two cells, not for one row. You may want to edit your posting to eliminate the need for people to guess as to what you really want to achieve...
– Mico
Apr 14 at 13:50
Another issue with your posting is that the title contains the qualifier "for only one single row". However, a careful reading of your posting suggests that you actually wish to change the column specification for two cells, not for one row. You may want to edit your posting to eliminate the need for people to guess as to what you really want to achieve...
– Mico
Apr 14 at 13:50
add a comment |
1 Answer
1
active
oldest
votes
Using multicolumn1
is the intended interface to specifying a different layout for heading or other rows. Note that you can get away with the simple
multicolumn1l...
here as it is a left-aligned column.
For a right (or center) aligned column you would need
multicolumn1r@phantom~--~#1
so that the alignment didn't spread into the inter-column space generated by the @
expression in the main tabular preamble.
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%2f484775%2fchange-column-specification-for-single-specific-cells%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
Using multicolumn1
is the intended interface to specifying a different layout for heading or other rows. Note that you can get away with the simple
multicolumn1l...
here as it is a left-aligned column.
For a right (or center) aligned column you would need
multicolumn1r@phantom~--~#1
so that the alignment didn't spread into the inter-column space generated by the @
expression in the main tabular preamble.
add a comment |
Using multicolumn1
is the intended interface to specifying a different layout for heading or other rows. Note that you can get away with the simple
multicolumn1l...
here as it is a left-aligned column.
For a right (or center) aligned column you would need
multicolumn1r@phantom~--~#1
so that the alignment didn't spread into the inter-column space generated by the @
expression in the main tabular preamble.
add a comment |
Using multicolumn1
is the intended interface to specifying a different layout for heading or other rows. Note that you can get away with the simple
multicolumn1l...
here as it is a left-aligned column.
For a right (or center) aligned column you would need
multicolumn1r@phantom~--~#1
so that the alignment didn't spread into the inter-column space generated by the @
expression in the main tabular preamble.
Using multicolumn1
is the intended interface to specifying a different layout for heading or other rows. Note that you can get away with the simple
multicolumn1l...
here as it is a left-aligned column.
For a right (or center) aligned column you would need
multicolumn1r@phantom~--~#1
so that the alignment didn't spread into the inter-column space generated by the @
expression in the main tabular preamble.
answered Apr 14 at 11:14
David CarlisleDavid Carlisle
507k4211541906
507k4211541906
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%2f484775%2fchange-column-specification-for-single-specific-cells%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
2
Your write-up and code are slightly confusing. E.g., what is the purpose of the third column in both
tabular
environments?– Mico
Apr 14 at 11:01
@Mico yup - that was very confusing, and there wasn't supposed to be a third column! Is it clear now?
– Andreas Storvik Strauman
Apr 14 at 13:19
Another issue with your posting is that the title contains the qualifier "for only one single row". However, a careful reading of your posting suggests that you actually wish to change the column specification for two cells, not for one row. You may want to edit your posting to eliminate the need for people to guess as to what you really want to achieve...
– Mico
Apr 14 at 13:50