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 [2016/10/18 22:04] – 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}{% | ||
| \begin{tabular}{|c|c|} | \begin{tabular}{|c|c|} | ||
| Ligne 15: | 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” ===== |
| - | '' | + | |
| - | tableau. Consultez~\ref{expl=Utilisation_rotating} pour un exemple rapide. | + | |
| - | % 1 | + | L' |
| - | %23456789012345678901234567890123456789012345678901234567890 | + | |
| - | \begin{exemple}{Utilisation de | + | <WRAP column 60ex> |
| - | | + | <code latex> |
| \begin{sideways} | \begin{sideways} | ||
| \begin{tabular}{|c|c|} | \begin{tabular}{|c|c|} | ||
| Ligne 48: | 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> | ||
| + | metatag-og: | ||
| + | metatag-og: | ||
| + | }} | ||

