Table coloring doesn't extend all the way with makecellHow to create fixed width table columns with text raggedright/centered/raggedleft?vertical align and color in table with multirowTabular and grid typesettingColorbox not working with longtabletabu package - gaps in vertical linesHanging indent with makecellcolortbl's cellcolor not filling whole cell in combination with makecellRecolor text, such that floats and footnotes are affected correctlyHow to set longtable width to text width so that the text in cell wraps around automatically?alignment with makecellText not quite centred in table using makecell

How can I decipher which graph belongs to which equation?

Is there a word for food that's gone 'bad', but is still edible?

Which "exotic salt" can lower water's freezing point by –70 °C?

How to remap repeating commands i.e. <number><command>?

Why didn't this character get a funeral at the end of Avengers: Endgame?

Madam I m Adam..please don’t get mad..you will no longer be prime

Sci-fi/fantasy book - ships on steel runners skating across ice sheets

Can my 2 children, aged 10 and 12, who are US citizens, travel to the USA on expired American passports?

Is there a word that describes the unjustified use of a more complex word?

Has the Hulk always been able to talk?

How to deal with employer who keeps me at work after working hours

Where did Lovecraft write about Carcosa?

What Kind of Wooden Beam is this

Where are the "shires" in the UK?

Krull dimension of the ring of global sections

How do I allocate more memory to an app on Sheepshaver running Mac OS 9?

Dirichlet series with a single zero

Execute command on shell command output

As a GM, is it bad form to ask for a moment to think when improvising?

Where to draw the line between quantum mechanics theory and its interpretation(s)?

Is it normal for gliders not to have attitude indicators?

Why did WWI include Japan?

Is any special diet an effective treatment of autism?

As black, how should one respond to 4. Qe2 by white in the Russian Game, Damiano Variation?



Table coloring doesn't extend all the way with makecell


How to create fixed width table columns with text raggedright/centered/raggedleft?vertical align and color in table with multirowTabular and grid typesettingColorbox not working with longtabletabu package - gaps in vertical linesHanging indent with makecellcolortbl's cellcolor not filling whole cell in combination with makecellRecolor text, such that floats and footnotes are affected correctlyHow to set longtable width to text width so that the text in cell wraps around automatically?alignment with makecellText not quite centred in table using makecell













1















This issue occurs while using xcolor to alternate the table color, while also using makecell to put multiple lines in a table cell. In this specific scenario, where a larger cell is in a colored line, the coloring will stop just before the end of the table.



documentclassarticle
usepackage[table]xcolor
usepackagemakecell

rowcolors2gray!20white

begindocument
begintabular
rowcolorgray!50
hline
textbfOne & textbfTwo\
hline
Text & More Text\
Even More & makecellMultiple \ Lines\
hline
endtabular
enddocument


enter image description here










share|improve this question






















  • I don't think makecell is a good way to make multi-line cells

    – JouleV
    1 hour ago















1















This issue occurs while using xcolor to alternate the table color, while also using makecell to put multiple lines in a table cell. In this specific scenario, where a larger cell is in a colored line, the coloring will stop just before the end of the table.



documentclassarticle
usepackage[table]xcolor
usepackagemakecell

rowcolors2gray!20white

begindocument
begintabular
rowcolorgray!50
hline
textbfOne & textbfTwo\
hline
Text & More Text\
Even More & makecellMultiple \ Lines\
hline
endtabular
enddocument


enter image description here










share|improve this question






















  • I don't think makecell is a good way to make multi-line cells

    – JouleV
    1 hour ago













1












1








1








This issue occurs while using xcolor to alternate the table color, while also using makecell to put multiple lines in a table cell. In this specific scenario, where a larger cell is in a colored line, the coloring will stop just before the end of the table.



documentclassarticle
usepackage[table]xcolor
usepackagemakecell

rowcolors2gray!20white

begindocument
begintabular
rowcolorgray!50
hline
textbfOne & textbfTwo\
hline
Text & More Text\
Even More & makecellMultiple \ Lines\
hline
endtabular
enddocument


enter image description here










share|improve this question














This issue occurs while using xcolor to alternate the table color, while also using makecell to put multiple lines in a table cell. In this specific scenario, where a larger cell is in a colored line, the coloring will stop just before the end of the table.



documentclassarticle
usepackage[table]xcolor
usepackagemakecell

rowcolors2gray!20white

begindocument
begintabular
rowcolorgray!50
hline
textbfOne & textbfTwo\
hline
Text & More Text\
Even More & makecellMultiple \ Lines\
hline
endtabular
enddocument


enter image description here







tables color makecell






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









Fadi AlzammarFadi Alzammar

255




255












  • I don't think makecell is a good way to make multi-line cells

    – JouleV
    1 hour ago

















  • I don't think makecell is a good way to make multi-line cells

    – JouleV
    1 hour ago
















I don't think makecell is a good way to make multi-line cells

– JouleV
1 hour ago





I don't think makecell is a good way to make multi-line cells

– JouleV
1 hour ago










2 Answers
2






active

oldest

votes


















1














You could use Gape.



documentclassarticle
usepackage[table]xcolor
usepackagemakecell

rowcolors2gray!20white

begindocument
begintabular
rowcolorgray!50
hline
textbfOne & textbfTwo\
hline
Text & More Text\
Even More & Gape[0pt][2pt]makecellMultiple \ Lines\
hline
endtabular
enddocument


enter image description here






share|improve this answer






























    2














    I would not use makecell to do such things.



    documentclassarticle
    usepackage[table]xcolor
    usepackagearray

    rowcolors2gray!20white
    newcolumntypeC>centeringletnewline\arraybackslashhspace0ptm2cm
    % https://tex.stackexchange.com/a/12712/156344
    begindocument
    begintabular
    rowcolorgray!50
    hline
    textbfOne & textbfTwo\
    hline
    Text & More Text\
    Even More & Multiple Lines\
    hline
    endtabular
    enddocument


    enter image description here






    share|improve this answer























      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%2f489248%2ftable-coloring-doesnt-extend-all-the-way-with-makecell%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









      1














      You could use Gape.



      documentclassarticle
      usepackage[table]xcolor
      usepackagemakecell

      rowcolors2gray!20white

      begindocument
      begintabular
      rowcolorgray!50
      hline
      textbfOne & textbfTwo\
      hline
      Text & More Text\
      Even More & Gape[0pt][2pt]makecellMultiple \ Lines\
      hline
      endtabular
      enddocument


      enter image description here






      share|improve this answer



























        1














        You could use Gape.



        documentclassarticle
        usepackage[table]xcolor
        usepackagemakecell

        rowcolors2gray!20white

        begindocument
        begintabular
        rowcolorgray!50
        hline
        textbfOne & textbfTwo\
        hline
        Text & More Text\
        Even More & Gape[0pt][2pt]makecellMultiple \ Lines\
        hline
        endtabular
        enddocument


        enter image description here






        share|improve this answer

























          1












          1








          1







          You could use Gape.



          documentclassarticle
          usepackage[table]xcolor
          usepackagemakecell

          rowcolors2gray!20white

          begindocument
          begintabular
          rowcolorgray!50
          hline
          textbfOne & textbfTwo\
          hline
          Text & More Text\
          Even More & Gape[0pt][2pt]makecellMultiple \ Lines\
          hline
          endtabular
          enddocument


          enter image description here






          share|improve this answer













          You could use Gape.



          documentclassarticle
          usepackage[table]xcolor
          usepackagemakecell

          rowcolors2gray!20white

          begindocument
          begintabular
          rowcolorgray!50
          hline
          textbfOne & textbfTwo\
          hline
          Text & More Text\
          Even More & Gape[0pt][2pt]makecellMultiple \ Lines\
          hline
          endtabular
          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          marmotmarmot

          124k6160303




          124k6160303





















              2














              I would not use makecell to do such things.



              documentclassarticle
              usepackage[table]xcolor
              usepackagearray

              rowcolors2gray!20white
              newcolumntypeC>centeringletnewline\arraybackslashhspace0ptm2cm
              % https://tex.stackexchange.com/a/12712/156344
              begindocument
              begintabular
              rowcolorgray!50
              hline
              textbfOne & textbfTwo\
              hline
              Text & More Text\
              Even More & Multiple Lines\
              hline
              endtabular
              enddocument


              enter image description here






              share|improve this answer



























                2














                I would not use makecell to do such things.



                documentclassarticle
                usepackage[table]xcolor
                usepackagearray

                rowcolors2gray!20white
                newcolumntypeC>centeringletnewline\arraybackslashhspace0ptm2cm
                % https://tex.stackexchange.com/a/12712/156344
                begindocument
                begintabular
                rowcolorgray!50
                hline
                textbfOne & textbfTwo\
                hline
                Text & More Text\
                Even More & Multiple Lines\
                hline
                endtabular
                enddocument


                enter image description here






                share|improve this answer

























                  2












                  2








                  2







                  I would not use makecell to do such things.



                  documentclassarticle
                  usepackage[table]xcolor
                  usepackagearray

                  rowcolors2gray!20white
                  newcolumntypeC>centeringletnewline\arraybackslashhspace0ptm2cm
                  % https://tex.stackexchange.com/a/12712/156344
                  begindocument
                  begintabular
                  rowcolorgray!50
                  hline
                  textbfOne & textbfTwo\
                  hline
                  Text & More Text\
                  Even More & Multiple Lines\
                  hline
                  endtabular
                  enddocument


                  enter image description here






                  share|improve this answer













                  I would not use makecell to do such things.



                  documentclassarticle
                  usepackage[table]xcolor
                  usepackagearray

                  rowcolors2gray!20white
                  newcolumntypeC>centeringletnewline\arraybackslashhspace0ptm2cm
                  % https://tex.stackexchange.com/a/12712/156344
                  begindocument
                  begintabular
                  rowcolorgray!50
                  hline
                  textbfOne & textbfTwo\
                  hline
                  Text & More Text\
                  Even More & Multiple Lines\
                  hline
                  endtabular
                  enddocument


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 1 hour ago









                  JouleVJouleV

                  16.4k22667




                  16.4k22667



























                      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%2f489248%2ftable-coloring-doesnt-extend-all-the-way-with-makecell%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

                      Log på Navigationsmenu

                      Creating second map without labels using QGIS?How to lock map labels for inset map in Print Composer?How to Force the Showing of Labels of a Vector File in QGISQGIS Valmiera, Labels only show for part of polygonsRemoving duplicate point labels in QGISLabeling every feature using QGIS?Show labels for point features outside map canvasAbbreviate Road Labels in QGIS only when requiredExporting map from composer in QGIS - text labels have moved in output?How to make sure labels in qgis turn up in layout map?Writing label expression with ArcMap and If then Statement?

                      Nuuk Indholdsfortegnelse Etyomologi | Historie | Geografi | Transport og infrastruktur | Politik og administration | Uddannelsesinstitutioner | Kultur | Venskabsbyer | Noter | Eksterne henvisninger | Se også | Navigationsmenuwww.sermersooq.gl64°10′N 51°45′V / 64.167°N 51.750°V / 64.167; -51.75064°10′N 51°45′V / 64.167°N 51.750°V / 64.167; -51.750DMI - KlimanormalerSalmonsen, s. 850Grønlands Naturinstitut undersøger rensdyr i Akia og Maniitsoq foråret 2008Grønlands NaturinstitutNy vej til Qinngorput indviet i dagAntallet af biler i Nuuk må begrænsesNy taxacentral mødt med demonstrationKøreplan. Rute 1, 2 og 3SnescootersporNuukNord er for storSkoler i Kommuneqarfik SermersooqAtuarfik Samuel KleinschmidtKangillinguit AtuarfiatNuussuup AtuarfiaNuuk Internationale FriskoleIlinniarfissuaq, Grønlands SeminariumLedelseÅrsberetning for 2008Kunst og arkitekturÅrsberetning for 2008Julie om naturenNuuk KunstmuseumSilamiutGrønlands Nationalmuseum og ArkivStatistisk ÅrbogGrønlands LandsbibliotekStore koncerter på stribeVandhund nummer 1.000.000Kommuneqarfik Sermersooq – MalikForsidenVenskabsbyerLyngby-Taarbæk i GrønlandArctic Business NetworkWinter Cities 2008 i NuukDagligt opdaterede satellitbilleder fra NuukområdetKommuneqarfik Sermersooqs hjemmesideTurist i NuukGrønlands Statistiks databankGrønlands Hjemmestyres valgresultaterrrWorldCat124325457671310-5