Re: Sforature di pagina con \texttt

#38488
Up
0
Down
::


Ok, ho trovato nel mio filesystem path.sty, sotto /usr/share/texmf-dist/tex/latex/ltxmisc…dice:`This file defines a macro, \path|…|,
similar to LaTeX's \verb|…| macro, that
sets the text in the typewriter font,
allowing hyphen-less line breaks at
punctuation characters.

The default set of punctuation characters is
defined as

\discretionaries |~!@$%^&*()_+`-=#{“}[]:;'<>,.?\/|

However, you can change it as needed, for
example

\discretionaries +@%!.+

would assign to it the set @ % ! . which
commonly occur in electronic mail addresses.`
Il fatto è che io non ho caratteri speciali con i quali attuare la sillabazione.
Ripeto, gli “_” intercalati nei nomi di funzione riporti sopra, sono un caso…
Se anche uso \discretionaries per dividermi le parole dove ci sono gli “_”, un nome di funzione in \texttt tipo ilMioNomeDiFunzioneLunghissimo(), non viene spezzettato…
E’ così, o ho capito male?

Go to top