multicolumn tabularx extending page widthWrapping column text using multicolumn and tabularxmulticolumn...

What does "I’d sit this one out, Cap," imply or mean in the context?

Two monoidal structures and copowering

Unreliable Magic - Is it worth it?

Short story about space worker geeks who zone out by 'listening' to radiation from stars

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

What is the best translation for "slot" in the context of multiplayer video games?

Return the Closest Prime Number

Did Dumbledore lie to Harry about how long he had James Potter's invisibility cloak when he was examining it? If so, why?

How can I kill an app using Terminal?

Is there a problem with hiding "forgot password" until it's needed?

How can a function with a hole (removable discontinuity) equal a function with no hole?

How do I find the solutions of the following equation?

Failed to fetch jessie backports repository

Why not increase contact surface when reentering the atmosphere?

Is the destination of a commercial flight important for the pilot?

How do scammers retract money, while you can’t?

Why Were Madagascar and New Zealand Discovered So Late?

A Rare Riley Riddle

Where does the Z80 processor start executing from?

Is there a good way to store credentials outside of a password manager?

How to Reset Passwords on Multiple Websites Easily?

How to safely derail a train during transit?

Is a stroke of luck acceptable after a series of unfavorable events?

How did Doctor Strange see the winning outcome in Avengers: Infinity War?



multicolumn tabularx extending page width


Wrapping column text using multicolumn and tabularxmulticolumn command with tabularx environmentQuestion about multicolumn in TabularxWrong width in multicolumn tabularx cellsMulticolumn and multirow (tabularx)tabularx with multicolumn and multirowWidth of table and text wrapping using tabularx, cline, multicolumnTabularx determine col widthTable extending beyond the page widthTabularx fit tex width page













0















I have used multicolumn and tabularx for the table I intend to write in LaTex. But the resultant table is going out of the page width. I also added the textwidth in tabularx but it is not working as desired. Surely, I have did some mistake but cant figure out. Would be glad to have the correction. Thank you



begin{table}
centering
caption{my table}
label{mytable}
begin{tabularx}{textwidth}{|c|c|c|c|X|c|X|}
hline
multicolumn{1}{|l|}{Type} & multicolumn{1}{l|}{Product name} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Diameter\(mm)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Tensile strength\(MPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Young's modulus\(GPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Elongation\(%)end{tabular}} & Application \
hline
multirow{5}{*}{begin{tabular}[c]{@{}c@{}}class A\~\~\~\ end{tabular}} & abc123 & 0.014 & 1500 & 36 & 7 & four words text here \
cline{2-7} & abc123 & 0.040 & 1400 & 36 & 6.5 & four words text here\
cline{2-7} & abc123 & 0.20 & 975 & 27 & 9 & four words text here \
cline{2-7} & abc123 & 0.31 & 975 & 26 & 6 & four words text here \
cline{2-7} & abc123 & 0.67 & 900 & 23 & 9 & four words text here \ hline
multicolumn{1}{|l|}{multirow{3}{*}{class B}} & abc123 & 0.027 & 1560 & 39 & 6.5 & four words text here \
cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.040 & 1600 & 41 & 6.5 & four words text here \
cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.10 & 1200 & 28 & 12.5 & four words text here \
hline
end{tabularx}
end{table}


Also, the merged column text of the first column, I want it to set the vertical alignment to center instead of top.









share



























    0















    I have used multicolumn and tabularx for the table I intend to write in LaTex. But the resultant table is going out of the page width. I also added the textwidth in tabularx but it is not working as desired. Surely, I have did some mistake but cant figure out. Would be glad to have the correction. Thank you



    begin{table}
    centering
    caption{my table}
    label{mytable}
    begin{tabularx}{textwidth}{|c|c|c|c|X|c|X|}
    hline
    multicolumn{1}{|l|}{Type} & multicolumn{1}{l|}{Product name} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Diameter\(mm)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Tensile strength\(MPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Young's modulus\(GPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Elongation\(%)end{tabular}} & Application \
    hline
    multirow{5}{*}{begin{tabular}[c]{@{}c@{}}class A\~\~\~\ end{tabular}} & abc123 & 0.014 & 1500 & 36 & 7 & four words text here \
    cline{2-7} & abc123 & 0.040 & 1400 & 36 & 6.5 & four words text here\
    cline{2-7} & abc123 & 0.20 & 975 & 27 & 9 & four words text here \
    cline{2-7} & abc123 & 0.31 & 975 & 26 & 6 & four words text here \
    cline{2-7} & abc123 & 0.67 & 900 & 23 & 9 & four words text here \ hline
    multicolumn{1}{|l|}{multirow{3}{*}{class B}} & abc123 & 0.027 & 1560 & 39 & 6.5 & four words text here \
    cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.040 & 1600 & 41 & 6.5 & four words text here \
    cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.10 & 1200 & 28 & 12.5 & four words text here \
    hline
    end{tabularx}
    end{table}


    Also, the merged column text of the first column, I want it to set the vertical alignment to center instead of top.









    share

























      0












      0








      0


      1






      I have used multicolumn and tabularx for the table I intend to write in LaTex. But the resultant table is going out of the page width. I also added the textwidth in tabularx but it is not working as desired. Surely, I have did some mistake but cant figure out. Would be glad to have the correction. Thank you



      begin{table}
      centering
      caption{my table}
      label{mytable}
      begin{tabularx}{textwidth}{|c|c|c|c|X|c|X|}
      hline
      multicolumn{1}{|l|}{Type} & multicolumn{1}{l|}{Product name} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Diameter\(mm)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Tensile strength\(MPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Young's modulus\(GPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Elongation\(%)end{tabular}} & Application \
      hline
      multirow{5}{*}{begin{tabular}[c]{@{}c@{}}class A\~\~\~\ end{tabular}} & abc123 & 0.014 & 1500 & 36 & 7 & four words text here \
      cline{2-7} & abc123 & 0.040 & 1400 & 36 & 6.5 & four words text here\
      cline{2-7} & abc123 & 0.20 & 975 & 27 & 9 & four words text here \
      cline{2-7} & abc123 & 0.31 & 975 & 26 & 6 & four words text here \
      cline{2-7} & abc123 & 0.67 & 900 & 23 & 9 & four words text here \ hline
      multicolumn{1}{|l|}{multirow{3}{*}{class B}} & abc123 & 0.027 & 1560 & 39 & 6.5 & four words text here \
      cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.040 & 1600 & 41 & 6.5 & four words text here \
      cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.10 & 1200 & 28 & 12.5 & four words text here \
      hline
      end{tabularx}
      end{table}


      Also, the merged column text of the first column, I want it to set the vertical alignment to center instead of top.









      share














      I have used multicolumn and tabularx for the table I intend to write in LaTex. But the resultant table is going out of the page width. I also added the textwidth in tabularx but it is not working as desired. Surely, I have did some mistake but cant figure out. Would be glad to have the correction. Thank you



      begin{table}
      centering
      caption{my table}
      label{mytable}
      begin{tabularx}{textwidth}{|c|c|c|c|X|c|X|}
      hline
      multicolumn{1}{|l|}{Type} & multicolumn{1}{l|}{Product name} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Diameter\(mm)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Tensile strength\(MPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Young's modulus\(GPa)end{tabular}} & multicolumn{1}{l|}{begin{tabular}[c]{@{}l@{}}Elongation\(%)end{tabular}} & Application \
      hline
      multirow{5}{*}{begin{tabular}[c]{@{}c@{}}class A\~\~\~\ end{tabular}} & abc123 & 0.014 & 1500 & 36 & 7 & four words text here \
      cline{2-7} & abc123 & 0.040 & 1400 & 36 & 6.5 & four words text here\
      cline{2-7} & abc123 & 0.20 & 975 & 27 & 9 & four words text here \
      cline{2-7} & abc123 & 0.31 & 975 & 26 & 6 & four words text here \
      cline{2-7} & abc123 & 0.67 & 900 & 23 & 9 & four words text here \ hline
      multicolumn{1}{|l|}{multirow{3}{*}{class B}} & abc123 & 0.027 & 1560 & 39 & 6.5 & four words text here \
      cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.040 & 1600 & 41 & 6.5 & four words text here \
      cline{2-7} multicolumn{1}{|l|}{} & abc123 & 0.10 & 1200 & 28 & 12.5 & four words text here \
      hline
      end{tabularx}
      end{table}


      Also, the merged column text of the first column, I want it to set the vertical alignment to center instead of top.







      tabularx





      share












      share










      share



      share










      asked 8 mins ago









      JackJack

      4315




      4315






















          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%2f481836%2fmulticolumn-tabularx-extending-page-width%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%2f481836%2fmulticolumn-tabularx-extending-page-width%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

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...