General ⇒ tabular x and multirow
tabular x and multirow
I make a table like this:
--------------------------------------
| long | long | line | long | long |
| | |----------- | | |
| line | line | line | line | line | line |
--------------------------------------
And use next commands:
\begin{tabularx}{\textwidth}{|c|X|X|*{4}{c|}}
\hline
\multirow{2}{1.2cm}{long line} & \multirow{2}{1.2cm}{long line} & \multicolumn{2}{c}{line} & \multirow{2}{1.3(!!)cm}{long\-(!!)line} & \multirow{2}{1.2cm}{long line} & \multirow{2}{1.2cm}{long line}\\
& & line & line & & &\\
(!!) - mean, that i fix it by hand and spend long time to achieve, that text fit to the row.
Is there are more simple way to create this table and touch nothing by hand (like changing row width and inserting hyphen)?
Thanks!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: tabular x and multirow
B.A.
tabular x and multirow
Ok, what i get currently:

and what with {*} (i tried this before with no luck

\multirow{2}{*}{Код работ} & \multirow{2}{*}{Определение работы} & \multicolumn{2}{c}{ИÑполнители} & \multirow{2}{*}{ТрудоемкоÑть} & \multirow{2}{*}{Оклад (руб.)} & \multirow{2}{*}{ЗП (руб.)}\\
& & ДолжноÑть & Кол-во & & &\\
P.S.: Sorry for russian text.
