Graphics, Figures & Tables ⇒ text centering in table
text centering in table
i have one question :
=> i try to center my texte in a case where there is 2 lines (see attached item) but i don't understand how i can perform this...
can you explain to me the solution ?
(i have tested with \centering but it don't works)
\hline
WaWA& \centering{9} & 9\\
WAWA& & \\
\hline
- Attachments
-
- tableau.jpg (5.25 KiB) Viewed 4855 times
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
text centering in table
Code: Select all
\multirow{2}{2cm}{\centering{9}}
- Stefan Kottwitz
- Site Admin
- Posts: 10350
- Joined: Mon Mar 10, 2008 9:44 pm
text centering in table
\centering
is a command without argument, so braces are not needed:Code: Select all
\multirow{2}{2cm}{\centering 9}