Specifying a starting column with colortbl package and xcolorSpecify starting row number for rowcolors from colortbl packageTabular and grid typesettingProblem with doublerulesepcolor in colortblcolortbl row column color overwrite hline on screenupbracefill filling entire tabular cell and package colortbltabu package - gaps in vertical linesTable with multirow and rowcolorsMacro expansion with colortbl and tabularColumn color using the colortbl packageColumn color using the `colortbl` package - Example 4 in the manual
What do you call someone who likes to pick fights?
What is better: yes / no radio, or simple checkbox?
Proving a statement about real numbers
Power Strip for Europe
Signed and unsigned numbers
How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X
Why restrict private health insurance?
How does Ehrenfest's theorem apply to the quantum harmonic oscillator?
I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?
Is it possible that a question has only two answers?
What would be the most expensive material to an intergalactic society?
Vocabulary for giving just numbers, not a full answer
PTIJ: Why does only a Shor Tam ask at the Seder, and not a Shor Mu'ad?
Damage bonus for different weapons
NASA's RS-25 Engines
What is Tony Stark injecting into himself in Iron Man 3?
Can we track matter through time by looking at different depths in space?
Giving a career talk in my old university, how prominently should I tell students my salary?
Is it a Cyclops number? "Nobody" knows!
What is the population of Romulus in the TNG era?
Why do phishing e-mails use faked e-mail addresses instead of the real one?
MySQL importing CSV files really slow
What are some noteworthy "mic-drop" moments in math?
Why is there an extra space when I type "ls" in the Desktop directory?
Specifying a starting column with colortbl package and xcolor
Specify starting row number for rowcolors from colortbl packageTabular and grid typesettingProblem with doublerulesepcolor in colortblcolortbl row column color overwrite hline on screenupbracefill filling entire tabular cell and package colortbltabu package - gaps in vertical linesTable with multirow and rowcolorsMacro expansion with colortbl and tabularColumn color using the colortbl packageColumn color using the `colortbl` package - Example 4 in the manual
I have a table that I have attempted to set up as follows (contrived example):
% Preview source code
%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
providecommandtabularnewline\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
usepackage[table]xcolor %for use in color links
usepackagecolortbl
makeatother
usepackagebabel
begindocument
noindent beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
multirow8*cellcolorwhiterotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
parendflushleft
enddocument
Apologies in advance for this being generated code, but a commenter below asked for a complete compilable example instead of just the tabular snippet that I had had originally posted. Hopefully this will make it clearer, but I apologize in advance if it has obfuscated the problem.
Anyways, this renders as:
As seen, the sideways header that I am using on the left side of the table gets overwritten by the color of the row, interrupting the text.
What I would like to do is have that entire first column containing the left row header be white on all rows, which I tried to do by adding cellcolorwhite
to the multirow cell, but as the image indicates, it only cleared the top gray strip in that cell, and didn't do anything to the rest of the first column.
How can I get the full text of the header to show up correctly?
tables rotating colortbl rowcolor cellcolor
add a comment |
I have a table that I have attempted to set up as follows (contrived example):
% Preview source code
%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
providecommandtabularnewline\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
usepackage[table]xcolor %for use in color links
usepackagecolortbl
makeatother
usepackagebabel
begindocument
noindent beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
multirow8*cellcolorwhiterotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
parendflushleft
enddocument
Apologies in advance for this being generated code, but a commenter below asked for a complete compilable example instead of just the tabular snippet that I had had originally posted. Hopefully this will make it clearer, but I apologize in advance if it has obfuscated the problem.
Anyways, this renders as:
As seen, the sideways header that I am using on the left side of the table gets overwritten by the color of the row, interrupting the text.
What I would like to do is have that entire first column containing the left row header be white on all rows, which I tried to do by adding cellcolorwhite
to the multirow cell, but as the image indicates, it only cleared the top gray strip in that cell, and didn't do anything to the rest of the first column.
How can I get the full text of the header to show up correctly?
tables rotating colortbl rowcolor cellcolor
Can you please make your code snippet compilable, then we have not to guess what you are doing?
– Kurt
3 hours ago
I provided only a snippet because that was all that was relevant. I have now pasted a full sample document as generated by the TeX editor I am using
– Mark
3 hours ago
add a comment |
I have a table that I have attempted to set up as follows (contrived example):
% Preview source code
%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
providecommandtabularnewline\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
usepackage[table]xcolor %for use in color links
usepackagecolortbl
makeatother
usepackagebabel
begindocument
noindent beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
multirow8*cellcolorwhiterotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
parendflushleft
enddocument
Apologies in advance for this being generated code, but a commenter below asked for a complete compilable example instead of just the tabular snippet that I had had originally posted. Hopefully this will make it clearer, but I apologize in advance if it has obfuscated the problem.
Anyways, this renders as:
As seen, the sideways header that I am using on the left side of the table gets overwritten by the color of the row, interrupting the text.
What I would like to do is have that entire first column containing the left row header be white on all rows, which I tried to do by adding cellcolorwhite
to the multirow cell, but as the image indicates, it only cleared the top gray strip in that cell, and didn't do anything to the rest of the first column.
How can I get the full text of the header to show up correctly?
tables rotating colortbl rowcolor cellcolor
I have a table that I have attempted to set up as follows (contrived example):
% Preview source code
%% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
providecommandtabularnewline\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
usepackage[table]xcolor %for use in color links
usepackagecolortbl
makeatother
usepackagebabel
begindocument
noindent beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
multirow8*cellcolorwhiterotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
parendflushleft
enddocument
Apologies in advance for this being generated code, but a commenter below asked for a complete compilable example instead of just the tabular snippet that I had had originally posted. Hopefully this will make it clearer, but I apologize in advance if it has obfuscated the problem.
Anyways, this renders as:
As seen, the sideways header that I am using on the left side of the table gets overwritten by the color of the row, interrupting the text.
What I would like to do is have that entire first column containing the left row header be white on all rows, which I tried to do by adding cellcolorwhite
to the multirow cell, but as the image indicates, it only cleared the top gray strip in that cell, and didn't do anything to the rest of the first column.
How can I get the full text of the header to show up correctly?
tables rotating colortbl rowcolor cellcolor
tables rotating colortbl rowcolor cellcolor
edited 3 hours ago
Mark
asked 3 hours ago
MarkMark
1504
1504
Can you please make your code snippet compilable, then we have not to guess what you are doing?
– Kurt
3 hours ago
I provided only a snippet because that was all that was relevant. I have now pasted a full sample document as generated by the TeX editor I am using
– Mark
3 hours ago
add a comment |
Can you please make your code snippet compilable, then we have not to guess what you are doing?
– Kurt
3 hours ago
I provided only a snippet because that was all that was relevant. I have now pasted a full sample document as generated by the TeX editor I am using
– Mark
3 hours ago
Can you please make your code snippet compilable, then we have not to guess what you are doing?
– Kurt
3 hours ago
Can you please make your code snippet compilable, then we have not to guess what you are doing?
– Kurt
3 hours ago
I provided only a snippet because that was all that was relevant. I have now pasted a full sample document as generated by the TeX editor I am using
– Mark
3 hours ago
I provided only a snippet because that was all that was relevant. I have now pasted a full sample document as generated by the TeX editor I am using
– Mark
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
Using multirow
is the cause of your troubles.
documentclassarticle
usepackagegraphicx
usepackage[table]xcolor %for use in color links
begindocument
beginflushleft
begintabular@c
rotatebox[origin=c]90Lorem ipsumhspace2dimexprhtstrutbox+dpstrutbox
endtabular%
rowcolors3gray!20%
begintabularcccccc
& multicolumn5cLorem ipsum dolor sit amettabularnewline
& Header & Header & Header & Header & Headertabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
endflushleft
enddocument
I have reduced the document to the minimum necessary.
Note that noindentbeginflushleft
is nonsense, because it just adds unwanted vertical space (a blank line). Also parendflushleft
is not necessary.
What does the strange hspace
command? It adds the vertical size of the two header rows.
add a comment |
In the following code, I have added a cellcolorwhite
command to all the cells that are in a gray row and should actually have a white background. I have also shifted the multirow
command from the first row to the last row and used -8
instead of 8
:
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
usepackage[table]xcolor
begindocument
noindent
beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
multirow-8*rotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
endtabular
parendflushleft
enddocument
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%2f478784%2fspecifying-a-starting-column-with-colortbl-package-and-xcolor%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
Using multirow
is the cause of your troubles.
documentclassarticle
usepackagegraphicx
usepackage[table]xcolor %for use in color links
begindocument
beginflushleft
begintabular@c
rotatebox[origin=c]90Lorem ipsumhspace2dimexprhtstrutbox+dpstrutbox
endtabular%
rowcolors3gray!20%
begintabularcccccc
& multicolumn5cLorem ipsum dolor sit amettabularnewline
& Header & Header & Header & Header & Headertabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
endflushleft
enddocument
I have reduced the document to the minimum necessary.
Note that noindentbeginflushleft
is nonsense, because it just adds unwanted vertical space (a blank line). Also parendflushleft
is not necessary.
What does the strange hspace
command? It adds the vertical size of the two header rows.
add a comment |
Using multirow
is the cause of your troubles.
documentclassarticle
usepackagegraphicx
usepackage[table]xcolor %for use in color links
begindocument
beginflushleft
begintabular@c
rotatebox[origin=c]90Lorem ipsumhspace2dimexprhtstrutbox+dpstrutbox
endtabular%
rowcolors3gray!20%
begintabularcccccc
& multicolumn5cLorem ipsum dolor sit amettabularnewline
& Header & Header & Header & Header & Headertabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
endflushleft
enddocument
I have reduced the document to the minimum necessary.
Note that noindentbeginflushleft
is nonsense, because it just adds unwanted vertical space (a blank line). Also parendflushleft
is not necessary.
What does the strange hspace
command? It adds the vertical size of the two header rows.
add a comment |
Using multirow
is the cause of your troubles.
documentclassarticle
usepackagegraphicx
usepackage[table]xcolor %for use in color links
begindocument
beginflushleft
begintabular@c
rotatebox[origin=c]90Lorem ipsumhspace2dimexprhtstrutbox+dpstrutbox
endtabular%
rowcolors3gray!20%
begintabularcccccc
& multicolumn5cLorem ipsum dolor sit amettabularnewline
& Header & Header & Header & Header & Headertabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
endflushleft
enddocument
I have reduced the document to the minimum necessary.
Note that noindentbeginflushleft
is nonsense, because it just adds unwanted vertical space (a blank line). Also parendflushleft
is not necessary.
What does the strange hspace
command? It adds the vertical size of the two header rows.
Using multirow
is the cause of your troubles.
documentclassarticle
usepackagegraphicx
usepackage[table]xcolor %for use in color links
begindocument
beginflushleft
begintabular@c
rotatebox[origin=c]90Lorem ipsumhspace2dimexprhtstrutbox+dpstrutbox
endtabular%
rowcolors3gray!20%
begintabularcccccc
& multicolumn5cLorem ipsum dolor sit amettabularnewline
& Header & Header & Header & Header & Headertabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
Content & ### & ### & ### & ### & ###tabularnewline
endtabularrowcolors2
endflushleft
enddocument
I have reduced the document to the minimum necessary.
Note that noindentbeginflushleft
is nonsense, because it just adds unwanted vertical space (a blank line). Also parendflushleft
is not necessary.
What does the strange hspace
command? It adds the vertical size of the two header rows.
answered 2 hours ago
egregegreg
725k8819193224
725k8819193224
add a comment |
add a comment |
In the following code, I have added a cellcolorwhite
command to all the cells that are in a gray row and should actually have a white background. I have also shifted the multirow
command from the first row to the last row and used -8
instead of 8
:
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
usepackage[table]xcolor
begindocument
noindent
beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
multirow-8*rotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
endtabular
parendflushleft
enddocument
add a comment |
In the following code, I have added a cellcolorwhite
command to all the cells that are in a gray row and should actually have a white background. I have also shifted the multirow
command from the first row to the last row and used -8
instead of 8
:
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
usepackage[table]xcolor
begindocument
noindent
beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
multirow-8*rotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
endtabular
parendflushleft
enddocument
add a comment |
In the following code, I have added a cellcolorwhite
command to all the cells that are in a gray row and should actually have a white background. I have also shifted the multirow
command from the first row to the last row and used -8
instead of 8
:
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
usepackage[table]xcolor
begindocument
noindent
beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
multirow-8*rotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
endtabular
parendflushleft
enddocument
In the following code, I have added a cellcolorwhite
command to all the cells that are in a gray row and should actually have a white background. I have also shifted the multirow
command from the first row to the last row and used -8
instead of 8
:
documentclass[english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagegeometry
geometryverbose,tmargin=0.25in,bmargin=0.25cm,lmargin=0.25cm,rmargin=0.25cm
usepackagearray
usepackagemultirow
usepackagegraphicx
usepackage[table]xcolor
begindocument
noindent
beginflushleft
rowcolors3gray!20%
begintabularccccccc
& & multicolumn5cLorem ipsum dolor sit amettabularnewline
& & Header & Header & Header & Header & Headertabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
& Content & ### & ### & ### & ### & ###tabularnewline
cellcolorwhite & Content & ### & ### & ### & ### & ###tabularnewline
multirow-8*rotatebox90Lorem ipsum & Content & ### & ### & ### & ### & ###tabularnewline
endtabular
parendflushleft
enddocument
answered 3 hours ago
leandriisleandriis
9,7751530
9,7751530
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%2f478784%2fspecifying-a-starting-column-with-colortbl-package-and-xcolor%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
-cellcolor, colortbl, rotating, rowcolor, tables
Can you please make your code snippet compilable, then we have not to guess what you are doing?
– Kurt
3 hours ago
I provided only a snippet because that was all that was relevant. I have now pasted a full sample document as generated by the TeX editor I am using
– Mark
3 hours ago