In a Latex Table, how can I automatically resize cell heights to account for superscripts?Paragraph column in tabular working only in the first columnHow do I prevent cellcolor from over effect of hlineTabular and grid typesettingGenerate automatic revision's numbering tabulartabu package - gaps in vertical linesVertically aligning fixed height tablesIncorrect vertical line spacing after changing font size in tableHow can I find the cell height in a tabular?Different vertical alignment of text in 4-column table (tabularx)Prevent spreading of words in: Left aligned, automatically wrapped text, in a table

Pressure inside an infinite ocean?

How can I close a gap between my fence and my neighbor's that's on his side of the property line?

How can I get a job without pushing my family's income into a higher tax bracket?

Sub query result is 0

Father and Son and Grandsons

What happens to the Time Stone

Is there a term for the words whose stress is on the first syllable?

Besides the up and down quark, what other quarks are present in daily matter around us?

What was the state of the German rail system in 1944?

What is a "listed natural gas appliance"?

Catholic vs Protestant Support for Nazism in Germany

In a vacuum triode, what prevents the grid from acting as another anode?

How could a planet have most of its water in the atmosphere?

What does this colon mean? It is not labeling, it is not ternary operator

Manager is threatning to grade me poorly if I don't complete the project

Should one double the thirds or the fifth in chords?

What happens to matryoshka Mordenkainen's Magnificent Mansions?

Do I have to make someone coauthor if he/she solves a problem in StackExchange, asked by myself, which is later used in my paper?

Why was the battle set up *outside* Winterfell?

Can Ghost kill White Walkers or Wights?

I may be a fraud

Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?

Casual versus formal jacket

Type-check an expression



In a Latex Table, how can I automatically resize cell heights to account for superscripts?


Paragraph column in tabular working only in the first columnHow do I prevent cellcolor from over effect of hlineTabular and grid typesettingGenerate automatic revision's numbering tabulartabu package - gaps in vertical linesVertically aligning fixed height tablesIncorrect vertical line spacing after changing font size in tableHow can I find the cell height in a tabular?Different vertical alignment of text in 4-column table (tabularx)Prevent spreading of words in: Left aligned, automatically wrapped text, in a table













1















I have the following table created using the H command from the float package. The main problem below is that the exponents are too close to the top of the cell. Is there a way to increase the cell-height automatically? Thank you for any suggestions.



usepackage(float)
begintable[H]
centering
begintabularc
hline
& Compute on $X^A$ & Compute on $(X^A, X^B)$ \
hline
Estimate on $X^A$ & Correct & Incorrect \
Estimate on $(X^A, X^B)$ & Correct & Incorrect \
hline
endtabular
endtable


enter image description here










share|improve this question


























    1















    I have the following table created using the H command from the float package. The main problem below is that the exponents are too close to the top of the cell. Is there a way to increase the cell-height automatically? Thank you for any suggestions.



    usepackage(float)
    begintable[H]
    centering
    begintabularc
    hline
    & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
    hline
    Estimate on $X^A$ & Correct & Incorrect \
    Estimate on $(X^A, X^B)$ & Correct & Incorrect \
    hline
    endtabular
    endtable


    enter image description here










    share|improve this question
























      1












      1








      1








      I have the following table created using the H command from the float package. The main problem below is that the exponents are too close to the top of the cell. Is there a way to increase the cell-height automatically? Thank you for any suggestions.



      usepackage(float)
      begintable[H]
      centering
      begintabularc
      hline
      & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
      hline
      Estimate on $X^A$ & Correct & Incorrect \
      Estimate on $(X^A, X^B)$ & Correct & Incorrect \
      hline
      endtabular
      endtable


      enter image description here










      share|improve this question














      I have the following table created using the H command from the float package. The main problem below is that the exponents are too close to the top of the cell. Is there a way to increase the cell-height automatically? Thank you for any suggestions.



      usepackage(float)
      begintable[H]
      centering
      begintabularc
      hline
      & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
      hline
      Estimate on $X^A$ & Correct & Incorrect \
      Estimate on $(X^A, X^B)$ & Correct & Incorrect \
      hline
      endtabular
      endtable


      enter image description here







      tables bibtex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      user321627user321627

      1262




      1262




















          2 Answers
          2






          active

          oldest

          votes


















          2














          The cellspace package is here for that! You can define minimal vertical spacing at the top and bottom of cells in columns with specifier prefixed with the letter S (or C if you load siunitx, as this package already defines an S column type). Demo:



          documentclassarticle
          %usepackagearray
          usepackagefloat
          usepackagecellspace
          setlengthcellspacetoplimit4pt
          setlengthcellspacebottomlimit3pt

          begindocument

          begintable[H]
          centering
          begintabular
          hline
          & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
          hline
          Estimate on $X^A$ & Correct & Incorrect \
          Estimate on $(X^A, X^B)$ & Correct & Incorrect \
          hline
          endtabular
          endtable

          enddocument


          enter image description here






          share|improve this answer






























            2














            alternatively, with makecell package :-)



            documentclassarticle
            usepackagemakecell
            setcellgapes4pt

            begindocument
            begintable[htb]
            centering
            makegapedcells
            begintabularc
            hline
            & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
            hline
            Estimate on $X^A$
            & Correct & Incorrect \
            Estimate on $(X^A, X^B)$
            & Correct & Incorrect \
            hline
            endtabular
            endtable
            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%2f488503%2fin-a-latex-table-how-can-i-automatically-resize-cell-heights-to-account-for-sup%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









              2














              The cellspace package is here for that! You can define minimal vertical spacing at the top and bottom of cells in columns with specifier prefixed with the letter S (or C if you load siunitx, as this package already defines an S column type). Demo:



              documentclassarticle
              %usepackagearray
              usepackagefloat
              usepackagecellspace
              setlengthcellspacetoplimit4pt
              setlengthcellspacebottomlimit3pt

              begindocument

              begintable[H]
              centering
              begintabular
              hline
              & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
              hline
              Estimate on $X^A$ & Correct & Incorrect \
              Estimate on $(X^A, X^B)$ & Correct & Incorrect \
              hline
              endtabular
              endtable

              enddocument


              enter image description here






              share|improve this answer



























                2














                The cellspace package is here for that! You can define minimal vertical spacing at the top and bottom of cells in columns with specifier prefixed with the letter S (or C if you load siunitx, as this package already defines an S column type). Demo:



                documentclassarticle
                %usepackagearray
                usepackagefloat
                usepackagecellspace
                setlengthcellspacetoplimit4pt
                setlengthcellspacebottomlimit3pt

                begindocument

                begintable[H]
                centering
                begintabular
                hline
                & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
                hline
                Estimate on $X^A$ & Correct & Incorrect \
                Estimate on $(X^A, X^B)$ & Correct & Incorrect \
                hline
                endtabular
                endtable

                enddocument


                enter image description here






                share|improve this answer

























                  2












                  2








                  2







                  The cellspace package is here for that! You can define minimal vertical spacing at the top and bottom of cells in columns with specifier prefixed with the letter S (or C if you load siunitx, as this package already defines an S column type). Demo:



                  documentclassarticle
                  %usepackagearray
                  usepackagefloat
                  usepackagecellspace
                  setlengthcellspacetoplimit4pt
                  setlengthcellspacebottomlimit3pt

                  begindocument

                  begintable[H]
                  centering
                  begintabular
                  hline
                  & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
                  hline
                  Estimate on $X^A$ & Correct & Incorrect \
                  Estimate on $(X^A, X^B)$ & Correct & Incorrect \
                  hline
                  endtabular
                  endtable

                  enddocument


                  enter image description here






                  share|improve this answer













                  The cellspace package is here for that! You can define minimal vertical spacing at the top and bottom of cells in columns with specifier prefixed with the letter S (or C if you load siunitx, as this package already defines an S column type). Demo:



                  documentclassarticle
                  %usepackagearray
                  usepackagefloat
                  usepackagecellspace
                  setlengthcellspacetoplimit4pt
                  setlengthcellspacebottomlimit3pt

                  begindocument

                  begintable[H]
                  centering
                  begintabular
                  hline
                  & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
                  hline
                  Estimate on $X^A$ & Correct & Incorrect \
                  Estimate on $(X^A, X^B)$ & Correct & Incorrect \
                  hline
                  endtabular
                  endtable

                  enddocument


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  BernardBernard

                  178k779211




                  178k779211





















                      2














                      alternatively, with makecell package :-)



                      documentclassarticle
                      usepackagemakecell
                      setcellgapes4pt

                      begindocument
                      begintable[htb]
                      centering
                      makegapedcells
                      begintabularc
                      hline
                      & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
                      hline
                      Estimate on $X^A$
                      & Correct & Incorrect \
                      Estimate on $(X^A, X^B)$
                      & Correct & Incorrect \
                      hline
                      endtabular
                      endtable
                      enddocument


                      enter image description here






                      share|improve this answer



























                        2














                        alternatively, with makecell package :-)



                        documentclassarticle
                        usepackagemakecell
                        setcellgapes4pt

                        begindocument
                        begintable[htb]
                        centering
                        makegapedcells
                        begintabularc
                        hline
                        & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
                        hline
                        Estimate on $X^A$
                        & Correct & Incorrect \
                        Estimate on $(X^A, X^B)$
                        & Correct & Incorrect \
                        hline
                        endtabular
                        endtable
                        enddocument


                        enter image description here






                        share|improve this answer

























                          2












                          2








                          2







                          alternatively, with makecell package :-)



                          documentclassarticle
                          usepackagemakecell
                          setcellgapes4pt

                          begindocument
                          begintable[htb]
                          centering
                          makegapedcells
                          begintabularc
                          hline
                          & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
                          hline
                          Estimate on $X^A$
                          & Correct & Incorrect \
                          Estimate on $(X^A, X^B)$
                          & Correct & Incorrect \
                          hline
                          endtabular
                          endtable
                          enddocument


                          enter image description here






                          share|improve this answer













                          alternatively, with makecell package :-)



                          documentclassarticle
                          usepackagemakecell
                          setcellgapes4pt

                          begindocument
                          begintable[htb]
                          centering
                          makegapedcells
                          begintabularc
                          hline
                          & Compute on $X^A$ & Compute on $(X^A, X^B)$ \
                          hline
                          Estimate on $X^A$
                          & Correct & Incorrect \
                          Estimate on $(X^A, X^B)$
                          & Correct & Incorrect \
                          hline
                          endtabular
                          endtable
                          enddocument


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 2 hours ago









                          ZarkoZarko

                          132k871170




                          132k871170



























                              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%2f488503%2fin-a-latex-table-how-can-i-automatically-resize-cell-heights-to-account-for-sup%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

                              Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

                              The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

                              19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу