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













5















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









share|improve this question






















  • 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












  • 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











  • should be used the xcolor or colortbl or both?

    – Lin
    8 hours ago















5















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









share|improve this question






















  • 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












  • 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











  • should be used the xcolor or colortbl or both?

    – Lin
    8 hours ago













5












5








5


0






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









share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 8 hours ago









LinLin

40017




40017












  • 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












  • 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











  • should be used the xcolor or colortbl 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











  • 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











  • 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
















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










1 Answer
1






active

oldest

votes


















5














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


enter image description here



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.






share|improve this answer

























  • thanks. That is what I was trying to figure out.

    – Lin
    8 hours ago











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%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









5














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


enter image description here



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.






share|improve this answer

























  • thanks. That is what I was trying to figure out.

    – Lin
    8 hours ago















5














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


enter image description here



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.






share|improve this answer

























  • thanks. That is what I was trying to figure out.

    – Lin
    8 hours ago













5












5








5







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


enter image description here



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.






share|improve this answer















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


enter image description here



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.







share|improve this answer














share|improve this answer



share|improve this answer








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

















  • 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

















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%2f494863%2fmath-cases-align-being-colored-as-a-table%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

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單