Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| composition:tableaux:changer_l_orientation_d_un_tableau [2020/11/24 21:27] – Suppression de phrases inutiles pour introduire les exemples. jejust | 3_composition:tableaux:changer_l_orientation_d_un_tableau [2021/11/28 15:07] (Version actuelle) – Correction de la mise en forme. Ajout des exemples compilés. yannick.tanguy | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Comment modifier l' | ====== Comment modifier l' | ||
| + | ===== Avec l' | ||
| - | $\Reponse$ | + | La commande '' |
| - | faire tourner une boîte, donc en particulier un tableau: | + | |
| + | <WRAP column 60ex> | ||
| <code latex> | <code latex> | ||
| \rotatebox{90}{% | \rotatebox{90}{% | ||
| Ligne 14: | Ligne 15: | ||
| \end{tabular}} | \end{tabular}} | ||
| </ | </ | ||
| + | </ | ||
| + | <WRAP column 60ex> | ||
| + | < | ||
| + | \documentclass{article} | ||
| + | \usepackage{graphicx} | ||
| + | \pagestyle{empty} | ||
| + | \begin{document} | ||
| + | \rotatebox{90}{% | ||
| + | \begin{tabular}{|c|c|} | ||
| + | | ||
| + | salut & coucou \\ | ||
| + | bonjour & hello\\ | ||
| + | | ||
| + | \end{tabular}} | ||
| + | \end{document} | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP clear /> | ||
| - | $\Reponse$ | + | ===== Avec l' |
| - | « paysage ». Il utilise la commande '' | + | |
| - | compatible avec le package [[ctanpkg> | + | |
| + | L' | ||
| - | $\Reponse$ | + | ===== Avec l'extension “rotating” ===== |
| - | '' | + | |
| + | L' | ||
| + | |||
| + | <WRAP column 60ex> | ||
| <code latex> | <code latex> | ||
| \begin{sideways} | \begin{sideways} | ||
| Ligne 43: | Ligne 63: | ||
| \end{sideways} | \end{sideways} | ||
| </ | </ | ||
| + | </ | ||
| + | <WRAP column 60ex> | ||
| + | < | ||
| + | \documentclass{article} | ||
| + | \usepackage{rotating} | ||
| + | \pagestyle{empty} | ||
| + | \begin{document} | ||
| + | \begin{sideways} | ||
| + | \begin{tabular}{|c|c|} | ||
| + | \multicolumn{1}{c}{% | ||
| + | \begin{turn}{60}Note\end{turn}} & | ||
| + | \multicolumn{1}{c}{% | ||
| + | \begin{turn}{60}Quantité\end{turn}} \\ | ||
| + | \hline | ||
| + | 0 & 3 \\ | ||
| + | 1 & 4 \\ | ||
| + | 2 & 11 \\ | ||
| + | 3 & 15 \\ | ||
| + | 4 & 23 \\ | ||
| + | 5 & 36 \\ | ||
| + | \hline | ||
| + | \end{tabular} | ||
| + | \end{sideways} | ||
| + | \end{document} | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP clear /> | ||
| + | ===== Avec l' | ||
| - | $\Reponse$ | + | Si le tableau est un [[3_composition/ |
| - | faire tourner les flottants (et donc en particulier également la légende). | + | |
| - | + | {{htmlmetatags> | |
| - | {{htmlmetatags> | + | metatag-og: |
| - | metatag-og: | + | |
| metatag-og: | metatag-og: | ||
| }} | }} | ||
| - | |||

