|
Je suis aux prises avec un tableau très large, avec des dizaines de colonnes. Existe-t-il un package définissant les dimensions de la page en fonction de celles du tableau ? L'équivalent de |
|
Ouvrir dans l'éditeur Overleaf
\documentclass[border=1cm]{standalone} \begin{document} \begin{tabular}{llllllllllllllllllllllllllllll} test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & testdd \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test & test \\ \end{tabular} \end{document} Et Ouvrir dans l'éditeur Overleaf
\documentclass{article} \usepackage{duckuments} \usepackage{pdfpages} \begin{document} \duckument \includepdf[fitpaper=true]{test} \duckument \end{document}
Il faudrait modifier les différents packages utilisés, y compris LaTeX, pour pouvoir écrire @samcarter : euh... une traduction française du manuel ? Ou du mot « duckument » ? À ce sujet, je me demande bien quelle est la traduction italienne de « quack » et autres « duckuments ». Tel Ramón Gómez de la Serna, je réponds à moi-même et propose :
|
Et pourquoi ne pas utiliser
standalone? Vous pouvez utiliserpdfpagespour ajouter cette page.L'idée était de ne pas avoir à calculer les dimensions de la page. Il me semble que votre solution implique de créer un pdf avant de l'inclure dans une page. Mais pour créer ce pdf, il faut déterminer les dimensions du tableau : c'est cette opération dont je voudrais ne pas avoir à m'occuper.
@Pathe Vous n'avez pas besoin de calculer les dimensions de la page -
standalonefait ça.@samcarter : mais j'avais fait un test avec standalone avant de poser cette question ! Et ça n'avait pas marché... 😢