Re: Problema con \part

#42394
Up
0
Down
::

Salve, sul manuale ho visto che dice che di default il comando \part non genera titolo. Per le mie esigenze ho usato un
\setuphead[part][placehead=yes]
e adesso il titolo viene generato. Solo che c’è un problema, nel “numero” è compresa la parola “Parte” ad es

\part{Meccanica statistica}

genera

Parte 1. Meccanica statistica.

Adesso il fatto è che io vorrei levare non tutto “Parte 1” ma la parola “Parte” avendo il numero a mia disposizione. Come posso fare. Saluti. M.P.

`
\mainlanguage[it]
\setuphead[part][placehead=yes]
\setuplabeltext[it][part=]
\starttext
\part{Meccanica statistica}
\chapter{Knuth}
\input knuth
\part{Meccanica quantitstica}
\chapter{Tufte}
\input tuft\mainlanguage[it]
\setuphead[part][placehead=yes]
\setuplabeltext[it][part=]
\starttext
\part{Meccanica statistica}
\chapter{Knuth}
\input knuth
\part{Meccanica quantitstica}
\chapter{Tufte}
\input tufte
\stoptext
`

PS
il numero di pagina è non credo ti vada bene…

Go to top