How to combine multiple rows and columns in tabu environmentMultirows, multicolums and vertical centring in...

When do aircrafts become solarcrafts?

Was the ancestor of SCSI, the SASI protocol, nothing more than a draft?

Surprising behavior of Part[ ]

Is Cola "probably the best-known" Latin word in the world? If not, which might it be?

What happens if I start too many background jobs?

LT Spice Voltage Output

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

CRT Oscilloscope - part of the plot is missing

How to assert on pagereference where the endpoint of pagereference is predefined

Transfer over $10k

How do I tell my manager that his code review comment is wrong?

Post Endgame, how is the flow of time different?

Plagiarism in class. Could it be my fault?

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

Why do computer-science majors learn calculus?

Is balancing necessary on a full-wheel change?

Who died in the Game of Thrones episode, "The Long Night"?

Why is the SNP putting so much emphasis on currency plans?

Why was Germany not as successful as other Europeans in establishing overseas colonies?

Feels like I am getting dragged into office politics

Copying spell into spellbook time required, consecutive or disparate?

What word means "to make something obsolete"?

Sower of Discord, Gideon's Sacrifice and Stuffy Doll

Authors and contributors of forked project



How to combine multiple rows and columns in tabu environment


Multirows, multicolums and vertical centring in the tabu environmentHow to combine multiple rows with multiple columns with headings in one table?How to combine mdframed and tabutabu package - gaps in vertical linesHow to merge cells correctly in tabu?Table with multi rows and columnsCombine and reduce rows in a tableThe table of multiple rows and columnsLaTeX code for table with multiple rows and columnsMissing, number treated as zero. Multiple rows and multiple columns













0















I need to create the following table:



the table I need to create



I use Xelatex (Texlive) and I wrote the following code (this is my first table in Latex):



documentclass[a4paper,14pt,draft]{extreport}  % Стиль документа

usepackage{geometry}
geometry{showframe=false}
geometry{left=2cm}
geometry{right=1.5cm}
geometry{top=1.5cm}
geometry{bottom=1.5cm}
geometry{marginparsep=0cm}
geometry{marginparwidth=0cm}

usepackage{csquotes}

usepackage{polyglossia}
setmainlanguage{russian}
setotherlanguage{english}

usepackage{fontspec}
setmainfont{Times New Roman}
defaultfontfeatures{Ligatures=TeX}

usepackage{tabu}
usepackage{multirow}

begin{document}

