Multi-line text on multirow












0














How can I set text to be multi-line on a multirow table? I'm referring to row 5 column 1. Thank you



enter image description here



documentclass{report}
usepackage[margin=0.5in]{geometry}
geometry{margin=1in}
usepackage{graphicx}
usepackage[table,xcdraw]{xcolor}
usepackage{tabularx}
usepackage{multirow}
usepackage{ragged2e}
newcolumntype{C}{>{centeringarraybackslash}X}

begin{document}

begin{table}[h!]
centering
small
setlengthtabcolsep{3pt}
renewcommandtabularxcolumn[1]{m{#1}}
begin{tabularx}{linewidth}{
|>{hsize=1.0hsize}C|% 10% of 4hsize
>{hsize=1.0hsize}C|% 30% of 4hsize
>{hsize=1.0hsize}C|% 30% of 4hsize
% sum=4.0hsize for 4 columns
}
hline

textbf{Instituição} & textbf{Estágio} & textbf{Duração}\
hline

multirow{4}{*}{Hospital de Origem} & Radiologia convencional e estudos contrastados & 6 meses \
& Ecografia Geral e Ecografia Ginecológica & 6 meses \
& Eco-Doppler & 1 mês \
& Tomografia Computorizada & 6 meses \
hline

multirow{3}{*}{Hospital de Origem depois} & Radiologia convencional e estudos contrastados & 3 meses \
& Neurorradiologia & 3 meses \
& Ressonância Magnética & 3 meses (a tempo parcial) \
hline

CHospital de Origem com texto grande (muito grande) & Eco-Doppler & 2 meses \
hline

multirow{4}{*}{Hospital de Origem enorme e acontece isto porque} & Radiologia Mamária & 3 meses \
& Medicina Nuclear e Densitometria Óssea & 1 mês \
& Radiologia do Pescoço & 0\
& Radiologia de intervenção & 0\
hline

end{tabularx}
caption{Distribuição do Internato de Formação Específica}
label{tab:exemplo}
end{table}

end{document}








share







New contributor




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

























    0














    How can I set text to be multi-line on a multirow table? I'm referring to row 5 column 1. Thank you



    enter image description here



    documentclass{report}
    usepackage[margin=0.5in]{geometry}
    geometry{margin=1in}
    usepackage{graphicx}
    usepackage[table,xcdraw]{xcolor}
    usepackage{tabularx}
    usepackage{multirow}
    usepackage{ragged2e}
    newcolumntype{C}{>{centeringarraybackslash}X}

    begin{document}

    begin{table}[h!]
    centering
    small
    setlengthtabcolsep{3pt}
    renewcommandtabularxcolumn[1]{m{#1}}
    begin{tabularx}{linewidth}{
    |>{hsize=1.0hsize}C|% 10% of 4hsize
    >{hsize=1.0hsize}C|% 30% of 4hsize
    >{hsize=1.0hsize}C|% 30% of 4hsize
    % sum=4.0hsize for 4 columns
    }
    hline

    textbf{Instituição} & textbf{Estágio} & textbf{Duração}\
    hline

    multirow{4}{*}{Hospital de Origem} & Radiologia convencional e estudos contrastados & 6 meses \
    & Ecografia Geral e Ecografia Ginecológica & 6 meses \
    & Eco-Doppler & 1 mês \
    & Tomografia Computorizada & 6 meses \
    hline

    multirow{3}{*}{Hospital de Origem depois} & Radiologia convencional e estudos contrastados & 3 meses \
    & Neurorradiologia & 3 meses \
    & Ressonância Magnética & 3 meses (a tempo parcial) \
    hline

    CHospital de Origem com texto grande (muito grande) & Eco-Doppler & 2 meses \
    hline

    multirow{4}{*}{Hospital de Origem enorme e acontece isto porque} & Radiologia Mamária & 3 meses \
    & Medicina Nuclear e Densitometria Óssea & 1 mês \
    & Radiologia do Pescoço & 0\
    & Radiologia de intervenção & 0\
    hline

    end{tabularx}
    caption{Distribuição do Internato de Formação Específica}
    label{tab:exemplo}
    end{table}

    end{document}








    share







    New contributor




    metRo_ 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


      1





      How can I set text to be multi-line on a multirow table? I'm referring to row 5 column 1. Thank you



      enter image description here



      documentclass{report}
      usepackage[margin=0.5in]{geometry}
      geometry{margin=1in}
      usepackage{graphicx}
      usepackage[table,xcdraw]{xcolor}
      usepackage{tabularx}
      usepackage{multirow}
      usepackage{ragged2e}
      newcolumntype{C}{>{centeringarraybackslash}X}

      begin{document}

      begin{table}[h!]
      centering
      small
      setlengthtabcolsep{3pt}
      renewcommandtabularxcolumn[1]{m{#1}}
      begin{tabularx}{linewidth}{
      |>{hsize=1.0hsize}C|% 10% of 4hsize
      >{hsize=1.0hsize}C|% 30% of 4hsize
      >{hsize=1.0hsize}C|% 30% of 4hsize
      % sum=4.0hsize for 4 columns
      }
      hline

      textbf{Instituição} & textbf{Estágio} & textbf{Duração}\
      hline

      multirow{4}{*}{Hospital de Origem} & Radiologia convencional e estudos contrastados & 6 meses \
      & Ecografia Geral e Ecografia Ginecológica & 6 meses \
      & Eco-Doppler & 1 mês \
      & Tomografia Computorizada & 6 meses \
      hline

      multirow{3}{*}{Hospital de Origem depois} & Radiologia convencional e estudos contrastados & 3 meses \
      & Neurorradiologia & 3 meses \
      & Ressonância Magnética & 3 meses (a tempo parcial) \
      hline

      CHospital de Origem com texto grande (muito grande) & Eco-Doppler & 2 meses \
      hline

      multirow{4}{*}{Hospital de Origem enorme e acontece isto porque} & Radiologia Mamária & 3 meses \
      & Medicina Nuclear e Densitometria Óssea & 1 mês \
      & Radiologia do Pescoço & 0\
      & Radiologia de intervenção & 0\
      hline

      end{tabularx}
      caption{Distribuição do Internato de Formação Específica}
      label{tab:exemplo}
      end{table}

      end{document}








      share







      New contributor




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











      How can I set text to be multi-line on a multirow table? I'm referring to row 5 column 1. Thank you



      enter image description here



      documentclass{report}
      usepackage[margin=0.5in]{geometry}
      geometry{margin=1in}
      usepackage{graphicx}
      usepackage[table,xcdraw]{xcolor}
      usepackage{tabularx}
      usepackage{multirow}
      usepackage{ragged2e}
      newcolumntype{C}{>{centeringarraybackslash}X}

      begin{document}

      begin{table}[h!]
      centering
      small
      setlengthtabcolsep{3pt}
      renewcommandtabularxcolumn[1]{m{#1}}
      begin{tabularx}{linewidth}{
      |>{hsize=1.0hsize}C|% 10% of 4hsize
      >{hsize=1.0hsize}C|% 30% of 4hsize
      >{hsize=1.0hsize}C|% 30% of 4hsize
      % sum=4.0hsize for 4 columns
      }
      hline

      textbf{Instituição} & textbf{Estágio} & textbf{Duração}\
      hline

      multirow{4}{*}{Hospital de Origem} & Radiologia convencional e estudos contrastados & 6 meses \
      & Ecografia Geral e Ecografia Ginecológica & 6 meses \
      & Eco-Doppler & 1 mês \
      & Tomografia Computorizada & 6 meses \
      hline

      multirow{3}{*}{Hospital de Origem depois} & Radiologia convencional e estudos contrastados & 3 meses \
      & Neurorradiologia & 3 meses \
      & Ressonância Magnética & 3 meses (a tempo parcial) \
      hline

      CHospital de Origem com texto grande (muito grande) & Eco-Doppler & 2 meses \
      hline

      multirow{4}{*}{Hospital de Origem enorme e acontece isto porque} & Radiologia Mamária & 3 meses \
      & Medicina Nuclear e Densitometria Óssea & 1 mês \
      & Radiologia do Pescoço & 0\
      & Radiologia de intervenção & 0\
      hline

      end{tabularx}
      caption{Distribuição do Internato de Formação Específica}
      label{tab:exemplo}
      end{table}

      end{document}






      tabularx multirow





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 6 mins ago









      metRo_

      304




      304




      New contributor




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





      New contributor





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






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



























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


          }
          });






          metRo_ 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%2f467440%2fmulti-line-text-on-multirow%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f467440%2fmulti-line-text-on-multirow%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

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

          Calculate evaluation metrics using cross_val_predict sklearn

          Insert data from modal to MySQL (multiple modal on website)