-1

I have this:

\begin{tabular}[t]{c|c}
pos 1 & pos 2  \\
\hline
pos 1 & pos 2  \\
\end{tabular}

When I writte into the table a lot of text, the text go out of the page But I want get this: enter image description here

How can I introduce text without break the table and the checks??

Thank you

Best regards

  • What is the main concern in creating such a table? Is it the text or the headers? – Werner Feb 23 at 17:52
  • My main problem is introduce the text. Thanks – Vidal Feb 23 at 17:52
  • Do you want san serif fonts? Do you want the crayon-like checkmark and x? Do you want the vertical line to be broken in two places? Do you really want the horizontal lines? Do you really want the vertical one? – Benjamin McKay Feb 23 at 17:54
  • just look like the photo. I`m beta of latex. Or something I can see an example – Vidal Feb 23 at 17:59
  • Do note how Werner was able to add only four lines to your example to get something that would show the problem you were talking about. For future questions, if you can create a document that shows your problem, it's much easier for everyone to understand what you want. Benjamin McKay gave five options for what you could have meant by "I want this", and it turned out he was incorrect on all of them. – Teepeemm Feb 23 at 18:15
4

You can set paragraph-like content in tabular columns using a p{<len>}-column:

enter image description here

\documentclass{article}

\usepackage{lipsum}

\begin{document}

\begin{tabular}{ p{17em} | p{150pt} }
  pos 1 & pos 2 \\
  \hline
  \lipsum*[1] & \lipsum*[2]
\end{tabular}

\end{document}

<len> can be any TeX length.

4

I have tried to reproduce the figure shown by the user who has asked the question adding the check marks using pifont.

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,lipsum,pifont}
\usepackage[dvipsnames]{xcolor}

\begin{document}
\begin{table}[htb]
\centering
\begin{tabular}{p{7cm}|p{7cm}}
\multicolumn{1}{c|}{{\Large \color{Green}{\ding{51}}} Hello } & 
\multicolumn{1}{c}{{\Large \color{Orange}{\ding{55}}} Hello}\\ \hline
\lipsum[1]&  \lipsum[2]     \\ \hline
other text    &   other text \\ \hline
\end{tabular}
\end{table}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.