tabulinesep = 3mm
extrarowsep = 0mm
begin{tabu} to 0.9textwidth {|X[2,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|}
hline
multirow{2}{*}{Схема шпиндельного узла} &
multicolumn{2}{c}{Тип установленных подшипников} &
multirow{2}{*}{Коэффициент защемления $e$} \ tabuphantomline hline
в передней опоре & в задней опоре \ hline
% 1
(1) & 3182100; 8000 & 3182100 & 0{,}45ldots0{,}65 \ hline
% 2
(2) & 697000 & 7200 & 0{,}30ldots0{,}45 \ hline
% 3
(3) & 3182100; 178800 & 3182100 & 0{,}30ldots0{,}45 \ hline
% 4
(4) & 36100 & 36100 & 0{,}20ldots0{,}30 \ hline
% 5
(5) & 36100 & 36100 & 0{,}15ldots0{,}20 \ hline
end{tabu}

end{document}


But I got the following:



my result



Text is not wrapped in the last column and two cells are on the separated line. I used tabu documentation to write my code for this table. I found that I should use tabuphantomline to make multicolumn works properly but I didn't found about multirow in tabu.



How should I change my code to get my table?



Best regards,
Andrey.










share|improve this question







New contributor




Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I need to create the following table:



    the table I need to create



    I use Xelatex (Texlive) and I wrote the following code (this is my first table in Latex):



    documentclass[a4paper,14pt,draft]{extreport}  % Стиль документа

    usepackage{geometry}
    geometry{showframe=false}
    geometry{left=2cm}
    geometry{right=1.5cm}
    geometry{top=1.5cm}
    geometry{bottom=1.5cm}
    geometry{marginparsep=0cm}
    geometry{marginparwidth=0cm}

    usepackage{csquotes}

    usepackage{polyglossia}
    setmainlanguage{russian}
    setotherlanguage{english}

    usepackage{fontspec}
    setmainfont{Times New Roman}
    defaultfontfeatures{Ligatures=TeX}

    usepackage{tabu}
    usepackage{multirow}

    begin{document}

    tabulinesep = 3mm
    extrarowsep = 0mm
    begin{tabu} to 0.9textwidth {|X[2,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|}
    hline
    multirow{2}{*}{Схема шпиндельного узла} &
    multicolumn{2}{c}{Тип установленных подшипников} &
    multirow{2}{*}{Коэффициент защемления $e$} \ tabuphantomline hline
    в передней опоре & в задней опоре \ hline
    % 1
    (1) & 3182100; 8000 & 3182100 & 0{,}45ldots0{,}65 \ hline
    % 2
    (2) & 697000 & 7200 & 0{,}30ldots0{,}45 \ hline
    % 3
    (3) & 3182100; 178800 & 3182100 & 0{,}30ldots0{,}45 \ hline
    % 4
    (4) & 36100 & 36100 & 0{,}20ldots0{,}30 \ hline
    % 5
    (5) & 36100 & 36100 & 0{,}15ldots0{,}20 \ hline
    end{tabu}

    end{document}


    But I got the following:



    my result



    Text is not wrapped in the last column and two cells are on the separated line. I used tabu documentation to write my code for this table. I found that I should use tabuphantomline to make multicolumn works properly but I didn't found about multirow in tabu.



    How should I change my code to get my table?



    Best regards,
    Andrey.










    share|improve this question







    New contributor




    Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I need to create the following table:



      the table I need to create



      I use Xelatex (Texlive) and I wrote the following code (this is my first table in Latex):



      documentclass[a4paper,14pt,draft]{extreport}  % Стиль документа

      usepackage{geometry}
      geometry{showframe=false}
      geometry{left=2cm}
      geometry{right=1.5cm}
      geometry{top=1.5cm}
      geometry{bottom=1.5cm}
      geometry{marginparsep=0cm}
      geometry{marginparwidth=0cm}

      usepackage{csquotes}

      usepackage{polyglossia}
      setmainlanguage{russian}
      setotherlanguage{english}

      usepackage{fontspec}
      setmainfont{Times New Roman}
      defaultfontfeatures{Ligatures=TeX}

      usepackage{tabu}
      usepackage{multirow}

      begin{document}

      tabulinesep = 3mm
      extrarowsep = 0mm
      begin{tabu} to 0.9textwidth {|X[2,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|}
      hline
      multirow{2}{*}{Схема шпиндельного узла} &
      multicolumn{2}{c}{Тип установленных подшипников} &
      multirow{2}{*}{Коэффициент защемления $e$} \ tabuphantomline hline
      в передней опоре & в задней опоре \ hline
      % 1
      (1) & 3182100; 8000 & 3182100 & 0{,}45ldots0{,}65 \ hline
      % 2
      (2) & 697000 & 7200 & 0{,}30ldots0{,}45 \ hline
      % 3
      (3) & 3182100; 178800 & 3182100 & 0{,}30ldots0{,}45 \ hline
      % 4
      (4) & 36100 & 36100 & 0{,}20ldots0{,}30 \ hline
      % 5
      (5) & 36100 & 36100 & 0{,}15ldots0{,}20 \ hline
      end{tabu}

      end{document}


      But I got the following:



      my result



      Text is not wrapped in the last column and two cells are on the separated line. I used tabu documentation to write my code for this table. I found that I should use tabuphantomline to make multicolumn works properly but I didn't found about multirow in tabu.



      How should I change my code to get my table?



      Best regards,
      Andrey.










      share|improve this question







      New contributor




      Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I need to create the following table:



      the table I need to create



      I use Xelatex (Texlive) and I wrote the following code (this is my first table in Latex):



      documentclass[a4paper,14pt,draft]{extreport}  % Стиль документа

      usepackage{geometry}
      geometry{showframe=false}
      geometry{left=2cm}
      geometry{right=1.5cm}
      geometry{top=1.5cm}
      geometry{bottom=1.5cm}
      geometry{marginparsep=0cm}
      geometry{marginparwidth=0cm}

      usepackage{csquotes}

      usepackage{polyglossia}
      setmainlanguage{russian}
      setotherlanguage{english}

      usepackage{fontspec}
      setmainfont{Times New Roman}
      defaultfontfeatures{Ligatures=TeX}

      usepackage{tabu}
      usepackage{multirow}

      begin{document}

      tabulinesep = 3mm
      extrarowsep = 0mm
      begin{tabu} to 0.9textwidth {|X[2,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|}
      hline
      multirow{2}{*}{Схема шпиндельного узла} &
      multicolumn{2}{c}{Тип установленных подшипников} &
      multirow{2}{*}{Коэффициент защемления $e$} \ tabuphantomline hline
      в передней опоре & в задней опоре \ hline
      % 1
      (1) & 3182100; 8000 & 3182100 & 0{,}45ldots0{,}65 \ hline
      % 2
      (2) & 697000 & 7200 & 0{,}30ldots0{,}45 \ hline
      % 3
      (3) & 3182100; 178800 & 3182100 & 0{,}30ldots0{,}45 \ hline
      % 4
      (4) & 36100 & 36100 & 0{,}20ldots0{,}30 \ hline
      % 5
      (5) & 36100 & 36100 & 0{,}15ldots0{,}20 \ hline
      end{tabu}

      end{document}


      But I got the following:



      my result



      Text is not wrapped in the last column and two cells are on the separated line. I used tabu documentation to write my code for this table. I found that I should use tabuphantomline to make multicolumn works properly but I didn't found about multirow in tabu.



      How should I change my code to get my table?



      Best regards,
      Andrey.







      tables multirow multicolumn tabu






      share|improve this question







      New contributor




      Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      Andrey ShirshovAndrey Shirshov

      1




      1




      New contributor




      Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Andrey Shirshov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          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
          });


          }
          });






          Andrey Shirshov is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488293%2fhow-to-combine-multiple-rows-and-columns-in-tabu-environment%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








          Andrey Shirshov is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Andrey Shirshov is a new contributor. Be nice, and check out our Code of Conduct.













          Andrey Shirshov is a new contributor. Be nice, and check out our Code of Conduct.












          Andrey Shirshov is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f488293%2fhow-to-combine-multiple-rows-and-columns-in-tabu-environment%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...