My ltxtable is indentated on both sides and I don't want the indents. My MWE is:  \documentclass{scrreprt} \usepackage[latin1]{inputenc} \usepackage[ngerman]{babel} \usepackage{ltxtable, filecontents} \begin{document}   \begin{filecontents}{longtable.tex} \noindent \begin{longtable}{|X|m{20ex}|m{5ex}m{5ex}|} \hline \textbf{Verlaufstyp} &amp; \parbox{16ex}{\textbf{ergänzende Beschreibung}} &amp; \multicolumn{2}{c|}{\textbf{Probanden}} \\ \hline \hline \endhead 1.\,monophasisch zur Vollremission &amp; 17,2 Monaten Dauer &amp; 50 \newline 10 &amp;  10,0\,\% \newline 2\,\% \\ \hline \end{longtable} \end{filecontents} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo \LTXtable{\textwidth}{longtable.tex}  \end{document}
122531
Possible Duplicate:          I am trying to fit a longtable in a page with the following specifications:  \documentclass{article} \usepackage[letterpaper]{geometry} \geometry{tmargin=2cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.7cm} \usepackage{array} \usepackage{longtable} \begin{document} \begin{longtable}{|c|&gt;{\raggedright}p{4.5in}|p{0.85in}|} \hline \textbf{Week} &amp; \textbf{Content} &amp; \textbf{Assessments}\tabularnewline \hline \endfirsthead \hline \hline \textbf{Week} &amp; \textbf{Content} &amp; \textbf{Assessments}\tabularnewline \hline \hline \endhead \hline Week 1 &amp; Unit 1 &amp;HW, Q, T\tabularnewline \hline Week 2 &amp; Unit 2 &amp;HW, Q, T\tabularnewline \hline \end{longtable} \end{document}   Note that to the naked eye, the table seems to be perfect, but I know that one can make the long table to span through the entire text width. I am looking for improvements and how to achieve the above effect (use of the text width.) If a similar question has been asked please redirect me.
72548
I am new in latex. My problem is that I want to make the text in the box italic.  \documentclass[a4paper,12pt,openany]{book} \usepackage{etex} \usepackage[utf8]{inputenc} \usepackage{chngcntr}    \usepackage{fontenc} \usepackage[french]{babel}   \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{color} \usepackage{dsfont}  \usepackage{lastpage}  \usepackage{sectsty} \usepackage[left=2cm,right=2cm,top=2.75cm,bottom=3cm]{geometry} \usepackage[Bjornstrup]{fncychap} \usepackage{hyperref}   \usepackage[T1]{fontenc} \usepackage{amssymb} \usepackage[most]{tcolorbox} \usepackage{cleveref} \newtcbtheorem[auto counter, number within = section]{defn}{Définition}{   colback=green!5,   colframe=green!35!black,   fonttitle=\bfseries, }{t} \begin{document} \begin{defn}{}{} asymptotically uniformly integrable relatively \end{defn} asymptotically uniformly integrable relatively \end{document}   The result :    But, I want the writing inside the Box in the following form:
91211
I am currently writing my thesis and need to include a bunch of email conversions. I am using classicthesis. I wonder, how you would format stacked conversions. Moreover, how would you deal with the email header, signatures and line breaks: why do I need to add \\ all the time? This is the configuration I am currently experimenting with:  \documentclass[ oneside, openright, titlepage, dottedtoc, numbers=noenddot, headinclude, footinclude=true, cleardoublepage=empty, abstractoff, BCOR=5mm, paper=a4, fontsize=11pt, ngerman, american ] {scrreprt}  \PassOptionsToPackage{utf8}{inputenc} \usepackage{inputenc} \usepackage{blindtext}  \usepackage{framed}  % Vertical line that highlights quotations in an email. % Use \begin{leftbar} and \end{leftbar} environment. % Width of the line = 0.4pt % Space between the line and the text = 10pt % Requires \usepackage{framed} \renewenvironment{leftbar}{%   \def\FrameCommand{\vrule width 0.4pt \hspace{10pt}}%   \MakeFramed {\advance\hsize-\width \FrameRestore}}% {\endMakeFramed}  \usepackage{nicefrac} \usepackage[english]{babel} \usepackage[pdfspacing]{classicthesis}  \begin{document} \selectlanguage{ngerman} % american ngerman % Disable paragraph indentation. \setlength{\parindent}{0pt}     \begin{verbatim} From: john.doe@yahoo.com Subject: Your inquiry from 20042012 Date: Thu, 3 May 2012 11:34:54 +0200 To: Jane Doe &lt;jane.doe@hotmail.com&gt; \end{verbatim}  Jane Doe wrote: \begin{leftbar} \begin{leftbar} \begin{leftbar} \begin{leftbar} There are a couple of questions I like to ask. Please forward them if you cannot do so. \end{leftbar} I hope I can answer them after holidays. \end{leftbar} I am back from holidays now and will look through your questionaire the next days. \end{leftbar} Thank you, Mr. Doe - I am awaiting your answers. \end{leftbar}  Dear Mrs. Doe,\\ \ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut molestie placerat pharetra. In quam leo, tincidunt ut consequat eget, malesuada sit amet urna. Morbi et interdum arcu. Nullam nisi nunc, ullamcorper vitae pulvinar eu, suscipit ut augue.\\ \ Donec risus mi, accumsan ac interdum id, molestie sed mauris. Suspendisse porttitor luctus justo in ullamcorper. Proin in neque magna. Mauris quis arcu eget enim mattis pharetra vitae a dolor. Nam aliquam consectetur mollis. Ut at sem quis dolor faucibus fringilla. Quisque cursus vehicula odio, vitae placerat ipsum dapibus id.\\ \ Best regards\\ John Doe\\ \ (See attached file: Questions\_Doe.doc)  \begin{verbatim} _______________________________________________________ Administration New York John Doe Mainstr. 3 11111 New York  T:        (011) 212-4301 F:            (011) 212-954301 M:         john.doe@yahoo.com \end{verbatim}  \begin{leftbar} My question I looking forward to reading the answers to my questions:\\ \ 1. Is the world analog or digital? \end{leftbar} digital  \begin{leftbar} 2. How long does the world exist?  \end{leftbar} analog since 1984, digital since 1999  \end{document}     This is what the above latex example looks like.    I also saw  but I do not want to use &gt; or colors. My settings are inspired by this  and this .
86045
I want to position the text at the top of the box as it is declared, but when the column on the right contains a long text, it automatically changes to the bottom of the box     \documentclass[12pt]{report}  %% Je suis francophone ! \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fancybox} %% Je veux utiliser néanmoins des fontes qui « paraissent bien » en PDF \usepackage[cyr]{aeguill} \usepackage[table,svgnames]{xcolor} \newcolumntype{C}[1]{&gt;{\centering\arraybackslash }b{#1}} \newcolumntype{L}[1]{&gt;{\raggedright\arraybackslash }b{#1}} \newcolumntype{R}[1]{&gt;{\raggedleft\arraybackslash }b{#1}} \begin{document} \begin{center} \begin{table}[h] \begin{tabular}{||C{0.5cm}||C{5cm}||C{4cm}||C{6.5cm}||}   \hline  \cellcolor{Gray} \textbf{RG} &amp; \textbf{Définition} &amp; \textbf{Mapping} &amp; \textbf{Règles de gestion spécifiques}\\   \hline \hline   \multicolumn{1}{||L{0.5cm}|}{\parbox{0.5cm}{1}} &amp; \multicolumn{1}{|L{5cm}|}{\footnotesize {Portail \-Date Traitement Courant}} &amp; \multicolumn{1}{|L{4cm}|}{\scriptsize{RBP \_ vTBADMRBP \_ SUIVI \_ APPLI.D \_ TRAIT}} &amp; \multicolumn{1}{|L{6.5cm}||}{\footnotesize {CASE WHEN [RBP \- Presentation View].[Dimension \- Référentiel Datamart].[L\_DATMR] = 'PORTAIL' THEN [RBP \- Presentation View].[Fait \- Suivi Application].[D\_TRAIT] END}} \\ \hline  \end{tabular} \caption{Équipe de travail} \end{table} \end{center}  \end{document}
41046
This is a follow-up question to , but I am afraid it is of a different nature now. The accepted answer seems to put unwanted spaces after the custom-defined environments. I am not sure how to remove them and what is causing them exactly. Apologies if this question is a bit vague as I absolutely have no idea.  Here is a MWE.  \documentclass[a4paper,leqno]{amsart} \usepackage{amsmath, xparse,xspace} \setlength{\parindent}{0pt}  \makeatletter \newcommand{\eqnum}{\textup{\tagform@{\theequation}}} \makeatother  %%%%% \ExplSyntaxOn  \NewDocumentEnvironment{aligncol}{m+b}{\guissmo_aligncol:nn {#1} {#2}}{} \NewDocumentEnvironment{aligncola}{m+b}{\guissmo_aligncol:nn {#1} {#2}}{a}  \seq_new:N \l__guissmo_aligncol_in_seq \seq_new:N \l__guissmo_aligncol_out_seq \seq_new:N \l__guissmo_aligncol_temp_seq \int_new:N \l__guissmo_aligncol_rows_int  \cs_new_protected:Nn\guissmo_aligncol:nn { %storetherowsinthesequence \seq_set_split:Nnn\l__guissmo_aligncol_in_seq{\\}{#2} \int_compare:nF{\int_mod:nn{\seq_count:N\l__guissmo_aligncol_in_seq}{#1}=0} {%numberofrowsnotamultipleof#1,addemptyentries \prg_replicate:nn{#1-\int_mod:nn{\seq_count:N\l__guissmo_aligncol_in_seq}{#1}} { \seq_put_right:Nn\l__guissmo_aligncol_in_seq{} } } \seq_clear:N\l__guissmo_aligncol_out_seq \int_set:Nn\l__guissmo_aligncol_rows_int {\int_div_truncate:nn{\seq_count:N\l__guissmo_aligncol_in_seq}{#1}} \int_step_inline:nn{\l__guissmo_aligncol_rows_int} {%clearthetemporarysequence \seq_clear:N\l__guissmo_aligncol_temp_seq \int_step_inline:nnn{0}{#1-1} { \seq_put_right:Nx\l__guissmo_aligncol_temp_seq { \seq_item:Nn\l__guissmo_aligncol_in_seq {##1+\l__guissmo_aligncol_rows_int*####1} } } \seq_put_right:Nx\l__guissmo_aligncol_out_seq { \seq_use:Nn\l__guissmo_aligncol_temp_seq{&amp;} } } %now\l__guissmo_aligncol_out_seqcontainsthenewrows \begin{equation}\eqnum \begin{minipage}{0.9\textwidth} \setlength{\abovedisplayskip}{0pt} \setlength{\belowdisplayskip}{0pt} \setlength{\abovedisplayshortskip}{0pt} \setlength{\belowdisplayshortskip}{0pt} \setbox0=\hbox{T}%tallestletterofthefirstlineofotherminipage \vskip-\ht0 \begin{align*} \seq_use:Nn\l__guissmo_aligncol_out_seq{\\} \end{align*} \end{minipage} \end{equation} } \ExplSyntaxOff  \begin{document}  Hello! \begin{aligncol}{1} a &amp;= a \end{aligncol} This has an extra space at the beginning. I don't want it. \\ This does not not. \begin{aligncol}{1} a &amp;= a \end{aligncol}This does NOT have an extra space, but the code is ugly. \\ This one does NOT have extra space too! \begin{aligncola}{1} a &amp;= a \end{aligncola} It seems that the space comes after the environment definition. \\ Is it the indeed case?  \end{document}   Here is a screenshot of the output.
77467
Related:       Note that this question, while related, is not the same as the ones linked.  In many cases, when people put code into questions or answers, they copy/paste the code from their editor.  If their editor is using tab characters, the formatting will be broken after the post is submitted.  For example, if a code is indented using TAB characters, then one TAB character in the beginning of a line will be treated as one level of indent and align with the left edge of the code, effectively indenting equally to 4 spaces.  However in the post editor it looks indented twice - the same as 8 spaces.  I often edit other people's posts to improve code formatting and I find this TAB issue being the biggest annoyance.  Most of the times (I think) on SO, we use 4 spaces to format/indent the code.  I think it would be an easy thing to auto-expand TAB characters inside &lt;code&gt; blocks by replacing them with 4 spaces when the post is submitted.
117043
Does anyone know how I can prevent the text in a table cell from wrapping?  This is for the header of a table, and the heading is a lot longer than the data under it, but I need it to display on only one line.  It is okay if the column is very wide.  The HTML of my (simplified) table looks like this:  &lt;table&gt;   &lt;thead&gt;     &lt;tr&gt;       &lt;th&gt;         &lt;div&gt;Really long column heading&lt;/div&gt;       &lt;/th&gt;       &lt;th&gt;         &lt;div&gt;Really long column heading&lt;/div&gt;       &lt;/th&gt;       &lt;th&gt;         &lt;div&gt;Really long column heading&lt;/div&gt;       &lt;/th&gt;       &lt;th&gt;         &lt;div&gt;Really long column heading&lt;/div&gt;       &lt;/th&gt;       &lt;th&gt;         &lt;div&gt;Really long column heading&lt;/div&gt;       &lt;/th&gt;       &lt;th&gt;         &lt;div&gt;Really long column heading&lt;/div&gt;       &lt;/th&gt;       &lt;th&gt;         &lt;div&gt;Really long column heading&lt;/div&gt;       &lt;/th&gt;     &lt;/tr&gt;   &lt;/thead&gt;   &lt;tbody&gt;     &lt;tr&gt;       &lt;td&gt;         &lt;div&gt;data&lt;/div&gt;       &lt;/td&gt;       &lt;td&gt;         &lt;div&gt;data&lt;/div&gt;       &lt;/td&gt;       &lt;td&gt;         &lt;div&gt;data&lt;/div&gt;       &lt;/td&gt;       &lt;td&gt;         &lt;div&gt;data&lt;/div&gt;       &lt;/td&gt;       &lt;td&gt;         &lt;div&gt;data&lt;/div&gt;       &lt;/td&gt;       &lt;td&gt;         &lt;div&gt;data&lt;/div&gt;       &lt;/td&gt;       &lt;td&gt;         &lt;div&gt;data&lt;/div&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt; &lt;/table&gt;   The heading itself is wrapped in a div inside the th tag for reasons pertaining to the javascript on the page.    The table is coming out with the headings wrapping onto multiple lines.  This seems to only happen when the table is sufficiently wide, as the browser is trying to avoid horizontal scrolling.  In my case, though, I want horizontal scrolling.  Any ideas?
107742
Possible Duplicate:          I am sure that this must be a dup, but I can't find the right keywords to search for.  So I am posting.    Right now my latex paragraphs look like this:  The paragraph does not start out with an indent.  But when you make a new  paragraph there is an indent.        This is a new paragraph.  Can  you see the indent?        This is another paragraph.    I would like to have no indenting but and an empty line between paragraphs. This is what I am using to remove the indents:  \setlength{\parindent}{0}   But I am not sure how to add in new lines.  I think it is something like this:  \setlength{\parskip}{1}   Happy Canada Day!
54132
I'm trying to add sample code to my document. It seems that the listing is left aligned with the margin, and the numbers go outside it. How should I align the number, instead of the code? Here is my latex code:  \documentclass[a4paper,10pt]{article} \usepackage[utf8x]{inputenc} \usepackage{listings}  %opening \title{} \author{}  \begin{document} Some dummy text. Some dummy text. Some dummy text. Some dummy text. \begin{figure} \begin{minipage}[b]{0.4\linewidth} \begin{lstlisting}[language=C, %frame=single, basicstyle=\footnotesize\ttfamily, numbers=left,stepnumber=1, morekeywords={assert} ] void test(int x, int y){   if(x &gt; 5){     x++;     if (x &lt; 3)        x--;     else        y = x;   }   assert (x &lt; 10 ); } \end{lstlisting} \caption{A simple example} \end{minipage}  %another minipage goes here  \end{figure}  \end{document}   Thank you.
40764
I am developing some tables on LaTeX environment and I am having some troubles with the spacing. Originally, I was able to generate the tables using the standard \begin{table}, but then I tried to add some features, as the capability to break the table if it is too long (using longtable) the issue appears. I also want to align numbers by decimal point and center, reason why I use siunitx package. The problem is on the last column, which had a width almost the double than the others. If I specify the column width, the problem "disappear", but I'm really interested in the possibility of automatically generate the width of the table.  The code is the following:  \documentclass[paper=a4, fontsize=11pt]{scrartcl} \usepackage[english]{babel} \usepackage{siunitx} \usepackage{longtable} \usepackage{booktabs}  \begin{document} \begin{longtable}{l*{4}{S}} % no problem specifying the column width\begin{longtable}{l*{4}{S[table-column-width=1.25cm]}} \caption{Univariate Item Descriptives}\\ \toprule \multicolumn{1}{l}{\textbf{Item}} &amp; \multicolumn{1}{c}{\textbf{Mean}} &amp;    \multicolumn{1}{c}{\textbf{Variance}} &amp; \multicolumn{1}{c}{\textbf{Skewness}} &amp; \multicolumn{1}{c}{\textbf{Kurtosis}} \\ \midrule \endfirsthead \multicolumn{5}{c}% {\tablename\ \thetable\ -- \textit{Univariate Item Descriptives (Continued from previous page)}} \\ \toprule \textbf{Item} &amp; \textbf{Mean} &amp; \textbf{Variance} &amp; \textbf{Skewness} &amp; \textbf{Kurtosis} \\ \midrule \endhead \hline \multicolumn{5}{r}{\textit{Continued on next page}} \\ \endfoot \bottomrule \endlastfoot 2. EX +         &amp; 2.788   &amp;    1.060 &amp;        -0.120   &amp;   -0.368\\ 3. DS +         &amp; 4.080   &amp;    0.853 &amp;        -1.141   &amp;    1.379\\ 4. AM +         &amp; 3.684   &amp;    0.705 &amp;        -0.541   &amp;    0.744\\ 5. EX +         &amp; 3.653   &amp;    1.043 &amp;        -0.709   &amp;    0.149\\ 6. DS -         &amp; 2.240   &amp;    1.665 &amp;         0.725   &amp;   -0.603\\ 7. AM +         &amp; 4.292   &amp;    0.876 &amp;        -1.627   &amp;    2.705\\ 8. EX -         &amp; 2.419   &amp;    1.588 &amp;         0.449   &amp;   -0.897\\ 9. AM +         &amp; 3.255   &amp;    0.923 &amp;        -0.234   &amp;   -0.037\\ 10. DS -        &amp; 3.449   &amp;    1.408 &amp;        -0.453   &amp;   -0.599\\ 11. EX +        &amp; 3.678   &amp;    1.232 &amp;        -0.669   &amp;   -0.219\\ 12. AM -        &amp; 2.830   &amp;    1.162 &amp;         0.029   &amp;   -0.565\\ 13. EX -        &amp; 3.452   &amp;    1.205 &amp;        -0.410   &amp;   -0.336\\ 14. DS -        &amp; 2.442   &amp;    1.374 &amp;         0.310   &amp;   -0.893\\ 15. AM -        &amp; 2.114   &amp;    1.168 &amp;         0.729   &amp;   -0.176\\ 16. EX -        &amp; 3.070   &amp;    1.085 &amp;        -0.176   &amp;   -0.347\\ 17. AM +        &amp; 3.893   &amp;    1.116 &amp;        -0.954   &amp;    0.544\\ 18. EX +        &amp; 3.311   &amp;    0.964 &amp;        -0.238   &amp;   -0.066\\ 19. AM -        &amp; 2.674   &amp;    1.404 &amp;         0.245   &amp;   -0.780\\ \end{longtable} \end{document}
23717
Is it possible to turn off the paragraph indention for a single line? I have the following use case: I open a new section which describes the task of an exercise. Since I use the font size \large for the section I don't want to use the section text for the task description.  Therefore I added the task description after the section. The disadvantage is that an indention is created when starting to write text after the task description.  What are possible solutions to this problem?
45652
I would like to create the following table bases on the answer of @Zarko  since i use the same code for another kind of table     \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[table]{xcolor} \usepackage{tabularx} \usepackage{enumitem} \usepackage{etoolbox} \AtBeginEnvironment{center}{%     \setlist[itemize,1]{nosep,                         topsep     = 0pt,                         partopsep  = 0pt,                         leftmargin = *,                         label      = \textendash,                         before     = \vspace{-0.6\baselineskip},                         after      = \vspace{-\baselineskip}                         }     \setlist[itemize]{  nosep,                         leftmargin=*,                         label = $\bullet$                       } }  \begin{document}     \begin{center} \bfseries \begin{tabularx}{\linewidth}{ | l | X |X| }     \hline \multicolumn{2}{|&gt;{\centering\arraybackslash}%                  p{\dimexpr\linewidth-2\tabcolsep-2\arrayrulewidth\relax}|}{\cellcolor{gray!30}     Very long text here and centered     Very long text here and centered     Very long text here and centered}    \\     \hline \multicolumn{3}{c}{}                    \\     \hline Year &amp;   Cycle &amp; Issues     \\     \hline 2018-2019   &amp; High School &amp; very \\     \hline \end{tabularx}     \end{center} \end{document}
9387
I am creating table in LaTeX and I need to get the text to perform line break automaticaly when it's too long. And if possible, I'd like to get the text alignment to the left. Is it possible to handle this situation?
80243
My code is this:  \setlength{\parindent}{0ex} \texttt{ x\hspace{1ex}\hspace{1ex}\hspace{1ex}y \newline \hspace{1ex}\hspace{1ex}\hspace{1ex}\hspace{1ex}y }   What I'd like to see is:  x   y     y   What I actually see is:  x   y y   I've tried various other ways of inserting a space. So far, they've all resulted in leading whitespace being ignored.  I've also tried using \verbatim and \alltt but they eat too many of the other commands that I need preserved (not shown in the example above).  I suppose I could (in the script that emits the LaTeX) count the leading spaces in each line and use different \parindent values. I'm looking for something more elegant first.
17059
Consider the following minimal example:  \documentclass{article}  \setlength{\parindent}{0mm}  \usepackage{paralist} \usepackage{tabto}  \begin{document}  \NumTabs{3} \begin{inparaenum} \item text \tab\item text \tab\item text \tab\item text \tab\item text \tab\item text    \end{inparaenum}  \end{document}   Which results in:    It does exactly what I want, but I was wondering whether it was possible to create an environment, say tabbedEnum so that we can eliminate the use of the \tab, in particular, that the first case doesn't need a tab but all others do. Something of the form:   \begin{tabbedEnum}[3] \item text \item text \item text \item text \item text \item text \end{tabbedEnum}
43240
This question is a follow up to my :  Is it possible to use &gt; and &lt; to pipe opening and closing braces on each side of a cell's content? To be more specific, what I want is to define the following column:  \newcolumntype{P}{&gt;{\leavevmode\kern-\tabcolsep\bfseries\parbox[t]{\hsize}{}X&lt;{}}}   I want a column type that automatically embraces the cell content in a \parbox.  I enclose a short MNWE:  \documentclass[table]{article} \usepackage{lmodern, microtype, xcolor, tabularx, tabulary}  \begin{document}  \begin{tabularx}{0.5\columnwidth}{&gt;{\raggedright\arraybackslash\leavevmode\kern-\tabcolsep\parbox[t]{\hsize}{ }X&lt;{}}XX&lt;{\leavevmode\kern-\tabcolsep\raggedleft\arraybackslash}}  \rowcolor{lightgray}All this testing is not so funny&amp;test&amp;test\\\hline testing, testing and even more testing &amp;test&amp;test\\ \rowcolor{lightgray}I want to write a noce table in a simple way&amp;test&amp;test\\ \end{tabularx}  \end{document}
51207
I have a table table and the first column is a multirow. The multirow column text exceeds the column with.   \documentclass{article}  \usepackage[dutch]{babel} \usepackage{ragged2e} \usepackage{ltablex, multirow, makecell, caption}  \begin{document}  \keepXColumns\setcellgapes{3pt}\makegapedcells \begin{tabularx}{\linewidth}{|p{25mm}|*{3}{&gt;{\RaggedRight\arraybackslash}X|}}   \caption{My caption}   \label{my-label} \\    \hline  Onderwerp &amp; Persoonlijk niveau &amp; Professioneel niveau &amp; Samenlevingsniveau \\ \hline     \multirow{4}{*}{Perspectief: Wat is het hogere doel}      &amp; Wat is jouw hoge doel in het leven?  &amp; Wat is jouw hoge doel in je beroep? &amp;  Wat is jouw hoge doel in de samenleving? \\ \cline{2-4}     &amp; &amp; &amp; x \\ \cline{2-4}   \hline  \end{tabularx}  \end{document}     How can I make the text wrap and go to next line when the line is longer then the column width like the other columns?