- Questo topic ha 8 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 17 anni, 9 mesi fa da .
-
Topic
-
Sto tentando di usare lo stile ArsClassica, tuttavia ricevo errori con riferimento a comandi contentuti nel file di stile. Ho notato differenze tra il file stile che ho scaricato e il listato presente nel documento ArsClassica.pdf.
Ad esempio il file arsclassica.sty riporta:`
%************************************************************
% Chapter numbers
%************************************************************
\let\chapterNumber\undefined
\ifthenelse{\boolean{@eulerchapternumbers}}
{\newfont{\chapterNumber}{eurb10 scaled 5000}}%
{\newfont{\chapterNumber}{pplr9d scaled 5000}}%************************************************************
% Fancy stuff
%************************************************************
\ifthenelse{\boolean{@minionprospacing}}%
{%
\DeclareRobustCommand{\spacedallcaps}[1]{\sffamily%
\textssc{\MakeTextUppercase{#1}}}%
\DeclareRobustCommand{\spacedlowsmallcaps}[1]%
{\sffamily\textssc{\MakeTextLowercase{#1}}}%
}{%
\ifthenelse{\boolean{@pdfspacing}}%
{%
\microtypesetup{expansion=false}%
\DeclareRobustCommand{\spacedallcaps}[1]%
{\sffamily\textls[160]{\MakeTextUppercase{#1}}}%
\DeclareRobustCommand{\spacedlowsmallcaps}[1]%
{\sffamily\textls[80]{\scshape\MakeTextLowercase{#1}}}%
}{%
\RequirePackage{soul}
\sodef\allcapsspacing{\sffamily\upshape}%
{0.15em}{0.65em}{0.6em}%
\sodef\lowsmallcapsspacing{\sffamily\scshape}%
{0.075em}{0.5em}{0.6em}%
\DeclareRobustCommand{\spacedallcaps}[1]%
{\MakeTextUppercase{\allcapsspacing{#1}}}%
\DeclareRobustCommand{\spacedlowsmallcaps}[1]%
{\MakeTextLowercase{\textsc%
{\lowsmallcapsspacing{#1}}}}%
}%
}
%************************************************************
`mentre il listato riportato in ArsClassica.pdf riporta alle stesse righe:
`
%************************************************************
% Chapter numbers
%************************************************************
\let\chapterNumber\undefined
\ifthenelse{\boolean{eulerchapternumbers}}
{\newfont{\chapterNumber}{eurb10 scaled 5000}}%
{\newfont{\chapterNumber}{pplr9d scaled 5000}}%************************************************************
% Fancy stuff
%************************************************************
\ifthenelse{\boolean{minionprospacing}}%
{%
\DeclareRobustCommand{\spacedallcaps}[1]{\sffamily%
\textssc{\MakeTextUppercase{#1}}}%
\DeclareRobustCommand{\spacedlowsmallcaps}[1]%
{\sffamily\textssc{\MakeTextLowercase{#1}}}%
}{%
\ifthenelse{\boolean{pdfspacing}}%
{%
\microtypesetup{expansion=false}%
\DeclareRobustCommand{\spacedallcaps}[1]%
{\sffamily\textls[160]{\MakeTextUppercase{#1}}}%
\DeclareRobustCommand{\spacedlowsmallcaps}[1]%
{\sffamily\textls[80]{\scshape\MakeTextLowercase{#1}}}%
}{%
\RequirePackage{soul}
\sodef\allcapsspacing{\sffamily\upshape}%
{0.15em}{0.65em}{0.6em}%
\sodef\lowsmallcapsspacing{\sffamily\scshape}%
{0.075em}{0.5em}{0.6em}%
\DeclareRobustCommand{\spacedallcaps}[1]%
{\MakeTextUppercase{\allcapsspacing{#1}}}%
\DeclareRobustCommand{\spacedlowsmallcaps}[1]%
{\MakeTextLowercase{\textsc%
{\lowsmallcapsspacing{#1}}}}%
}%
}
%************************************************************
`i parametri \boolean{eulerchapternumbers} \boolean{minionprospacing} \boolean{pdfspacing} sono privi di @.
Dopo la compilazione ho ricevuto messaggi di errore che facevano proprio riferimento a tali parametri.Qualcuno ne sa qualcosa?
Grazie per la pazienza.
Elio
- Devi essere connesso per rispondere a questo topic.