Quantcast
Viewing all articles
Browse latest Browse all 2

Tabularx and multirow overflowing

I am trying to span a row over two rows in a tabularx table with the following:

\begin{table}[h]    \caption{Table caption}    \hfill    \begin{tabularx}{\linewidth}{|X|X|X|X|}        \hline \\        \textbf{Column1} & \textbf{Column2} & \textbf{Column3} & \textbf{Column4} \\ \hline    Row1 & Text1 & \multirow{2}{*}{Spanning text that may need to be wrapped in the column} & 500 \\ \hline    Row2 & Text2 & & 500\\ \hline     Row3 & Text3 & SomeOtherText & MoreText \\ \hline    \end{tabularx}\end{table}

However currently getting:Image may be NSFW.
Clik here to view.
enter image description here

  • The spanning text is overflowing
  • A horizontal line is being drawn between the spanning cells
  • Something strange with the lines around "Column2", "Column3", "Column4"

(compiling with pdflatex)

What is the simplest way to fix this...?


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>