Partage
  • Partager sur Facebook
  • Partager sur Twitter

probleme gros fichiers LaTeX

    13 novembre 2017 à 22:11:57

    Bonjour,

    j'ai fais un petit programme en java qui genere un fichier LaTeX pour faire des cartons de loto (afin de facilement faire un PDF même si je ne connais  pas LaTeX)

    le soucis c'est que quand je veux creer de nombreux cartons j'ai un probleme avec le PDF créé, il est incomplet et j'ai l'impression que certains cartons sont en dehors des pages, de plus j'ai plein de pages vides au début du PDF.

    pour exemple :

    \documentclass{article}
    \usepackage[table,xcdraw]{xcolor} 
    \usepackage{graphicx} 
    \usepackage{lscape} 
     
    \usepackage{geometry} 
    \geometry{hmargin=0.5cm,vmargin=0.5cm} 
    \begin{document}  
     
    \begin{table} 
    \fontsize{24}{24}\selectfont 
     \renewcommand{\arraystretch}{2}
    \begin{tabular}{|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|}
    \hline
    ~ \includegraphics{logo.png} & 13 & 27 & 40 & ~  & ~  & 61 & 75 & ~ \rule[1]{1cm}{}\\ 
    \hline
    ~  & 16 & ~  & ~  & 47 & 55 & 64 & 77 & ~ \rule[1]{1cm}{}\\ 
    \hline
    2 & 19 & ~  & ~  & 48 & 56 & ~  & ~  & 82\rule[1]{1cm}{}\\ 
    \hline 
    \end{tabular} 
    \end{table} 
      
     
    \begin{table} 
    \fontsize{24}{24}\selectfont 
     \renewcommand{\arraystretch}{2}
    \begin{tabular}{|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|}
    \hline
    ~ \includegraphics{logo.png} & ~  & 21 & ~  & 48 & ~  & 61 & 74 & 89\rule[1]{1cm}{}\\ 
    \hline
    ~  & 16 & 30 & ~  & 46 & ~  & 69 & ~  & 88\rule[1]{1cm}{}\\ 
    \hline
    2 & 12 & 22 & ~  & ~  & ~  & 65 & 77 & ~ \rule[1]{1cm}{}\\ 
    \hline 
    \end{tabular} 
    \end{table} 
      
     
    \begin{table} 
    \fontsize{24}{24}\selectfont 
     \renewcommand{\arraystretch}{2}
    \begin{tabular}{|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|}
    \hline
    ~ \includegraphics{logo.png} & 13 & 29 & 39 & 43 & ~  & 64 & ~  & ~ \rule[1]{1cm}{}\\ 
    \hline
    ~  & 16 & 28 & ~  & 47 & 52 & ~  & ~  & 87\rule[1]{1cm}{}\\ 
    \hline
    8 & ~  & ~  & 33 & 42 & 58 & 66 & ~  & ~ \rule[1]{1cm}{}\\ 
    \hline 
    \end{tabular} 
    \end{table} 
      
     
    \begin{table} 
    \fontsize{24}{24}\selectfont 
     \renewcommand{\arraystretch}{2}
    \begin{tabular}{|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|}
    \hline
    8 & 17 & 27 & 33 & ~ \includegraphics{logo.png} & ~  & ~  & 73 & ~ \rule[1]{1cm}{}\\ 
    \hline
    9 & 14 & 28 & ~  & 44 & ~  & ~  & ~  & 82\rule[1]{1cm}{}\\ 
    \hline
    ~  & 20 & ~  & ~  & 49 & 52 & ~  & 75 & 86\rule[1]{1cm}{}\\ 
    \hline 
    \end{tabular} 
    \end{table} 
      
     
    \begin{table} 
    \fontsize{24}{24}\selectfont 
     \renewcommand{\arraystretch}{2}
    \begin{tabular}{|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|}
    \hline
    10 & ~ \includegraphics{logo.png} & 28 & 37 & 50 & 55 & ~  & ~  & ~ \rule[1]{1cm}{}\\ 
    \hline
    ~  & ~  & 21 & 38 & ~  & ~  & 69 & 79 & 89\rule[1]{1cm}{}\\ 
    \hline
    6 & 16 & ~  & 31 & ~  & ~  & 65 & ~  & 81\rule[1]{1cm}{}\\ 
    \hline 
    \end{tabular} 
    \end{table} 
      
     
    \begin{table} 
    \fontsize{24}{24}\selectfont 
     \renewcommand{\arraystretch}{2}
    \begin{tabular}{|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|p{1cm}|}
    \hline
    4 & ~ \includegraphics{logo.png} & 27 & ~  & 41 & ~  & 64 & ~  & 81\rule[1]{1cm}{}\\ 
    \hline
    1 & 17 & ~  & 33 & 43 & 60 & ~  & ~  & ~ \rule[1]{1cm}{}\\ 
    \hline
    ~  & 19 & ~  & ~  & 48 & ~  & 61 & 80 & 85\rule[1]{1cm}{}\\ 
    \hline 
    \end{tabular} 
    \end{table} 

     voila, sachant que je tente de compiler ces fichiers sous Windows avec MikTek. Si quelqu'un pourrait m'aider ça serait sympas.

    -
    Edité par zarmion 13 novembre 2017 à 22:28:34

    • Partager sur Facebook
    • Partager sur Twitter

    probleme gros fichiers LaTeX

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown