Bonjour,
je débute avec l´environnement "tabular", mon premier tableau fonctionne, mon second non.
En fait la colonne C4 disparaît, je ne sais pas trop pourquoi.
Auriez-vous la solution ?
mon objectif:
mon code (le premier tableau est OK)
Merci a vous
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47 \documentclass[12pt]{scrreprt} % report oder scrreprt... %%%%%%%%%%%%%%%%% Präambul , Paketenladen %%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%% Tabelle OK %%%%%%%%%%%%%%%%%%%%%%%%%%%5 \begin{tabular}{|c|c|c|c|c|} % 5 colonnes \hline 1 & \multicolumn{2}{c|}{2} & 3 & 4 \\ \hline \multicolumn{2}{|c|}{5} & 6 & 7 & 8 \\ \hline 9 & 10 & \multicolumn{3}{c|}{11} \\ \hline \end{tabular} %%%%%%%%%%%%%%%%%%%%%%%%% Tabelle KO %%%%%%%%%%%%%%%%%%%%%%%%%%%%%5 \begin{tabular}{|c|c|c|c|c|c|c|} % 7 colonnes (mais la colonne 4 disparait, ca m´agace !!) \hline 1 & 2 & 3 & \multicolumn{2}{c|}{4} & 5 & 6 \\ \hline \multicolumn{2}{|c|}{7} & \multicolumn{2}{c|}{8} & 9 & 10 & 11 \\ \hline 12 & \multicolumn{2}{c|}{13} & \multicolumn{3}{c|}{14} & 15 \\ \hline \multicolumn {3}{|c|}{16} & \multicolumn {2}{c|}{17} & \multicolumn {2}{c|}{18} \\ \hline \end{tabular} \end{document}
Partager