Graphics, Figures & Tablesmutilrow:how to deal with the text higher than the row heigh

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
latthias
Posts: 1
Joined: Tue Mar 17, 2015 10:10 am

mutilrow:how to deal with the text higher than the row heigh

Post by latthias »

Code: Select all

\documentclass[a4paper]{article}

\usepackage[landscape,hmargin=2cm,top=1.5cm,bottom=1.6cm,headsep=1mm,headheight=3cm]{geometry} 
\usepackage{multirow}
\usepackage{tabularx}

\begin{document}

	\begin{tabularx}{1\textwidth}{|c|c|c|c|c|c|c|X<{\centering}|c|c|c|c|c|p{35mm}<{\centering}|}
	\hline
		&&&&&&&&&100\%&continueous&&worker& \\
		\cline{10-13}
		&&&&\multirow{-2}*{suface quality}&&&\multirow{-2}{60mm}{The financials crashed and burned during the 2008 meltdown but have since been in recovery mode with the rest of the market.  This article will explore the risks and rewards associated with these Financial ETFs to identify which have been the best performers.}&\multirow{-2}*{check}&\multicolumn{2}{c|}{SPDR SP Bank ETF}&&worker&\multirow{-2}{30mm}{The Best Financial ETFs} \\
		\hline
	\end{tabularx}

\end{document}
Image
show as the above code ,the merged row is two while the text in the cell is more than two.the text height in the cell is higher than row height,how to correct it? anyone can help me?thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

mutilrow:how to deal with the text higher than the row heigh

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

The row height won't be automatically adjusted by multirow. However, you could end that line by adding the required space, such as:

Code: Select all

 &&&&\multirow{-2}*{suface quality}& ... &\multirow{-2}{30mm}{The Best Financial ETFs} \\[2.5cm]
Stefan
LaTeX.org admin
Post Reply