Marco87″ post=91809Ciao a tutti,
ho appena scoperto che questo codice non compila (come ci si aspetterebbe):
`\documentclass[a4paper,11pt]{memoir}\usepackage{etex}
\usepackage{etoolbox}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{microtype}\usepackage{tikz}
\usetikzlibrary{angles}
\usetikzlibrary{quotes}\begin{document}
\begin{tikzpicture}
\draw (2,0) coordinate (A) — (0,0) coordinate (B) — (1,1) coordinate (C) pic [“$\alpha$”, draw, angle eccentricity=1] {angle};
\end{tikzpicture}\end{document}`
Se invece si commenta la riga [tt]\usepackage[italian]{babel},[/tt] si cancellano i file ausiliari e poi si ricompila, la compilazione termina senza alcun errore. L’errore che viene fornito quando si chiama [tt]babel[/tt] è questo:! Undefined control sequence.
\italian@sh@”@ …it@next {”}\else \def \it@next
{\futurelet \it@temp \it@c…
l.18 …c [“$\alpha$”, draw, angle eccentricity=1]
{angle};
The control sequence at the end of the top line
of your error message was never \def’ed. If you have
misspelled it (e.g., `\hobx’), type `I’ and the correct
spelling (e.g., `I\hbox’). Otherwise just continue,
and I’ll forget about whatever was undefined.Qualcuno sa come si può risolvere?
Grazie e buona giornata,
Marco.
Aggiungi: `
\usetikzlibrary{babel}
`
Ciao
Claudio