- Questo topic ha 28 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 14 anni, 4 mesi fa da
davidebond.
-
CreatoreTopic
-
20 Aprile 2012 alle 11:09 #72545::
Salve. Voi mi avevate risolto il problema di formattare le note in un topic dal titolo simile:http://www.guitex.org/home/en/forum/12-tipografia/70774-note-a-fondo-testo-risolto
Il mio editore mi ha rischiesto ancora aggiustamenti. I margini (destro e sinistro) erano settati con geometry a 1.8 cm. Le note formattate secondo il link sforano questa gabbia. Come posso fare in modo che non solo il margine destro delle note sia a 1.8 cm, ma anche i numeri delle note siano a 1.8 cm dal bordo?
Grazie.
Ciao,
davide
-
CreatoreTopic
-
AutoreRisposte
-
-
20 Aprile 2012 alle 18:46 #72546::
davidebond” post=71781Salve. Voi mi avevate risolto il problema di formattare le note in un topic dal titolo simile:
http://www.guitex.org/home/en/forum/12-tipografia/70774-note-a-fondo-testo-risolto
Il mio editore mi ha rischiesto ancora aggiustamenti. I margini (destro e sinistro) erano settati con geometry a 1.8 cm. Le note formattate secondo il link sforano questa gabbia. Come posso fare in modo che non solo il margine destro delle note sia a 1.8 cm, ma anche i numeri delle note siano a 1.8 cm dal bordo?
Grazie.
Ciao,
davide
`\documentclass{article}
\usepackage[hang]{footmisc}
\begin{document}
\footnote{Testo della nota, testo della nota testo della nota, testo della nota, testo della nota, testo della nota, testo della nota, testo della nota testo della nota, testo della nota, testo della nota,
testo della nota.}\end{document}`
Puoi modificare lo spazio tra numero e testo della nota con:
`\renewcommand*{\footnotemargin}{1em}%`
Al posto di 1 em metti quello che ti pare (o che pare all’editore)Ciao
Ivan
-
21 Aprile 2012 alle 7:56 #72547::
Grazie, ma a parte che non funziona. Io non voglio modificare lo spazio tra numero di nota e testo della nota, ma lo spazio tra il margine sinistro e il numero di nota. In altre parole, vorrei spostare tutto il blocco delle note create con \endnotes verso destra, mantenendo a destra lo spazio tra la fine del blocco e il margine destro, riducendo il blocco delle note in orizzontale.Ciao,
davide
-
26 Aprile 2012 alle 16:26 #72548::
davidebond” post=71822Grazie, ma a parte che non funziona.
Cos’è che non funziona?
I codici che ti ho dato sopra funzionano entrambi; ovvero fanno quello che devono fare.davidebond” post=71822
Io non voglio modificare lo spazio tra numero di nota e testo della nota, ma lo spazio tra il margine sinistro e il numero di nota. In altre parole, vorrei spostare tutto il blocco delle note create con \endnotes verso destra, mantenendo a destra lo spazio tra la fine del blocco e il margine destro, riducendo il blocco delle note in orizzontale.Mi dispiace ma a questo punto proprio non capisco. Spiegati meglio.
Questi sono gli esempi che hai dato nell’altro posto:davidebond” post=71822
Forse un esempio, risulterà più chiaro. Di seguito un file, in cui compare una finta nota 34. Nel secondo caso, il testo è formattato, ma il numero è centrato verticalmente. Nel primo caso il numero è al posto giusto, ma risulta un incubo formattarlo correttamente (infatti, ho lasciato perdere dopo due tentativi).%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\begin{document}
\noindent \textbf{34}. Testo della nota, testo della nota testo della nota, testo della nota, testo\\
\indent \hspace*{1pt} della nota, testo della nota, testo della nota, testo della nota testo della\\
\indent \hspace*{1pt} nota, testo della nota, testo della nota, testo della nota,\\
\indent \hspace*{1pt} testo della nota, testo della nota testo della nota, testo della nota, testo della nota, testo della nota, testo della nota, testo della nota testo della nota, testo della nota, testo della nota, testo della nota.
\vspace{36pt}\noindent \textbf{34}. \begin{minipage}{11cm}
Testo della nota, testo della nota testo della nota, testo della nota, testo della nota, testo della nota, testo della nota, testo della nota testo della nota, testo della nota, testo della nota, testo della nota, testo della nota, testo della nota testo della nota, testo della nota, testo della nota, testo della nota.
\end{minipage}\end{document}
Sono identici a quello che si ottiene con l codice che ti ho dato.
Ciao
Ivan
-
27 Aprile 2012 alle 7:51 #72549::
Mi dispiace. Purtroppo, quando dico che non il codice non ha funzionato intendevo dire che dopo il suo inserimento non è cambiato niente. Ho provato a mettere il codice tra \makeatletter e \makeatother per proteggerlo, ma non è cambiato nulla lo stesso.Provo a rispiegarmi. Il testo è largo 13 cm e i margini destro e sinistro sono identici. Il filetto è lungo esattamente come il corpo testo. Il mio problema era che i numeri di nota venivano scritti nel margine sinistro fuori dai 13 centimetri. Io volevo che i numeri venissero scritti nella parte del documento dedicata al testo, sottraendo a questo dello spazio. In altre parole, volevo che nel caso delle note a fondo testo, tutto (note e testo) venisse compreso nei 13 centimetri e che il filetto non si restringesse. Esattamente come succede in automatico con i numeri delle formule che vengono scritte nel body del testo e non nei margini.
Ciao,
davide
-
30 Aprile 2012 alle 11:41 #72550
-
30 Aprile 2012 alle 11:57 #72551::
davidebond” post=72144Provo a spiegarmi con un esempio: vedi allegato. Vorrei che la linea h3 rientrasse verso destra fino a coincidere con h1, mantenendo inalterata h2, con la testatina che include h3=h1 — h2. h2 non dovrebbe spostarsi. Ovviamente, la formattazione del testo andrebbe conservata.
Ti sei dimenticato di allegare.
`\geometry{width=13cm,hratio={1:1}}
\usepackage[marginal]{footmisc}
\setlength{\footnotemargin}{.5em}
\usepackage{kantlipsum}\makeatletter
\renewcommand{\footnoterule}{\kern-3\p@\hrule\kern 2.6\p@}
\makeatother\begin{document}
X\footnote{def} abc\footnote{\kant*[1]}\kant
\end{document}`
Ciao
Enrico
-
30 Aprile 2012 alle 11:59 #72552
-
30 Aprile 2012 alle 12:00 #72553
-
30 Aprile 2012 alle 12:35 #72554
-
30 Aprile 2012 alle 12:37 #72555
-
30 Aprile 2012 alle 13:00 #72556::
davidebond” post=72154Intendevo questo. Mantenendo la formattazione delle note.
`\usepackage[hang]{footmisc}
\setlength{\footnotemargin}{1.5em}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makefntext}{\@makefnmark}{\mod@makefnmark}{}{}
\patchcmd{\@makefntext}{\@makefnmark}{\mod@makefnmark}{}{}
\patchcmd{\@makefntext}{\@makefnmark}{\mod@makefnmark}{}{}
\patchcmd{\@makefntext}{\@makefnmark}{\mod@makefnmark}{}{}
\patchcmd{\@makefntext}{\@makefnmark}{\mod@makefnmark}{}{}
\def\mod@makefnmark{\hbox{\bfseries\@thefnmark.}}
% filetto lungo come la giustezza
\renewcommand{\footnoterule}{\kern-3\p@\hrule\kern 2.6\p@}
\makeatother`
Se hai una TeX Live aggiornata, puoi evitare la lunga serie di [tt]\patchcmd[/tt] con
`\usepackage{regexpatch}
\makeatletter
\xpatchcmd*{\@makefntext}{\@makefnmark}{\mod@makefnmark}{}{}
\def\mod@makefnmark{\hbox{\bfseries\@thefnmark.}}
% filetto lungo come la giustezza
\renewcommand{\footnoterule}{\kern-3\p@\hrule\kern 2.6\p@}
\makeatother`
L’interessante pacchetto regexpatch di un noto autore, è molto più potente anche di xpatch dello stesso noto autore. 🙂Ciao
Enrico
-
30 Aprile 2012 alle 13:15 #72557::
Ti ringrazio, ma non funziona. In questo modo, i numeri di nota rientrano, ma il testo delle note ha perso la sua formattazione. Io volevo i numeri come nell’allegato con il testo formattato in quel modo. Per questo, ho rimandato all’altro post. Perché lì mi avevano suggerito dei comandi per ottenere quel risultato. Cosa che in effetti, mi è riuscita. Io volevo solo spostare la linea dei numeri e del testo delle note verso destra. La linea h1 non va mai oltrepassata.Grazie,
davide
-
30 Aprile 2012 alle 13:22 #72558::
davidebond” post=72160Ti ringrazio, ma non funziona. In questo modo, i numeri di nota rientrano, ma il testo delle note ha perso la sua formattazione. Io volevo i numeri come nell’allegato con il testo formattato in quel modo. Per questo, ho rimandato all’altro post. Perché lì mi avevano suggerito dei comandi per ottenere quel risultato. Cosa che in effetti, mi è riuscita. Io volevo solo spostare la linea dei numeri e del testo delle note verso destra. La linea h1 non va mai oltrepassata.
Quale “formattazione” si perde? Io vedo testo normalissimo. Saresti così gentile da darci qualche vago indizio su come produci ora quel testo? Che fra l’altro non sono note al piede, mi pare.
“Vago indizio” è ovviamente un eufemismo.
Ciao
Enrico
-
30 Aprile 2012 alle 13:33 #72559::
Ho usato questo codice che ho incorporato di default nel pacchetto \endnotes:\makeatletter
\renewcommand\@makefntext{%
\hskip-2.9em\llap{\@thefnmark.}\hskip.5em}
\makeatotherPer essere più precisi:
\def\notesname{Notes}%
\def\enoteheading{\chapter*{\notesname
\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%
\mbox{}\par\vskip-\baselineskip}
\def\enoteformat{\hskip-2.9em\llap{\textbf{\@theenmark.}}\hskip.5em}
-
30 Aprile 2012 alle 13:52 #72560::
davidebond” post=72164Ho usato questo codice che ho incorporato di default nel pacchetto \endnotes:
\makeatletter
\renewcommand\@makefntext{%
\hskip-2.9em\llap{\@thefnmark.}\hskip.5em}
\makeatotherPer essere più precisi:
\def\notesname{Notes}%
\def\enoteheading{\chapter*{\notesname
\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%
\mbox{}\par\vskip-\baselineskip}
\def\enoteformat{\hskip-2.9em\llap{\textbf{\@theenmark.}}\hskip.5em}Fare un esempio completo è troppo difficile? Ovviamente sai che modificare [tt]\@makefntext[/tt] disabilita tutto ciò che fa footmisc.
Ciao
Enrico
-
30 Aprile 2012 alle 14:04 #72561::
`\usepackage{endnotes}
\let\footnote\endnote\makeatletter
\def\notesname{Notes}%
\def\enoteheading{\chapter*{\notesname
\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%
\mbox{}\par\vskip-\baselineskip}
\newlength\hone
\AtBeginDocument{\settowidth{\hone}{\bfseries99.}}
\renewcommand\enoteformat{%
\noindent\makebox[1.5em][l]{\makebox[\hone][r]{\bfseries\@theenmark.}}\hspace{.5em}%
\hangindent=2em\hangafter=\@ne\ignorespaces}
\makeatother`
Ma se continui a essere reticente ed evasivo, penso che eviterò di perdere tempo in futuro.Ciao
Enrico
-
30 Aprile 2012 alle 14:58 #72562
-
30 Aprile 2012 alle 15:00 #72563::
Questo è il codice del pacchetto completo:%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% ****************************************
% * ENDNOTES *
% ****************************************
%
% Date of this version: 15 January 2003.
%
%% Copyright 2002 John Lavagnino
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%
% Based on the FOOTNOTES section of
% LATEX.TEX (VERSION 2.09 – RELEASE OF 19 April 1986), with
% “footnote” changed to “endnote” and “fn” changed to “en” (where
% appropriate), with all the minipage stuff pulled out, and with
% some small changes for the different operation of endnotes.
% Subsequently updated to follow the code for
% LaTeX2e <2000/06/01>.
%
% Uses an extra external file, with .ent extension, to hold the
% text of the endnotes. This may be deleted after the run; a new
% version is generated each time–it doesn’t require information
% collected from the previous run.
%
% This code does not obey \nofiles. Perhaps it should.
%
% John Lavagnino (John.Lavagnino@kcl.ac.uk)
% Centre for Computing in the Humanities, King’s College London
%
% To turn all the footnotes in your documents into endnotes, say
%
% \let\footnote=\endnote
%
% in your preamble, and then add something like
%
% \newpage
% \begingroup
% \parindent 0pt
% \parskip 2ex
% \def\enotesize{\normalsize}
% \theendnotes
% \endgroup
%
% as the last thing in your document. (But \theendnotes all
% by itself will work.)
%
% ****************************************
% * CHANGE LOG *
% ****************************************
%
% JL Modified to include \addtoendnotes. JL, 10/22/89.
%
% JK Modification by J”org Knappen 25. 2. 1991:
% JK
% JK Introduced \notesname in the spirit of international \LaTeX.
% JK \notesname is set per default to be {Notes}, but can easily
% JK be redifined, e.g. for german language
% JK \renewcommand{\notesname}{Anmerkungen}
%
% DW Modification by Dominik Wujastyk, London, 19 September 1991:
% DW
% DW Moved the line
% DW \edef\@currentlabel{\csname p@endnote\endcsname\@theenmark}
% DW out of the definition of \@endnotetext and into the definition
% DW of \@doanenote so that \label and \ref commands work correctly in
% DW endnotes. Otherwise, the \label just pointed to the last section
% DW heading (or whatever) preceding the \theendnotes command.
%
% JL Revised documentation and macros. 24 Sept 1991.
%
% modified by –bg (B.Gaulle) 09/14/94 for:
% 1) replace » (why a 8bit char here?) by ^ as a default.
% 2) force \catcode of > to be 12 (implied by \@doanenote).
% by –bg again 03/22/95 for:
% 3) reseting appropriate catcode of > in case it were
% used as an active char before \@endanenote (was
% pointed by Ch. Pallier).
%
% John Lavagnino, 12 January 2003: a number of small updates:
%
% JL Incorporate change suggested by Frank Mittelbach to
% JL \enoteheading, so that first note has paragraph indentation.
% JL Frank’s note:
% the idea of this code is to fix the problem that without it
% the first endnote after the heading will not be indented thus looking
% somewhat strange. Problem however is that since there is no
% indentation \leavemode\par will make an absolutely empty pargraph so
% that no baseline calculation is done. therefore \vskip-\baselineskip
% will put the first endnote directly below the heading without the
% usual spaccing. using \mbox insead will cure this defect.
%
% JL Also incorporated Frank’s suggestion to define
% JL \makeenmark and \theenmark, so that users can change more of the
% JL layout without using \makeatletter. \makeenmark defaults to
% JL \@makeenmark, so old code is still supported; and \theenmark is
% JL just syntactic sugar for \@theenmark, which is still the real
% JL value (and shouldn’t be directly modified by user code).
%
% JL Definition of \ETC. also dropped: surely nobody is still
% JL using TeX 2.992. (If you are, you need to upgrade it or
% JL endnotes longer than 1000 characters will be truncated.)
%
% JL Update much of the code to track the current LaTeX2e code more
% JL closely. Clean up \theendnotes.
%
% John Lavagnino, 15 January 2003: fix my garbled version of
% Frank’s updates.
%
%
% ****************************************
% * ENDNOTE COMMANDS *
% ****************************************
%
%
% \endnote{NOTE} : User command to insert a endnote.
%
% \endnote[NUM]{NOTE} : User command to insert a endnote numbered
% NUM, where NUM is a number — 1, 2,
% etc. For example, if endnotes are numbered
% *, **, etc. within pages, then \endnote[2]{…}
% produces endnote ‘**’. This command does not
% step the endnote counter.
%
% \endnotemark[NUM] : Command to produce just the endnote mark in
% the text, but no endnote. With no argument,
% it steps the endnote counter before generating
% the mark.
%
% \endnotetext[NUM]{TEXT} : Command to produce the endnote but no
% mark. \endnote is equivalent to
% \endnotemark \endnotetext .
%
% \addtoendnotes{TEXT} : Command to add text or commands to current
% endnotes file: for inserting headings,
% pagebreaks, and the like into endnotes
% sections. TEXT a moving argument:
% \protect required for fragile commands.
%
% ****************************************
% * ENDNOTE USER COMMANDS *
% ****************************************
%
% Endnotes use the following parameters, similar to those relating
% to footnotes:
%
% \enotesize : Size-changing command for endnotes.
%
% \theendnote : In usual LaTeX style, produces the endnote number.
%
% \theenmark : Holds the current endnote’s mark–e.g., \dag or ‘1’ or ‘a’.
% (You don’t want to set this yourself, as it comes
% either from the autonumbering of notes or from
% the optional argument to \endnote. But you’ll need
% to use it if you define your own \makeenmark.)
%
% \makeenmark : A macro to generate the endnote marker from \theenmark
% The default definition is \hbox{$^\theenmark$}.
%
% \@makeentext{NOTE} :
% Must produce the actual endnote, using \theenmark as the mark
% of the endnote and NOTE as the text. It is called when effectively
% inside a \parbox, with \hsize = \columnwidth. For example, it might
% be as simple as
% $^{\theenmark}$ NOTE
%
%
% ****************************************
% * ENDNOTE PSEUDOCODE *
% ****************************************
%
% \endnote{NOTE} ==
% BEGIN
% \stepcounter{endnote}
% \@theenmark :=G eval (\theendnote)
% \@endnotemark
% \@endnotetext{NOTE}
% END
%
% \endnote[NUM]{NOTE} ==
% BEGIN
% begingroup
% counter endnote :=L NUM
% \@theenmark :=G eval (\theendnote)
% endgroup
% \@endnotemark
% \@endnotetext{NOTE}
% END
%
% \@endnotetext{NOTE} ==
% BEGIN
% write to \@enotes file: “\@doanenote{ENDNOTE MARK}”
% begingroup
% \next := NOTE
% set \newlinechar for \write to \space
% write to \@enotes file: \meaning\next
% (that is, “macro:->NOTE)
% endgroup
% END
%
% \addtoendnotes{TEXT} ==
% BEGIN
% open endnotes file if not already open
% begingroup
% let \protect to \string
% set \newlinechar for \write to \space
% write TEXT to \@enotes file
% endgroup
% END
%
% \endnotemark ==
% BEGIN \stepcounter{endnote}
% \@theenmark :=G eval(\theendnote)
% \@endnotemark
% END
%
% \endnotemark[NUM] ==
% BEGIN
% begingroup
% endnote counter :=L NUM
% \@theenmark :=G eval(\theendnote)
% endgroup
% \@endnotemark
% END
%
% \@endnotemark ==
% BEGIN
% \leavevmode
% IF hmode THEN \@x@sf := \the\spacefactor FI
% \makeenmark % put number in main text
% IF hmode THEN \spacefactor := \@x@sf FI
% END
%
% \endnotetext ==
% BEGIN \@theenmark :=G eval (\theendnote)
% \@endnotetext
% END
%
% \endnotetext[NUM] ==
% BEGIN begingroup counter endnote :=L NUM
% \@theenmark :=G eval (\theendnote)
% endgroup
% \@endnotetext
% END
%
% ****************************************
% * ENDNOTE MACROS *
% ****************************************
%\@definecounter{endnote}
\def\theendnote{\@arabic\c@endnote}\def\@makeenmark{\hbox{\@textsuperscript{\normalfont\@theenmark}}}
\def\makeenmark{\@makeenmark}\def\theenmark{\@theenmark}
\newdimen\endnotesep
\def\endnote{\@ifnextchar[\@xendnote{\stepcounter{endnote}%
\protected@xdef\@theenmark{\theendnote}%
\@endnotemark\@endnotetext}}\def\@xendnote[#1]{%
\begingroup
\c@endnote=#1\relax
\unrestored@protected@xdef\@theenmark{\theendnote}%
\endgroup
\@endnotemark\@endnotetext}% Here begins a section of endnote code that’s really different from
% the footnote code of LaTeX.\let\@doanenote=0
\let\@endanenote=0\newwrite\@enotes
\newif\if@enotesopen \global\@enotesopenfalse\def\@openenotes{\immediate\openout\@enotes=\jobname.ent\relax
\global\@enotesopentrue}% The stuff with \next and \meaning is a trick from the TeXbook, 382,
% there intended for setting verbatim text, but here used to avoid
% macro expansion when the footnote text is written. \next will have
% the entire text of the footnote as one long line, which might well
% overflow limits on output line length; the business with \newlinechar
% makes every space become a newline in the \@enotes file, so that all
% of the lines wind up being quite short.\long\def\@endnotetext#1{%
\if@enotesopen \else \@openenotes \fi
\immediate\write\@enotes{\@doanenote{\@theenmark}}%
\begingroup
\def\next{\;\;#1}%
\newlinechar=’40
\immediate\write\@enotes{\meaning\next}%
\endgroup
\immediate\write\@enotes{\@endanenote}}% \addtoendnotes works the way the other endnote macros probably should
% have, requiring the use of \protect for fragile commands.\long\def\addtoendnotes#1{%
\if@enotesopen \else \@openenotes \fi
\begingroup
\newlinechar=’40
\let\protect\string
\immediate\write\@enotes{#1}%
\endgroup}% End of unique endnote code
\def\endnotemark{%
\@ifnextchar[\@xendnotemark
{\stepcounter{endnote}%
\protected@xdef\@theenmark{\theendnote}%
\@endnotemark}}\def\@xendnotemark[#1]{%
\begingroup
\c@endnote #1\relax
\unrestored@protected@xdef\@theenmark{\theendnote}%
\endgroup
\@endnotemark}\def\@endnotemark{%
\leavevmode
\ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi
\makeenmark
\ifhmode\spacefactor\@x@sf\fi
\relax}\def\endnotetext{%
\@ifnextchar [\@xendnotenext
{\protected@xdef\@theenmark{\theendnote}%
\@endnotetext}}\def\@xendnotenext[#1]{\begingroup \c@endnote=#1\relax
\xdef\@theenmark{\theendnote}\endgroup \@endnotetext}\def\@xendnotenext[#1]{%
\begingroup
\c@endnote=#1\relax
\unrestored@protected@xdef\@theenmark{\theendnote}%
\endgroup
\@endnotetext}% \theendnotes actually prints out the endnotes.
% The user may want separate endnotes for each chapter, or a big
% block of them at the end of the whole document. As it stands,
% either will work; you just say \theendnotes wherever you want the
% endnotes so far to be inserted. However, you must add
% \setcounter{endnote}{0} after that if you want subsequent endnotes
% to start numbering at 1 again.% \enoteformat is provided so user can specify some special formatting
% for the endnotes. It needs to set up the paragraph parameters, start
% the paragraph, and print the label. The \mbox stuff in \enoteheading
% is to make and undo a dummy paragraph, to get around the games \section*
% plays with paragraph indenting and instead give us uniform
% indenting for all notes.\makeatletter
\def\notesname{Notes}%
\def\enoteheading{\chapter*{\notesname
\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%
\mbox{}\par\vskip-\baselineskip}
\def\enoteformat{\hskip-2.9em\llap{\textbf{\@theenmark.}}\hskip.5em}
\newlength\hone
\AtBeginDocument{\settowidth{\hone}{\bfseries99.}}
\renewcommand\enoteformat{%
\noindent\makebox[1.5em][l]{\makebox[\hone][r]{\bfseries\@theenmark.}}\hspace{.5em}%
\hangindent=2em\hangafter=\@ne\ignorespaces}
\makeatother%{\rightskip\z@ \leftskip\z@ \parindent=0.7cm
%\leavevmode\llap{\makeenmark}}\def\enotesize{\small}
\def\theendnotes{\immediate\closeout\@enotes \global\@enotesopenfalse
\begingroup
\makeatletter
%
% The machinery with \@ResetGT and > here ensures that
% \@doanenote works properly even if > is an active character
% at the point where \theendnotes is invoked. > needs to have
% catcode 12 when the arguments of \@doanenote are scanned, so
% that the > in the string “macro:->” is matched. The actual
% footnote text is not an argument to \@doanenote, but just
% follows it in the .ent file; so \@ResetGT can reset the
% category code for > that should be used when processing
% that text. That resetting takes place within a
% \begingroup-\endgroup block set up by \@doanenote and
% \@endanenote, so the catcode for > is back to 12 for the
% next note.
%
\edef\@tempa{`\string >}%
\ifnum\catcode\@tempa=12%
\let\@ResetGT\relax
\else
\edef\@ResetGT{\noexpand\catcode\@tempa=\the\catcode\@tempa}%
\@makeother\>%
\fi
\def\@doanenote##1##2>{\def\@theenmark{##1}\par\begingroup
\@ResetGT
\edef\@currentlabel{\csname p@endnote\endcsname\@theenmark}%
\enoteformat}
\def\@endanenote{\par\endgroup}%
\enoteheading
\enotesize
\input{\jobname.ent}%
\endgroup}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
30 Aprile 2012 alle 17:33 #72564
-
30 Aprile 2012 alle 17:56 #72565
-
30 Aprile 2012 alle 19:37 #72566::
davidebond” post=72177Caro Enrico, ho utilizzato il tuo codice e il normale pacchetto endnotes e funziona. Grazie. Mi dispiace di indispettirti sempre…
Hai otto messaggi nel filone; prova a controllare in quale hai scritto che usi (una versione modificata di) endnotes. No, non è il primo, e nemmeno il quinto, se non ho fatto male i conti. Solo con l’allegato grafico mi è venuto il sospetto che non fossero note al piede.
Per favore, se vuoi aiuto cerca di aiutare per primo. Un esempio minimo di codice compilabile, non si chiede mica tanto.
Ciao
Enrico
-
1 Maggio 2012 alle 8:05 #72567::
Caro Enrico,
onestamente, non tutto va per il meglio, perché non sempre le note sono formattate correttamente. Ti allego un esempio compilabile e il pdf:%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt,openany]{amsbook}
\usepackage{amssymb,latexsym}
\usepackage[T1]{fontenc}
\usepackage{endnotes}
\usepackage[german,english]{babel}
\usepackage{fancyhdr}
\usepackage{etoolbox}
\usepackage{geometry}\let\footnote\endnote
\makeatletter
\def\notesname{Notes}%
\def\enoteheading{\chapter*{\notesname
\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%
\mbox{}\par\vskip-\baselineskip}
\newlength\hone
\AtBeginDocument{\settowidth{\hone}{\bfseries99.}}
\renewcommand\enoteformat{%
\noindent\makebox[1.5em][l]{\makebox[\hone][r]{\bfseries\@theenmark.}}\hspace{.5em}%
\hangindent=2em\hangafter=\@ne\ignorespaces}
\makeatother\geometry{twoside,paperheight=22cm,paperwidth=15.5cm,textwidth=13cm,textheight=17cm,hmargin=1.8cm,bottom=2.3cm,top=2.2cm,headsep=0.6cm,footskip=1cm}
\newcommand{\vr}{\textquotedbl}
\newcommand{\bc}{\,\textbf{o}\,}\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot[CE,CO]{\normalsize{\thepage}}
\fancyhead[CE]{\footnotesize{\sc Titolo}}
\fancyhead[CO]{\footnotesize{\sc Autore}}
\renewcommand{\headrulewidth}{0.2pt} % and the line%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% font testo
\author{Autore}
\title{Titolo}\begin{document}
\maketitle\chapter*{Capitolo}
\section{Sezione}
\indent For the third type of interpretation of $O_1$ in $\mathbb{C}$ Schr\”oder refers to Hermann Hankel’s {\it Lectures on the Complex Numbers and its Functions}~\footnote{Schr\”oder does not give the exact coordinates. Most probably the reference is \cite[p.~67 and ff; p.~86 and ff]{hankel}.}:
\begin{quotation}
[…] let us assume, that the product of real numbers and imaginary units is associative and commutative~\footnote{As in the case of $O_1.$} and that the distributivity law is satisfied in the form $(a + b)i = ai + bi$, so that the name ‘product’ could right be ascribed to the connection $ai.$ We further assume that $a + bi = bi + a$ and we define the sum by it:
\begin{equation}\notag
(a + bi) + (c + di) = (a + c) + (b + d)i~.~\footnote{[…] nehmen wir an, dass das Produkt reeller Zahlen und imagin\”ar Einheiten associativ und commutativ sei und das distributive Princip in der Form $(A + B)i = Ai + Bi$ erf\”ullt werde, so dass der Verkn\”upfung $Ai$ mit Recht der Name ‘Product’ zugeschrieben werden kann. Wir nehmen weiter an, dass $A + Bi = Bi + A$ und definiren die Summe durch:
\begin{equation}\notag
(A + Bi) + (\Gamma + \Delta i) = (A + \Gamma) + (B + \Delta)i.
\end{equation}\noindent \cite[pp.~67–68]{hankel}.}
\end{equation}
\end{quotation}\noindent Equipped with such addition, $\mathbb{C} =
$~\footnote{$S$ is here a set of complex numbers.} is another possible semantics for $O_1$. For the case $4\alpha)$ we may quote again from Hankel’s volume:
\begin{quotation}
If one will carry over the concept of the usual numerical addition to the addition of points in space, then it is first necessary attaching a coefficient, a weight (so to say), to the points, in order to transform them in quantities, which are capable to be multiplied or divided by real numbers $\alpha$, and to distinguish a simple point $p$ from a point $\alpha p$, multiplied $\alpha$ times, taking into account that both $p$ and $\alpha p$ occupies the same place in space. This way it is possible expressing the sum $p +p$ of the same point $p$, taken two times, as $2p.$ […] To sum more points, one must performe this operation more times, in force of the following definition:
\begin{equation}\notag
\alpha p + \beta q = (\alpha + \beta)r~\footnote{Notice the formal similarity withe addition on $\mathbb{C}$ given above.},
\end{equation}\noindent where $r$ lays on the line $\overline{pq},$ such that the next ratio holds:
\begin{equation}\notag
\overline{pr}:\overline{rq} = \beta:\alpha~.~\footnote{Will man den Begriff der Addition auf Punkte im Raume \”ubertragen, so ist es zun\”achst nothwendig, den Punkten, um sie zu Gr\”ossen zu machen, welcher einer Vervielfachung und Theilung nach reellen Zahlen $\mathfrak{a}$ f\”ahig sind, einen Coefficienten, ein Gewicht beizulegen und den Punkt $A$ als einfachen von dem $\mathfrak{a}$ fachen Punkte $\mathfrak{a}A$ zu unterscheiden, wobei man sich beide an derselben Stelle im Raume zu denken hat. Dadurch ist es dann m\”oglich, die Summe $C + C$ durch denselben Puntk $C$, aber doppelt genommen, also $2C$ auszudr\”ucken. […] Um mehrfache Punkte zu addiren, wird man diese Operation mehrmals auszuf\”uhren haben und so zu der Definitionsgleichung:
\begin{equation}\notag
\mathfrak{a}A + \mathfrak{b}B = (\mathfrak{a} + \mathfrak{b})C
\end{equation}\noindent gelangen, wo $C$ auf der Geraden $AB$ so liegt, dass die Strecken
\begin{equation}\notag
AC:CB = \mathfrak{b}:\mathfrak{a}.
\end{equation}\noindent \cite[pp.~113–114]{hankel}.}
\end{equation}
\end{quotation}
\newpage\theendnotes
\newpage\begin{thebibliography}{99}
\bibitem[Han67]{hankel}
Hermann Hankel, \emph{{Vorlesungen \”uber die complexe Zahlen und ihre Functionen. I. Theil. Theorie der complexen Zahlensysteme}}, Leopold Voss, Leipzig, 1867, now in \textbf{BA}.\end{thebibliography}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Come vedi, sia la nota 3 che la 6 ad un certo punto sbordano.
Ciao e grazie,
davide
[attachment]l4ibro.pdf[/attachment]
-
1 Maggio 2012 alle 8:06 #72568
-
1 Maggio 2012 alle 8:07 #72569
-
1 Maggio 2012 alle 9:04 #72570::
Non lasciare righe vuote nelle note.Perché ogni volta [tt]\begin{equation}\notag[/tt] quando [tt]\begin{equation*}…\end{equation*}[/tt] è molto più comodo? Magari anche [tt]\[…\][/tt].
Vedo che usi sempre
`\end{equation}\noindent testo`
È sbagliato! Non lasciare quella riga vuota.Ciao
Enrico
-
1 Maggio 2012 alle 12:00 #72571::
Ho seguito il tuo consiglio ed è quasi andato tutto a posto. Ho aggiunto una nota, in cui parte sborda ancora.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[11pt,openany]{amsbook}
\usepackage{amssymb,latexsym}
\usepackage[T1]{fontenc}
\usepackage{endnotes}
\usepackage[german,english]{babel}
\usepackage{fancyhdr}
\usepackage{etoolbox}
\usepackage{geometry}\let\footnote\endnote
\makeatletter
\def\notesname{Notes}%
\def\enoteheading{\chapter*{\notesname
\@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}%
\mbox{}\par\vskip-\baselineskip}
\newlength\hone
\AtBeginDocument{\settowidth{\hone}{\bfseries99.}}
\renewcommand\enoteformat{%
\noindent\makebox[1.5em][l]{\makebox[\hone][r]{\bfseries\@theenmark.}}\hspace{.5em}%
\hangindent=2em\hangafter=\@ne\ignorespaces}
\makeatother\geometry{twoside,paperheight=22cm,paperwidth=15.5cm,textwidth=13cm,textheight=17cm,hmargin=1.8cm,bottom=2.3cm,top=2.2cm,headsep=0.6cm,footskip=1cm}
\newcommand{\vr}{\textquotedbl}
\newcommand{\bc}{\,\textbf{o}\,}\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot[CE,CO]{\normalsize{\thepage}}
\fancyhead[CE]{\footnotesize{\sc Titolo}}
\fancyhead[CO]{\footnotesize{\sc Autore}}
\renewcommand{\headrulewidth}{0.2pt} % and the line%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% font testo
\author{Autore}
\title{Titolo}\begin{document}
\maketitle\chapter*{Capitolo}
\section{Sezione}
\indent For the third type of interpretation of $O_1$ in $\mathbb{C}$ Schr\”oder refers to Hermann Hankel’s {\it Lectures on the Complex Numbers and its Functions}~\footnote{Schr\”oder does not give the exact coordinates. Most probably the reference is \cite[p.~67 and ff; p.~86 and ff]{hankel}.}:
\begin{quotation}
[…] let us assume, that the product of real numbers and imaginary units is associative and commutative~\footnote{As in the case of $O_1.$} and that the distributivity law is satisfied in the form $(a + b)i = ai + bi$, so that the name ‘product’ could right be ascribed to the connection $ai.$ We further assume that $a + bi = bi + a$ and we define the sum by it:
\begin{equation}\notag
(a + bi) + (c + di) = (a + c) + (b + d)i~.~\footnote{[…] nehmen wir an, dass das Produkt reeller Zahlen und imagin\”ar Einheiten associativ und commutativ sei und das distributive Princip in der Form $(A + B)i = Ai + Bi$ erf\”ullt werde, so dass der Verkn\”upfung $Ai$ mit Recht der Name ‘Product’ zugeschrieben werden kann. Wir nehmen weiter an, dass $A + Bi = Bi + A$ und definiren die Summe durch:
\begin{equation}\notag
(A + Bi) + (\Gamma + \Delta i) = (A + \Gamma) + (B + \Delta)i.
\end{equation}
\cite[pp.~67–68]{hankel}.}
\end{equation}
\end{quotation}
Equipped with such addition, $\mathbb{C} =$~\footnote{$S$ is here a set of complex numbers.} is another possible semantics for $O_1$. For the case $4\alpha)$ we may quote again from Hankel’s volume:
\begin{quotation}
If one will carry over the concept of the usual numerical addition to the addition of points in space, then it is first necessary attaching a coefficient, a weight (so to say), to the points, in order to transform them in quantities, which are capable to be multiplied or divided by real numbers $\alpha$, and to distinguish a simple point $p$ from a point $\alpha p$, multiplied $\alpha$ times, taking into account that both $p$ and $\alpha p$ occupies the same place in space. This way it is possible expressing the sum $p +p$ of the same point $p$, taken two times, as $2p.$ […] To sum more points, one must performe this operation more times, in force of the following definition:
\begin{equation}\notag
\alpha p + \beta q = (\alpha + \beta)r~\footnote{Notice the formal similarity withe addition on $\mathbb{C}$ given above.},
\end{equation}
where $r$ lays on the line $\overline{pq},$ such that the next ratio holds:
\begin{equation}\notag
\overline{pr}:\overline{rq} = \beta:\alpha~.~\footnote{Will man den Begriff der Addition auf Punkte im Raume \”ubertragen, so ist es zun\”achst nothwendig, den Punkten, um sie zu Gr\”ossen zu machen, welcher einer Vervielfachung und Theilung nach reellen Zahlen $\mathfrak{a}$ f\”ahig sind, einen Coefficienten, ein Gewicht beizulegen und den Punkt $A$ als einfachen von dem $\mathfrak{a}$ fachen Punkte $\mathfrak{a}A$ zu unterscheiden, wobei man sich beide an derselben Stelle im Raume zu denken hat. Dadurch ist es dann m\”oglich, die Summe $C + C$ durch denselben Puntk $C$, aber doppelt genommen, also $2C$ auszudr\”ucken. […] Um mehrfache Punkte zu addiren, wird man diese Operation mehrmals auszuf\”uhren haben und so zu der Definitionsgleichung:
\begin{equation}\notag
\mathfrak{a}A + \mathfrak{b}B = (\mathfrak{a} + \mathfrak{b})C
\end{equation}
gelangen, wo $C$ auf der Geraden $AB$ so liegt, dass die Strecken
\begin{equation}\notag
AC:CB = \mathfrak{b}:\mathfrak{a}.
\end{equation}
\cite[pp.~113–114]{hankel}.}
\end{equation}
\end{quotation}
\begin{center}
\begin{tabular}{l|l}
{\it a multiplicand is transposed as} & {\it a multiplier is transposed as}\\
{\it consequent}, & {\it denominator},\\
\end{tabular}
\end{center}
and viceversa.~\footnote{Bei der Bildung des Product $bc$ soll gesagt werden, dass $b$ mit $c$ {\it nach}- und $c$ mit $b$ {\it vor}-multiplicirt werde. Desgleichen hat man also — ohne das Commutationsgesetz — den ersten und den zweiten Factor (als Multiplicand und Multiplicator) stets sorgf\”altig zu unterscheiden. Endlich wird es zu dieser Operation nun zweierlei inverse Operationen geben, je nachdem der Multiplicand oder der Multiplicator als Unbekannte berechnet werden soll. Die eine dieser Umkehrungen nennen wir {\it Theilen}, ihr Ergebnis einen {\it Bruch} und bedienen uns f\”ur dieselbe des Bruchstriches. F\”ur die andre nehmen wir die Namen: {\it Messung}, {\it Verh\”altniss} und da {\it Doppelpunktzeichen} in Anspruch. […] Sind zun\”achst alle drei Rechnungsarten {\it eindeutig}, so finden sie demnach diese beiderlei inversen Operationen definirt durch die Festsetzung:
\begin{center}
\begin{tabular}{l|l}
Wenn & Wenn\\
\qquad$b.x = a$ &\qquad $x.c = a$\\
ist, so werde & ist, so werde\\
\qquad$x = a:b$ &\qquad $x = \frac{a}{c}$
\end{tabular}
\end{center}%%%%%%%%%%%%%%%%%%%%%%%
[…] Darnach wird also:
\begin{center}
\begin{tabular}{l|l}
{\it ein Multiplicand transponirt als} & {\it ein Multiplicator transponirt als}\\
{\it Consequent}, & {\it Nenner},
\end{tabular}
\end{center}
und umgekehrt \cite[p.~140]{schr73}.}\theendnotes
\newpage\begin{thebibliography}{99}
\bibitem[Han67]{hankel}
Hermann Hankel, \emph{{Vorlesungen \”uber die complexe Zahlen und ihre Functionen. I. Theil. Theorie der complexen Zahlensysteme}}, Leopold Voss, Leipzig, 1867, now in \textbf{BA}.\bibitem[Sch73]{schr73}
Ernst Schr\”oder, \emph{{Lehrbuch der Arithmetik und Algebra f\”ur Lehrer und Studirende. Erster Band. Die sieben algebraischen Operationen}}, Druck und Verlag von B.-G. Teubner, Leipzig, 1873, now in \textbf{BA}.\end{thebibliography}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{thebibliography}
\end{document}
-
1 Maggio 2012 alle 12:42 #72572::
Metti gli ambienti [tt]center[/tt] nelle note tra graffe:
`and viceversa.~\footnote{\selectlanguage{german}Bei der Bildung des Product $bc$ soll gesagt werden, dass $b$ mit $c$ {\it nach}- und $c$
mit $b$ {\it vor}-multiplicirt werde. Desgleichen hat man also — ohne das Commutationsgesetz — den ersten und den
zweiten Factor (als Multiplicand und Multiplicator) stets sorgf\”altig zu unterscheiden. Endlich wird es zu dieser
Operation nun zweierlei inverse Operationen geben, je nachdem der Multiplicand oder der Multiplicator als Unbekannte
berechnet werden soll. Die eine dieser Umkehrungen nennen wir {\it Theilen}, ihr Ergebnis einen {\it Bruch} und
bedienen uns f\”ur dieselbe des Bruchstriches. F\”ur die andre nehmen wir die Namen: {\it Messung}, {\it
Verh\”altniss} und da {\it Doppelpunktzeichen} in Anspruch. […] Sind zun\”achst alle drei Rechnungsarten {\it
eindeutig}, so finden sie demnach diese beiderlei inversen Operationen definirt durch die Festsetzung:
{\begin{center}
\begin{tabular}{l|l}
Wenn & Wenn\\
\qquad$b.x = a$ &\qquad $x.c = a$\\
ist, so werde & ist, so werde\\
\qquad$x = a:b$ &\qquad $x = \frac{a}{c}$
\end{tabular}
\end{center}}
[…] Darnach wird also:
{\begin{center}
\begin{tabular}{l|l}
{\it ein Multiplicand transponirt als} & {\it ein Multiplicator transponirt als}\\
{\it Consequent}, & {\it Nenner},
\end{tabular}
\end{center}}
und umgekehrt \cite[p.~140]{schr73}.}`Ovviamente devi aggiungere \selectlanguage{german} se vuoi che nelle note in tedesco venga usata la corretta sillabazione.
Ciao
Enrico
-
1 Maggio 2012 alle 14:42 #72573
-
-
AutoreRisposte
- Devi essere connesso per rispondere a questo topic.