Lack of spacing in table due to text blurring into the bordersHow to format table with long column head...

Why would one plane in this picture not have gear down yet?

Reverse string, can I make it faster?

Do any of the books contain (magic) items for animal companions?

Can someone explain what is being said here in color publishing in the American Mathematical Monthly?

Do f-stop and exposure time perfectly cancel?

Why the color red for the Republican Party

Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?

How to pass a string to a command that expects a file?

Finding algorithms of QGIS commands?

PTIJ: Why can't I eat anything?

What are some noteworthy "mic-drop" moments in math?

Space in array system equations

Why does the negative sign arise in this thermodynamic relation?

Can a bounded number sequence be strictly ascending?

The bar has been raised

Why does Captain Marvel assume the people on this planet know this?

How much attack damage does the AC boost from a shield prevent on average?

2000s TV show: people stuck in primitive other world, bit of magic and bit of dinosaurs

Exporting list of URLs

Does "variables should live in the smallest scope as possible" include the case "variables should not exist if possible"?

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

Are babies of evil humanoid species inherently evil?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

Offered promotion but I'm leaving. Should I tell?



Lack of spacing in table due to text blurring into the borders


How to format table with long column head entries?Paragraph column in tabular working only in the first columntabu package - gaps in vertical linesVertical alignment of a tabularx cellIn a multi-column table, is there a way to change only SOME text in a specific column (and not the entire column) to be bold or italic?Is there a simple way to create a latex equivalent of this (ms)word table template?Increase the height of the row in the tableIncorrect vertical line spacing after changing font size in tableHow do I make a double hline in the vertical directionFit IEEE-754 table in A4 width













0















Following is my Latex template:



documentclass{article}
usepackage[utf8]{inputenc}

usepackage{mathtools}
usepackage{tabularx}

begin{document}

begin{table}[]
footnotesize
centering
begin{tabular}{|l|c|}
hline
S. No. & Analysis \ hline
$1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
$1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
$1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
$2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
$2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
$2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
$3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
$3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
$3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
$3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
end{tabular}
caption{Example of a table}
label{sth}
end{table}

end{document}


This generates the following table.



enter image description here



My problem is that the table looks shabby. It looks very cluttered. Is there some way to put some gap in each of the boxes between the text and the box borders. The problem is only with the elements of the second column because those have a formula with both superscript and subscript.



What is the most beautiful way to publish this table so that people can read it easily?



PS: I need to keep it to footnotesize. But I don't think that should matter. All I am asking how to put some white space around the formula in the second column so that the formula does into blend into the borders.









share



























    0















    Following is my Latex template:



    documentclass{article}
    usepackage[utf8]{inputenc}

    usepackage{mathtools}
    usepackage{tabularx}

    begin{document}

    begin{table}[]
    footnotesize
    centering
    begin{tabular}{|l|c|}
    hline
    S. No. & Analysis \ hline
    $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    $3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
    $3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
    $3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    $3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
    end{tabular}
    caption{Example of a table}
    label{sth}
    end{table}

    end{document}


    This generates the following table.



    enter image description here



    My problem is that the table looks shabby. It looks very cluttered. Is there some way to put some gap in each of the boxes between the text and the box borders. The problem is only with the elements of the second column because those have a formula with both superscript and subscript.



    What is the most beautiful way to publish this table so that people can read it easily?



    PS: I need to keep it to footnotesize. But I don't think that should matter. All I am asking how to put some white space around the formula in the second column so that the formula does into blend into the borders.









    share

























      0












      0








      0








      Following is my Latex template:



      documentclass{article}
      usepackage[utf8]{inputenc}

      usepackage{mathtools}
      usepackage{tabularx}

      begin{document}

      begin{table}[]
      footnotesize
      centering
      begin{tabular}{|l|c|}
      hline
      S. No. & Analysis \ hline
      $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
      $3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
      $3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      end{tabular}
      caption{Example of a table}
      label{sth}
      end{table}

      end{document}


      This generates the following table.



      enter image description here



      My problem is that the table looks shabby. It looks very cluttered. Is there some way to put some gap in each of the boxes between the text and the box borders. The problem is only with the elements of the second column because those have a formula with both superscript and subscript.



      What is the most beautiful way to publish this table so that people can read it easily?



      PS: I need to keep it to footnotesize. But I don't think that should matter. All I am asking how to put some white space around the formula in the second column so that the formula does into blend into the borders.









      share














      Following is my Latex template:



      documentclass{article}
      usepackage[utf8]{inputenc}

      usepackage{mathtools}
      usepackage{tabularx}

      begin{document}

      begin{table}[]
      footnotesize
      centering
      begin{tabular}{|l|c|}
      hline
      S. No. & Analysis \ hline
      $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $1$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $2$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
      $3$ & begin{tabular}[c]{@{}c@{}}$x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt},$\ $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$end{tabular} \ hline
      $3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      $3$ & $x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}+x^c_{pq}+p^{34r}_{rt}$ \ hline
      end{tabular}
      caption{Example of a table}
      label{sth}
      end{table}

      end{document}


      This generates the following table.



      enter image description here



      My problem is that the table looks shabby. It looks very cluttered. Is there some way to put some gap in each of the boxes between the text and the box borders. The problem is only with the elements of the second column because those have a formula with both superscript and subscript.



      What is the most beautiful way to publish this table so that people can read it easily?



      PS: I need to keep it to footnotesize. But I don't think that should matter. All I am asking how to put some white space around the formula in the second column so that the formula does into blend into the borders.







      tables tabularx





      share












      share










      share



      share










      asked 5 mins ago









      user_1_1_1user_1_1_1

      1686




      1686






















          0






          active

          oldest

          votes











          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%2f479175%2flack-of-spacing-in-table-due-to-text-blurring-into-the-borders%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f479175%2flack-of-spacing-in-table-due-to-text-blurring-into-the-borders%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

          Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

          (1602) Indiana Índice Designación y nombre Características orbitales Véase...

          Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...