0

When I add a table:

\begin{table}
\begin{center}
\begin{tabular}{ | m{2cm} | m{6cm}| m{7cm} | } 
\rowcolor{Gray} 
\hline
Aspect
& Angular 
& React \\ 
\hline
Développeur
& Google
& Facebook \\ 
\hline
Langage
& Typescript
& Javascript ou JSX \\ 
\hline
Architecture
& Utilise une hiérarchie de composants
& Utilise des composants basés sur JSX \\ 
\hline
Databinding
& Utilise Liaison d'événement et des propriétés
& Gestion de l’état des composants avec l’architecture flux \\ 
\hline
Routage
& Utilise Liaison d'événement et des propriétés
& Gestion de l’état des composants avec l’architecture flux \\ 
\hline
\end{tabular}
\end{center}
\caption{Comparaison entre Angular et React}
\label{angular_react}
\end{table}

It gets added in the beginning of the page despite the fact that in the source code I added it after the Angular paragraph:
enter image description here However, when I remove:

\begin{table}
\end{table}

This kindof solves the issue. It displays the table in its place but it removes the caption:
enter image description here This is really strange. I need the table in its place, with the caption. Howver, I couldn't solve this. Any help?

Paul Gessler
  • 29,607

0 Answers0