Michela

Risposte nei forum create

Stai visualizzando 11 risposte – dal 1 al 11 (di 11 totali)
  • Autore
    Risposte
  • in risposta a: Inserimento di più alberi nella stessa facciata #105482
    Up
    0
    Down
    ::


    Grazie infinite Ivan!

    in risposta a: Inserimento di più alberi nella stessa facciata #105480
    Up
    0
    Down
    ::


    Chiedo scusa!!

    Ecco il codice compilabile:

    `
    \documentclass[a4paper, twoside, openright, 10pt]{book}
    \usepackage[utf8]{inputenc}
    \usepackage[italian]{babel}
    \usepackage[T1]{fontenc}
    \usepackage{tikz}
    \usetikzlibrary{matrix}
    \usepackage{adjustbox}

    \begin{document}

    \begin{figure}[htp]
    \tiny
    \centering
    \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\end{minipage}},rotate=90,center}
    \begin{tikzpicture}[>=stealth,sloped]
    \matrix (tree) [%
    matrix of nodes,
    minimum size=0.3cm,
    column sep=0.3cm,
    row sep=0.1cm,
    ]
    {
    2014 & 2015 & 2016 & 2017 & 2018 & 2019 & 2020 & 2021 & 2022 & 2023 & 2024 & 2025 & 2026 & 2027 & 2028 & 2029 \\
    & & 1.027.872 & 55.945 & 84.081 & 110.621 & 130.092 & 130.563 & 124.491 & 122.361 & 115.367 & 114.447 & 112.262 & 94.817 & 75.653 & 63.359 \\
    & & \textbf{724.059} & & & & & & & & & & & & & \\
    & 884.697 & & & & & & & & & \\
    & \textbf{311.465} & & & & & & & & & & & & & & \\
    761.466 & & 761.466 & 41.445 & 62.289 & 81.950 & 96.375 & 96.723 & 92.225 & 90.648 & 85.466 & 84.784 & 83.166 & 70.242 & 56.045 & 46.937 \\
    \textbf{0} & & \textbf{378.295} & & & & & & & & & & & & & \\
    & 655.400 & & & & & & & & & \\
    & \textbf{50.094} & & & & & & & & & & & & & & \\
    & & 564.108 & 30.703 & 46.144 & 60.710 & 71.396 & 71.654 & 68.322 & 67.153 & 63.315 & 62.810 & 61.611 & 52.037 & 41.519 & 34.772 \\
    };
    \draw[->] (tree-6-1) — (tree-4-2) node [midway,above] {};
    \draw[->] (tree-6-1) — (tree-8-2) node [midway,above] {};
    \draw[->] (tree-4-2) — (tree-2-3) node [midway,below] {};
    \draw[->] (tree-4-2) — (tree-6-3) node [midway,above] {};
    \draw[->] (tree-8-2) — (tree-6-3) node [midway,below] {};
    \draw[->] (tree-8-2) — (tree-10-3) node [midway,below] {};
    \end{tikzpicture}
    %}
    \end{adjustbox}
    \caption{B}
    \label{B}
    \end{figure}

    \begin{figure}[htp]
    \tiny
    \centering
    \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\end{minipage}},rotate=90,center}
    \begin{tikzpicture}[>=stealth,sloped]
    \matrix (tree) [%
    matrix of nodes,
    minimum size=0.3cm,
    column sep=0.3cm,
    row sep=0.1cm,
    ]
    {
    2014 & 2015 & 2016 & 2017 & 2018 & 2019 & 2020 & 2021 & 2022 & 2023 & 2024 & 2025 & 2026 & 2027 & 2028 & 2029 \\
    & & 1.027.872 & 55.945 & 84.081 & 110.621 & 130.092 & 130.563 & 124.491 & 122.361 & 115.367 & 114.447 & 112.262 & 94.817 & 75.653 & 63.359 \\
    & & \textbf{724.059} & & & & & & & & & & & & & \\
    & 884.697 & & & & & & & & & \\
    & \textbf{311.465} & & & & & & & & & & & & & & \\
    761.466 & & 761.466 & 41.445 & 62.289 & 81.950 & 96.375 & 96.723 & 92.225 & 90.648 & 85.466 & 84.784 & 83.166 & 70.242 & 56.045 & 46.937 \\
    \textbf{-68.824} & & \textbf{378.295} & & & & & & & & & & & & & \\
    & 655.400 & & & & & & & & & \\
    & \textbf{50.094} & & & & & & & & & & & & & & \\
    & & 564.108 & 30.703 & 46.144 & 60.710 & 71.396 & 71.654 & 68.322 & 67.153 & 63.315 & 62.810 & 61.611 & 52.037 & 41.519 & 34.772 \\
    };
    \draw[->] (tree-6-1) — (tree-4-2) node [midway,above] {};
    \draw[->] (tree-6-1) — (tree-8-2) node [midway,above] {};
    \draw[->] (tree-4-2) — (tree-2-3) node [midway,below] {};
    \draw[->] (tree-4-2) — (tree-6-3) node [midway,above] {};
    \draw[->] (tree-8-2) — (tree-6-3) node [midway,below] {};
    \draw[->] (tree-8-2) — (tree-10-3) node [midway,below] {};
    \end{tikzpicture}
    \end{adjustbox}
    \caption{A}
    \label{A}
    \end{figure}

    \end{document}
    `

    Ti ringrazio per il tuo suggerimento.
    Preferisco usare il pacchetto adjustbox perché mi permette di ruotare in senso antiorario. E se volessi lasciare che le didascalie non siano ruotate?

    Grazie.

    in risposta a: Inserimento di più alberi nella stessa facciata #105478
    Up
    0
    Down
    ::


    `
    \begin{figure}[htp]
    \tiny
    \centering
    \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\end{minipage}},rotate=90,center}
    \begin{tikzpicture}[>=stealth,sloped]
    \matrix (tree) [%
    matrix of nodes,
    minimum size=0.3cm,
    column sep=0.3cm,
    row sep=0.1cm,
    ]
    {
    2014 & 2015 & 2016 & 2017 & 2018 & 2019 & 2020 & 2021 & 2022 & 2023 & 2024 & 2025 & 2026 & 2027 & 2028 & 2029 \\
    & & 1.027.872 & 55.945 & 84.081 & 110.621 & 130.092 & 130.563 & 124.491 & 122.361 & 115.367 & 114.447 & 112.262 & 94.817 & 75.653 & 63.359 \\
    & & \textbf{724.059} & & & & & & & & & & & & & \\
    & 884.697 & & & & & & & & & \\
    & \textbf{311.465} & & & & & & & & & & & & & & \\
    761.466 & & 761.466 & 41.445 & 62.289 & 81.950 & 96.375 & 96.723 & 92.225 & 90.648 & 85.466 & 84.784 & 83.166 & 70.242 & 56.045 & 46.937 \\
    \textbf{-68.824} & & \textbf{378.295} & & & & & & & & & & & & & \\
    & 655.400 & & & & & & & & & \\
    & \textbf{50.094} & & & & & & & & & & & & & & \\
    & & 564.108 & 30.703 & 46.144 & 60.710 & 71.396 & 71.654 & 68.322 & 67.153 & 63.315 & 62.810 & 61.611 & 52.037 & 41.519 & 34.772 \\
    };
    \draw[->] (tree-6-1) — (tree-4-2) node [midway,above] {};
    \draw[->] (tree-6-1) — (tree-8-2) node [midway,above] {};
    \draw[->] (tree-4-2) — (tree-2-3) node [midway,below] {};
    \draw[->] (tree-4-2) — (tree-6-3) node [midway,above] {};
    \draw[->] (tree-8-2) — (tree-6-3) node [midway,below] {};
    \draw[->] (tree-8-2) — (tree-10-3) node [midway,below] {};
    \end{tikzpicture}
    \end{adjustbox}
    \caption{A}
    \label{A}
    \end{figure}
    `

    `
    \begin{figure}[htp]
    \tiny
    \centering
    \begin{adjustbox}{addcode={\begin{minipage}{\width}}{\end{minipage}},rotate=90,center}
    \begin{tikzpicture}[>=stealth,sloped]
    \matrix (tree) [%
    matrix of nodes,
    minimum size=0.3cm,
    column sep=0.3cm,
    row sep=0.1cm,
    ]
    {
    2014 & 2015 & 2016 & 2017 & 2018 & 2019 & 2020 & 2021 & 2022 & 2023 & 2024 & 2025 & 2026 & 2027 & 2028 & 2029 \\
    & & 1.027.872 & 55.945 & 84.081 & 110.621 & 130.092 & 130.563 & 124.491 & 122.361 & 115.367 & 114.447 & 112.262 & 94.817 & 75.653 & 63.359 \\
    & & \textbf{724.059} & & & & & & & & & & & & & \\
    & 884.697 & & & & & & & & & \\
    & \textbf{311.465} & & & & & & & & & & & & & & \\
    761.466 & & 761.466 & 41.445 & 62.289 & 81.950 & 96.375 & 96.723 & 92.225 & 90.648 & 85.466 & 84.784 & 83.166 & 70.242 & 56.045 & 46.937 \\
    \textbf{0} & & \textbf{378.295} & & & & & & & & & & & & & \\
    & 655.400 & & & & & & & & & \\
    & \textbf{50.094} & & & & & & & & & & & & & & \\
    & & 564.108 & 30.703 & 46.144 & 60.710 & 71.396 & 71.654 & 68.322 & 67.153 & 63.315 & 62.810 & 61.611 & 52.037 & 41.519 & 34.772 \\
    };
    \draw[->] (tree-6-1) — (tree-4-2) node [midway,above] {};
    \draw[->] (tree-6-1) — (tree-8-2) node [midway,above] {};
    \draw[->] (tree-4-2) — (tree-2-3) node [midway,below] {};
    \draw[->] (tree-4-2) — (tree-6-3) node [midway,above] {};
    \draw[->] (tree-8-2) — (tree-6-3) node [midway,below] {};
    \draw[->] (tree-8-2) — (tree-10-3) node [midway,below] {};
    \end{tikzpicture}
    %}
    \end{adjustbox}
    \caption{B}
    \label{B}
    \end{figure}
    `

    Ho tolto le colorazioni nelle caselle….in teoria ora dovresti riuscire a compilarli……

    in risposta a: Creazione di Alberi Binomiali con Latex #105225
    Up
    0
    Down
    ::


    No, grazie!!! 😉

    in risposta a: Numerazione Figure e Tabelle #57285
    Up
    0
    Down
    ::


    Grazie mille dell’aiuto!!!!

    Ora posso andare in copisteria!!!

    in risposta a: Numerazione Figure e Tabelle #57283
    Up
    0
    Down
    ::


    \begin{figure}[!bp]
    \centering
    \caption{..}
    \includegraphics{..}
    \includegraphics{..}
    \includegraphics{..}
    \label{fig:..}
    \end{figure}
    \begin{figure}[!tbp]\ContinuedFloat
    \centering
    \includegraphics{..}
    \includegraphics{..}
    \includegraphics{..}
    \includegraphics{..}
    \includegraphics{..}
    \end{figure}
    \begin{figure}[!tbp]\ContinuedFloat
    \centering
    \includegraphics{..}
    \includegraphics{..}
    \end{figure}
    \begin{figure}[!tbp]
    \centering
    \caption{**}
    \label{fig:**}
    \includegraphics{**}
    \end{figure}

    I primi tre \begin{figure} sono riferiti alla stessa Figura, mentre l’ultima è quella che mi compare con la numerazione errata.

    in risposta a: Numerazione Figure e Tabelle #57281
    Up
    0
    Down
    ::


    Ho trovato il problema! Non sono le sezioni che creano il problema, ma \ContinuedFloat…
    Come posso risolvere questo problema?

    Nel primo capitolo ad esempio ho inserito prima una figura a sé stante (Figura 1.1), poi diverse figure con \ContinuedFloat che hanno uina didascalia e un riferimento unico (Figura 1.2) e poi un’altra figura singola che però risulta Figura 1.1 di nuovo…

    in risposta a: Numerazione Figure e Tabelle #57279
    Up
    0
    Down
    ::


    l’errore potrebbe insorgere perchè uso \input?

    in risposta a: Numerazione Figure e Tabelle #57278
    Up
    0
    Down
    ::


    Purtroppo non è questo l’errore. Ho sempre inserito \label dopo \caption.

    in risposta a: Numerazione Figure e Tabelle #57276
    Up
    0
    Down
    ::


    Il preambolo è:

    \documentclass[a4paper,12pt, twoside]{book}
    \usepackage[italian]{babel}
    \usepackage[utf8]{inputenc}
    \usepackage{frontespizio}
    \usepackage[font=small,format=hang]{caption}
    \usepackage{amsmath}
    \usepackage{booktabs}
    \usepackage{dcolumn}
    \usepackage{subfig}
    \usepackage{longtable}
    \usepackage{marvosym}
    \usepackage{graphicx}
    \usepackage{indentfirst}
    \usepackage{fancyhdr}
    \pagestyle{fancy}\addtolength{\headwidth}{20pt}
    \renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection \ #1}{}}
    \cfoot{}
    \rhead[\fancyplain{}{\bfseries\leftmark}]{\fancyplain{}{\bfseries\thepage}}
    \lhead[\fancyplain{}{\bfseries\thepage}]{\fancyplain{}{\bfseries\rightmark}}

    in risposta a: Numerazione Figure e Tabelle #57274
    Up
    0
    Down
    ::


    Uso la classe book. Il mio problema è che se comincio il capitolo 1 e inserisco le figure 1.1, 1.2 e 1.3 poi se inizio il paragrafo 1.1 la prossima figura non la nomina 1.4, ma di nuovo 1.1!!

Stai visualizzando 11 risposte – dal 1 al 11 (di 11 totali)

Go to top