Re: subfigure numerazione diversa dalla default

#62754
GKT
Partecipante
    Up
    0
    Down
    ::

    diedro” post=61734ciao a tutti,

    io una serie di subfigure:

    per esempio:

    `
    \begin{figure}[h]
    \centering
    \subfigure[]{\label{pipe09epa}\includegraphics[angle=-90,width=0.49\textwidth]{./figs/flow_rete_reale_epanet_originale.pdf}}
    \subfigure[]{\label{pipe09eps}\includegraphics[angle=-90,width=0.49\textwidth]{./figs/flow_rete_reale.pdf}}
    \caption{Mataba WDN simulation: Pipe P09 flow patterns and head patterns at tanks T02 and T03. (a) Flow pattern in pipe P09 simulated with EPANET; (b) Flow pattern in pipe P09 simulated with EPANET-EPS; (c) Head pattern at tank T02 simulated with EPANET; (d) Head pattern at tank T02 simulated with EPANET-EPS; (e) Head pattern at tank T03 simulated with EPANET; (f) Head pattern at tank T02 simulated with EPANET-EPS}
    \label{resultsRealCase}
    \end{figure}
    `

    ora quando le richiamo nel testo con

    `
    \ref{pipe09ep}
    `

    quello che ottengo è ad esempio un 10(a)

    come posso fare per ottenere 10.a?

    grazie

    Scrivi nel preambolo:
    `\renewcommand{\thesubfigure}{\thefigure.\alph{subfigure}}
    \captionsetup[subfigure]{labelformat=simple,labelsep=colon,
    listofformat=subsimple}
    \makeatletter
    \renewcommand{\p@subfigure}{}
    \makeatother`
    Lorenzo

    Go to top