Math cases align being colored as a tableTable with partially colored cellsColored text in table is floatingcolored table with some bold colored linesExhaustive Information about text alignment in TabularTabular and grid typesettingtabu package - gaps in vertical linesTikZ: Drawing an arc from an intersection to an intersectionAlign colored numbers in tableRecolor text, such that floats and footnotes are affected correctlycolored math with the align environment
Did Apple bundle a specific monitor with the Apple II+ for schools?
Do people with slow metabolism tend to gain weight (fat) if they stop exercising?
Why was this person allowed to become Grand Maester?
2019 gold coins to share
Why Does Mama Coco Look Old After Going to the Other World?
A map of non-pathological topology?
Is there a DSLR/mirorless camera with minimal options like a classic, simple SLR?
Do you need to let the DM know when you are multiclassing?
Are polynomials with the same roots identical?
What would be the way to say "just saying" in German? (Not the literal translation)
Difference between prepositions in "...killed during/in the war"
How can one's career as a reviewer be ended?
Printing Pascal’s triangle for n number of rows in Python
Ability To Change Root User Password (Vulnerability?)
Possible runaway argument using circuitikz
Fermat's statement about the ancients: How serious was he?
Is it possible to fly backward if you have really strong headwind?
What is this Amiga 1200 mod?
If there's something that implicates the president why is there then a national security issue? (John Dowd)
Write a function that checks if a string starts with or contains something
Who voices the small round football sized demon in Good Omens?
Does putting salt first make it easier for attacker to bruteforce the hash?
Do you have to have figures when playing D&D?
What differences exist between adamantine and adamantite in all editions of D&D?
Math cases align being colored as a table
Table with partially colored cellsColored text in table is floatingcolored table with some bold colored linesExhaustive Information about text alignment in TabularTabular and grid typesettingtabu package - gaps in vertical linesTikZ: Drawing an arc from an intersection to an intersectionAlign colored numbers in tableRecolor text, such that floats and footnotes are affected correctlycolored math with the align environment
My cases environment is being colored as a table. I do not want that. Seems tikz
is causing this, because removing it from document fix, but I use tikz everywhere in my real document.
Is there any other solutions for coloring tables without mess with cases
environment?
Below the MWE (compiled with LuaLatex)
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
rowcolors2greenpink
begintable[htb]
centering
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
tikz-pgf tables color
|
show 1 more comment
My cases environment is being colored as a table. I do not want that. Seems tikz
is causing this, because removing it from document fix, but I use tikz everywhere in my real document.
Is there any other solutions for coloring tables without mess with cases
environment?
Below the MWE (compiled with LuaLatex)
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
rowcolors2greenpink
begintable[htb]
centering
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
tikz-pgf tables color
When one removesusepackagetikz
from your MWE one gets! Undefined control sequence. l.8 rowcolors 2greenpink
. True, the cases won't be colored then but is this really what you want to say? Can you provide us with a code which runs when removingtikz
and substantiates thattikz
is the culprit?
– marmot
8 hours ago
Please also remove therowcolors
. Since, seemsrowcolors
is being provided bytikz
.
– Lin
8 hours ago
Seems is a mix of[table]
parameter androwcolors
, don't know who really provides. Don't know enough about latex internals.
– Lin
8 hours ago
Yes, if you removerowcolors
, neither the table nor thecases
environment will be colored.rowcolors
can be made work by addingusepackage[table]xcolor usepackagecolortbl
, i.e. you do not needtikz
for that. So if you do not want the cases to be colored, either do not userowcolors
, or just use them locally in the tables you want to color.
– marmot
8 hours ago
should be used thexcolor
orcolortbl
or both?
– Lin
8 hours ago
|
show 1 more comment
My cases environment is being colored as a table. I do not want that. Seems tikz
is causing this, because removing it from document fix, but I use tikz everywhere in my real document.
Is there any other solutions for coloring tables without mess with cases
environment?
Below the MWE (compiled with LuaLatex)
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
rowcolors2greenpink
begintable[htb]
centering
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
tikz-pgf tables color
My cases environment is being colored as a table. I do not want that. Seems tikz
is causing this, because removing it from document fix, but I use tikz everywhere in my real document.
Is there any other solutions for coloring tables without mess with cases
environment?
Below the MWE (compiled with LuaLatex)
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
rowcolors2greenpink
begintable[htb]
centering
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
tikz-pgf tables color
tikz-pgf tables color
asked 8 hours ago
LinLin
40017
40017
When one removesusepackagetikz
from your MWE one gets! Undefined control sequence. l.8 rowcolors 2greenpink
. True, the cases won't be colored then but is this really what you want to say? Can you provide us with a code which runs when removingtikz
and substantiates thattikz
is the culprit?
– marmot
8 hours ago
Please also remove therowcolors
. Since, seemsrowcolors
is being provided bytikz
.
– Lin
8 hours ago
Seems is a mix of[table]
parameter androwcolors
, don't know who really provides. Don't know enough about latex internals.
– Lin
8 hours ago
Yes, if you removerowcolors
, neither the table nor thecases
environment will be colored.rowcolors
can be made work by addingusepackage[table]xcolor usepackagecolortbl
, i.e. you do not needtikz
for that. So if you do not want the cases to be colored, either do not userowcolors
, or just use them locally in the tables you want to color.
– marmot
8 hours ago
should be used thexcolor
orcolortbl
or both?
– Lin
8 hours ago
|
show 1 more comment
When one removesusepackagetikz
from your MWE one gets! Undefined control sequence. l.8 rowcolors 2greenpink
. True, the cases won't be colored then but is this really what you want to say? Can you provide us with a code which runs when removingtikz
and substantiates thattikz
is the culprit?
– marmot
8 hours ago
Please also remove therowcolors
. Since, seemsrowcolors
is being provided bytikz
.
– Lin
8 hours ago
Seems is a mix of[table]
parameter androwcolors
, don't know who really provides. Don't know enough about latex internals.
– Lin
8 hours ago
Yes, if you removerowcolors
, neither the table nor thecases
environment will be colored.rowcolors
can be made work by addingusepackage[table]xcolor usepackagecolortbl
, i.e. you do not needtikz
for that. So if you do not want the cases to be colored, either do not userowcolors
, or just use them locally in the tables you want to color.
– marmot
8 hours ago
should be used thexcolor
orcolortbl
or both?
– Lin
8 hours ago
When one removes
usepackagetikz
from your MWE one gets ! Undefined control sequence. l.8 rowcolors 2greenpink
. True, the cases won't be colored then but is this really what you want to say? Can you provide us with a code which runs when removing tikz
and substantiates that tikz
is the culprit?– marmot
8 hours ago
When one removes
usepackagetikz
from your MWE one gets ! Undefined control sequence. l.8 rowcolors 2greenpink
. True, the cases won't be colored then but is this really what you want to say? Can you provide us with a code which runs when removing tikz
and substantiates that tikz
is the culprit?– marmot
8 hours ago
Please also remove the
rowcolors
. Since, seems rowcolors
is being provided by tikz
.– Lin
8 hours ago
Please also remove the
rowcolors
. Since, seems rowcolors
is being provided by tikz
.– Lin
8 hours ago
Seems is a mix of
[table]
parameter and rowcolors
, don't know who really provides. Don't know enough about latex internals.– Lin
8 hours ago
Seems is a mix of
[table]
parameter and rowcolors
, don't know who really provides. Don't know enough about latex internals.– Lin
8 hours ago
Yes, if you remove
rowcolors
, neither the table nor the cases
environment will be colored. rowcolors
can be made work by adding usepackage[table]xcolor usepackagecolortbl
, i.e. you do not need tikz
for that. So if you do not want the cases to be colored, either do not use rowcolors
, or just use them locally in the tables you want to color.– marmot
8 hours ago
Yes, if you remove
rowcolors
, neither the table nor the cases
environment will be colored. rowcolors
can be made work by adding usepackage[table]xcolor usepackagecolortbl
, i.e. you do not need tikz
for that. So if you do not want the cases to be colored, either do not use rowcolors
, or just use them locally in the tables you want to color.– marmot
8 hours ago
should be used the
xcolor
or colortbl
or both?– Lin
8 hours ago
should be used the
xcolor
or colortbl
or both?– Lin
8 hours ago
|
show 1 more comment
1 Answer
1
active
oldest
votes
I read your question as
- you want to color the table and not the cases environment and
- you want to use
tikz
.
This can be accomplished by using rowcolors
only locally.
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
begintable[htb]
centeringrowcolors2greenpink
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
Instead of usepackagetikz
you could also use
usepackage[table]xcolor
usepackagecolortbl
to make the above example compile.
Of course, you can make things more automatic by patching begintable
etc. but I am not necessarily a fan of these hacks.
thanks. That is what I was trying to figure out.
– Lin
8 hours ago
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%2f494863%2fmath-cases-align-being-colored-as-a-table%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
I read your question as
- you want to color the table and not the cases environment and
- you want to use
tikz
.
This can be accomplished by using rowcolors
only locally.
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
begintable[htb]
centeringrowcolors2greenpink
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
Instead of usepackagetikz
you could also use
usepackage[table]xcolor
usepackagecolortbl
to make the above example compile.
Of course, you can make things more automatic by patching begintable
etc. but I am not necessarily a fan of these hacks.
thanks. That is what I was trying to figure out.
– Lin
8 hours ago
add a comment |
I read your question as
- you want to color the table and not the cases environment and
- you want to use
tikz
.
This can be accomplished by using rowcolors
only locally.
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
begintable[htb]
centeringrowcolors2greenpink
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
Instead of usepackagetikz
you could also use
usepackage[table]xcolor
usepackagecolortbl
to make the above example compile.
Of course, you can make things more automatic by patching begintable
etc. but I am not necessarily a fan of these hacks.
thanks. That is what I was trying to figure out.
– Lin
8 hours ago
add a comment |
I read your question as
- you want to color the table and not the cases environment and
- you want to use
tikz
.
This can be accomplished by using rowcolors
only locally.
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
begintable[htb]
centeringrowcolors2greenpink
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
Instead of usepackagetikz
you could also use
usepackage[table]xcolor
usepackagecolortbl
to make the above example compile.
Of course, you can make things more automatic by patching begintable
etc. but I am not necessarily a fan of these hacks.
I read your question as
- you want to color the table and not the cases environment and
- you want to use
tikz
.
This can be accomplished by using rowcolors
only locally.
documentclass[table]article
usepackagepolyglossia
usepackageamsmath
usepackagetikz
begindocument
begintable[htb]
centeringrowcolors2greenpink
begintabularc
a & b \
hline
1 & 2 \
3 & 4
endtabular
endtable
beginalign*
begincases
x + y &le 2 \
x - y &ge 2
endcases
endalign*
enddocument
Instead of usepackagetikz
you could also use
usepackage[table]xcolor
usepackagecolortbl
to make the above example compile.
Of course, you can make things more automatic by patching begintable
etc. but I am not necessarily a fan of these hacks.
edited 6 hours ago
answered 8 hours ago
marmotmarmot
134k6174322
134k6174322
thanks. That is what I was trying to figure out.
– Lin
8 hours ago
add a comment |
thanks. That is what I was trying to figure out.
– Lin
8 hours ago
thanks. That is what I was trying to figure out.
– Lin
8 hours ago
thanks. That is what I was trying to figure out.
– Lin
8 hours ago
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%2f494863%2fmath-cases-align-being-colored-as-a-table%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
When one removes
usepackagetikz
from your MWE one gets! Undefined control sequence. l.8 rowcolors 2greenpink
. True, the cases won't be colored then but is this really what you want to say? Can you provide us with a code which runs when removingtikz
and substantiates thattikz
is the culprit?– marmot
8 hours ago
Please also remove the
rowcolors
. Since, seemsrowcolors
is being provided bytikz
.– Lin
8 hours ago
Seems is a mix of
[table]
parameter androwcolors
, don't know who really provides. Don't know enough about latex internals.– Lin
8 hours ago
Yes, if you remove
rowcolors
, neither the table nor thecases
environment will be colored.rowcolors
can be made work by addingusepackage[table]xcolor usepackagecolortbl
, i.e. you do not needtikz
for that. So if you do not want the cases to be colored, either do not userowcolors
, or just use them locally in the tables you want to color.– marmot
8 hours ago
should be used the
xcolor
orcolortbl
or both?– Lin
8 hours ago