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

Selecting a secure PIN for building access

Junior developer struggles: how to communicate with management?

Why wasn't the Night King naked in S08E03?

Enumerate Derangements

Should I replace my bicycle tires if they have not been inflated in multiple years

How to give very negative feedback gracefully?

Reconstruct a matrix from its traces

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

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

What does a yield inside a yield do?

Casual versus formal jacket

A non-technological, repeating, phenomenon in the sky, holding its position in the sky for hours

Did we get closer to another plane than we were supposed to, or was the pilot just protecting our delicate sensibilities?

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

Accidentally deleted the "/usr/share" folder

What word means "to make something obsolete"?

Python password manager

Why do money exchangers give different rates to different bills?

Roll Dice to get a random number between 1 and 150

Is induction neccessary for proving that every injective mapping of a finite set into itself is a mapping onto itself?

Was Unix ever a single-user OS?

Airbnb - host wants to reduce rooms, can we get refund?

What happens to the Time Stone

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?



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


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


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


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


      enter image description here







      tables bibtex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      user321627user321627

      1262




      1262




















          2 Answers
          2






          active

          oldest

          votes


















          3














          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






























            3














            alternatively, with makecell package :-)



            documentclassarticle
            usepackagemakecell
            setcellgapes4pt

            begindocument
            begintable[htb]
            centering
            makegapedcells
            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























              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









              3














              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



























                3














                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

























                  3












                  3








                  3







                  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 3 hours ago









                  BernardBernard

                  178k779211




                  178k779211





















                      3














                      alternatively, with makecell package :-)



                      documentclassarticle
                      usepackagemakecell
                      setcellgapes4pt

                      begindocument
                      begintable[htb]
                      centering
                      makegapedcells
                      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



























                        3














                        alternatively, with makecell package :-)



                        documentclassarticle
                        usepackagemakecell
                        setcellgapes4pt

                        begindocument
                        begintable[htb]
                        centering
                        makegapedcells
                        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

























                          3












                          3








                          3







                          alternatively, with makecell package :-)



                          documentclassarticle
                          usepackagemakecell
                          setcellgapes4pt

                          begindocument
                          begintable[htb]
                          centering
                          makegapedcells
                          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













                          alternatively, with makecell package :-)



                          documentclassarticle
                          usepackagemakecell
                          setcellgapes4pt

                          begindocument
                          begintable[htb]
                          centering
                          makegapedcells
                          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 3 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

                              Log på Navigationsmenu

                              Wonderful Copenhagen (sang) Eksterne henvisninger | NavigationsmenurSide på frankloesser.comWonderful Copenhagen

                              Detroit Tigers Spis treści Historia | Skład zespołu | Sukcesy | Członkowie Baseball Hall of Fame | Zastrzeżone numery | Przypisy | Menu nawigacyjneEncyclopedia of Detroit - Detroit TigersTigers Stadium, Detroit, MITigers Timeline 1900sDetroit Tigers Team History & EncyclopediaTigers Timeline 1910s1935 World Series1945 World Series1945 World Series1984 World SeriesComerica Park, Detroit, MI2006 World Series2012 World SeriesDetroit Tigers 40-Man RosterDetroit Tigers Coaching StaffTigers Hall of FamersTigers Retired Numberse