IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Tableaux - Graphiques - Images - Flottants Discussion :

Rotation de deux tableaux


Sujet :

Tableaux - Graphiques - Images - Flottants

  1. #1
    Membre du Club
    Inscrit en
    Février 2011
    Messages
    188
    Détails du profil
    Informations forums :
    Inscription : Février 2011
    Messages : 188
    Points : 51
    Points
    51
    Par défaut Rotation de deux tableaux
    Bonjour,

    j'ai créé untableau et je le fais tourner avec le package "rotating" et l'environnement "sidewaystable". Maintenant je veux créer de la même façon un deuxième tableau que je souhaite le placer au dessous du premier.

    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
    \begin{sidewaystable}
     
    	\centering
     
    \begin{tabular}{|p{0.5cm}|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}%>{\columncolor[gray]{.85}[0pt]}		
    			\hline
    \cellcolor{sss}n& \multicolumn{4}{|>{\columncolor{sss}}c||}{\textbf{3}}& \multicolumn{4}{|>{\columncolor{sss}}c||}{\textbf{4}}&\multicolumn{4}{|>{\columncolor{sss}}c||}{\textbf{5}}& \multicolumn{4}{|>{\columncolor{sss}}c||}{\textbf{8}}& \multicolumn{4}{|>{\columncolor{sss}}c||}{\textbf{10}}\\
     
    			\hline
     
    \cellcolor{sss}{nbI}&
    \cellcolor[gray]{.85}{10}& \cellcolor[gray]{.85}{15}& \cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}& \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20} & \cellcolor[gray]{.85}{30}&
    \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}& \cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}& 
    \cellcolor[gray]{.85}{10}& \cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}&
    \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}\\
    			    \hline
    \cellcolor{sss}{npg}&3.5& & &&&&&&&&&&&&&&&&&\\
    			    \hline
    \cellcolor{sss}{tex}&& & &
    && & &
    && & &
    && & &
    && & &\\
    			    \hline
    \cellcolor{sss}{gop}&& & &&&&&&&&&&&&&&&&& \\
    			    \hline
    \end{tabular}
    \caption{Mon premier tableau}
    \label{tab:MonPremierTableau}
    \end{sidewaystable}
    aidez moi svp et merci d'avance.

  2. #2
    Expert éminent sénior

    Avatar de -Nikopol-
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mai 2013
    Messages
    2 174
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 49
    Localisation : France, Haute Marne (Champagne Ardenne)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Enseignement

    Informations forums :
    Inscription : Mai 2013
    Messages : 2 174
    Points : 11 289
    Points
    11 289
    Billets dans le blog
    5
    Par défaut
    Comme ceci peut être :
    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
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    \documentclass{article}
    \usepackage{colortbl}
    \usepackage{rotating}
    \begin{document}
    \begin{sidewaystable}
     
    	\centering
     
    \begin{tabular}{|p{0.5cm}|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}%>{\columncolor[gray]{.85}[0pt]}		
    			\hline
    \cellcolor{blue}n& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{3}}& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{4}}&\multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{5}}& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{8}}& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{10}}\\
     
    			\hline
     
    \cellcolor{blue}{nbI}&
    \cellcolor[gray]{.85}{10}& \cellcolor[gray]{.85}{15}& \cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}& \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20} & \cellcolor[gray]{.85}{30}&
    \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}& \cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}& 
    \cellcolor[gray]{.85}{10}& \cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}&
    \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}\\
    			    \hline
    \cellcolor{blue}{npg}&3.5& & &&&&&&&&&&&&&&&&&\\
    			    \hline
    \cellcolor{blue}{tex}&& & &
    && & &
    && & &
    && & &
    && & &\\
    			    \hline
    \cellcolor{blue}{gop}&& & &&&&&&&&&&&&&&&&& \\
    			    \hline
    \end{tabular}
    \caption{Mon premier tableau}
     
    \begin{tabular}{|p{0.5cm}|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}%>{\columncolor[gray]{.85}[0pt]}		
    			\hline
    \cellcolor{blue}n& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{3}}& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{4}}&\multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{5}}& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{8}}& \multicolumn{4}{|>{\columncolor{blue}}c||}{\textbf{10}}\\
     
    			\hline
     
    \cellcolor{blue}{nbI}&
    \cellcolor[gray]{.85}{10}& \cellcolor[gray]{.85}{15}& \cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}& \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20} & \cellcolor[gray]{.85}{30}&
    \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}& \cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}& 
    \cellcolor[gray]{.85}{10}& \cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}&
    \cellcolor[gray]{.85}{10}&\cellcolor[gray]{.85}{15}&\cellcolor[gray]{.85}{20}&\cellcolor[gray]{.85}{30}\\
    			    \hline
    \cellcolor{blue}{npg}&3.5& & &&&&&&&&&&&&&&&&&\\
    			    \hline
    \cellcolor{blue}{tex}&& & &
    && & &
    && & &
    && & &
    && & &\\
    			    \hline
    \cellcolor{blue}{gop}&& & &&&&&&&&&&&&&&&&& \\
    			    \hline
    \end{tabular}
    \caption{Mon deuxieme tableau}
    \label{tab:Mes deux tableau}
    \end{sidewaystable}
    \end{document}
    PS: la prochaine essaye de fournir un ECM (voir signature) que l'on ai pas à chercher quelles extensions il faut ajouter et devoir redefinir les couleur parexemple. Merci

  3. #3
    Membre du Club
    Inscrit en
    Février 2011
    Messages
    188
    Détails du profil
    Informations forums :
    Inscription : Février 2011
    Messages : 188
    Points : 51
    Points
    51
    Par défaut
    Merci infiniment pour votre réponse et désolé pour la faute concernant la couleur .

  4. #4
    Expert éminent sénior

    Avatar de -Nikopol-
    Homme Profil pro
    Développeur Web
    Inscrit en
    Mai 2013
    Messages
    2 174
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 49
    Localisation : France, Haute Marne (Champagne Ardenne)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : Enseignement

    Informations forums :
    Inscription : Mai 2013
    Messages : 2 174
    Points : 11 289
    Points
    11 289
    Billets dans le blog
    5
    Par défaut
    Pas grave c'est juste que c'est plus simple quand il y a tout y compris le préambule.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. PL/SQL COMPARAISON DE DEUX TABLEAUX APRES BULK
    Par mimi_été dans le forum PL/SQL
    Réponses: 5
    Dernier message: 30/06/2009, 12h14
  2. Concaténation de deux tableaux
    Par mego dans le forum Langage
    Réponses: 6
    Dernier message: 19/11/2008, 11h52
  3. Réponses: 54
    Dernier message: 16/03/2006, 11h42
  4. comparer deux tableaux
    Par djibril dans le forum Langage
    Réponses: 4
    Dernier message: 15/11/2005, 15h26
  5. Réponses: 4
    Dernier message: 11/10/2005, 10h17

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo