I have a table and i want to align elements left.
This is my code :
\begin{tabular}{|c|c|}
\hline
Priorité&Description \\
\hline
\multirow{4}{16 mm }{\centering 0}
& \tabitem \raggedright Documentation.\tabularnewline
& \raggedleft \tabitem Analyse et critique de quelques navigateurs pour enfants existant.\tabularnewline
& \raggedleft \tabitem Description de la solution souhaitée.\tabularnewline
& \raggedleft \tabitem Modélisation et implémentation de la base de données.\tabularnewline
\hline
\multirow{2}{8 mm }{\centering 1}
& \raggedleft \tabitem Conception et développement du navigateur.\tabularnewline
& \raggedleft \tabitem Globalisation du navigateur.\tabularnewline
\hline
\multirow{2}{8 mm }{\centering 2}
& \raggedleft \tabitem Conception et développement du Dashboard administrative.\tabularnewline
& \raggedleft \tabitem Conception et développement du Dashboard parental.\tabularnewline
\hline
\centering 3&
\raggedleft \tabitem Intégration du navigateur avec le projet Famissima.\tabularnewline
\hline
\end{tabular}
can anyone help me.
and this is the \tabitem:
\usepackage{booktabs}
\newcommand{\tabitem}{~~\llap{\textbullet}~~}
Best Answer
You have to use
p
column type to get\raggedright/left
working. Also, if you are adding\tabitem
in every cell of a column, add it to the column specifier (anarray
package feature) instead of repeating it.\arraybackslash
will allow you to use\\
as usual.