fancyhdr e numeri di pagina [risolto]

  • Creatore
    Topic
  • #71232
    davidebond
    Partecipante
      Up
      0
      Down
      ::


      Salve. Io sto usando il pacchetto fancyhdr e ho definito \fancyfoot[CE,CO]{\normalsize{\thepage}}. All’inizio di nuovi capitoli, biliografie, indici, note, ecc. il numero di pagina appare più piccolo. A me sta più che bene. Al mio editore, no. Come posso costringere fancyhdr a scrivere sempre i numeri allo stesso modo? Ovvero, come posso dire a fancyhdr in quelle pagine di usare il solito formato?

      Grazie,

      davide

    Visualizzazione 12 filoni di risposte
    • Autore
      Risposte
      • #71233
        OldClaudio
        Partecipante
          Up
          0
          Down
          ::


          Modifica lo stile plain con fancyplain

        • #71234
          davidebond
          Partecipante
            Up
            0
            Down
            ::


            Io avevo usato un altro trucchetto. In ogni caso, il filetto e la testata compaino, benché io metta a zero lo spessore del filetto e indichi come vuota la testata.

          • #71235
            Up
            0
            Down
            ::

            davidebond” post=70475Io avevo usato un altro trucchetto. In ogni caso, il filetto e la testata compaino, benché io metta a zero lo spessore del filetto e indichi come vuota la testata.

            Potresti farci dare un’occhiata al codice? Da sé fancyhdr non modifica il corpo.

            Ciao
            Enrico

          • #71236
            davidebond
            Partecipante
              Up
              0
              Down
              ::


              In combinazione con fancyhdr uso geometry in un amsbook. Come posso inviare un testo compilabile senza il reale contenuto del mio libro? Ho visto che cercando su google, altrimenti si vede in chiaro cosa ho scritto. E’ giusto che tutti gli utenti sappiano come risolvere il problema imparando anche da me. Ma inizio ad essere un po’ geloso dei miei pensieri sulla rete.

              Grazie,

              davide

            • #71237
              Up
              0
              Down
              ::

              davidebond” post=70519In combinazione con fancyhdr uso geometry in un amsbook. Come posso inviare un testo compilabile senza il reale contenuto del mio libro? Ho visto che cercando su google, altrimenti si vede in chiaro cosa ho scritto. E’ giusto che tutti gli utenti sappiano come risolvere il problema imparando anche da me. Ma inizio ad essere un po’ geloso dei miei pensieri sulla rete.

              Grazie,

              davide

              Ho letto tutto il topic e mi sembra che si parli in codice 🙄

              Non serve che invii tutto il documento, ma semplicemente la minima parte necessaria per capire dov’è il problema.
              Non mi è per nulla chiaro. Parli di filetti delle testatine, ma nel primo messaggio non ne accenni.

              Ciao
              Ivan

            • #71238
              davidebond
              Partecipante
                Up
                0
                Down
                ::


                Ecco un estratto:

                [code]
                \documentclass[11pt,openany]{amsbook}
                \usepackage{amssymb,latexsym}
                \usepackage[T1]{fontenc}
                \usepackage{tikz}
                \usepackage{schlussnotes}
                \usepackage[german,english]{babel}
                \usepackage{fancyhdr}
                \usepackage{simoncini}
                \usepackage{etoolbox}
                \usepackage{geometry}
                \usepackage{graphicx}
                \usepackage{amsmidx}

                \makeindex{concepts}
                \makeindex{pictures}

                \csdef{1}{\textnormal{1}}
                \csdef{2}{\textnormal{2}}
                \csdef{3}{\textnormal{3}}
                \csdef{4}{\textnormal{4}}
                \csdef{5}{\textnormal{5}}
                \csdef{6}{{\textnormal{6}}}
                \csdef{7}{{\textnormal{7}}}
                \csdef{8}{{\textnormal{8}}}
                \csdef{9}{{\textnormal{9}}}
                \csdef{0}{{\textnormal{0}}}

                \csdef{xa}{\textnormal{\it a}}
                \csdef{xb}{\textnormal{\it b}}
                \csdef{xc}{\textnormal{\it c}}
                \csdef{xf}{\textnormal{\it f}}
                \csdef{xE}{\textnormal{\it E}}
                \csdef{xA}{\textnormal{\it A}}
                \csdef{xM}{\textnormal{\it M}}
                \csdef{xe}{\textnormal{\it e}}
                \csdef{xC}{\textnormal{\it C}}
                \csdef{xi}{\textnormal{\it i}}
                \csdef{xd}{\textnormal{\it d}}
                \csdef{xm}{\textnormal{\it m}}
                \csdef{xt}{\textnormal{\it t}}
                \csdef{xs}{\textnormal{\it s}}
                \csdef{xB}{\textnormal{\it B}}
                \csdef{xO}{\textnormal{\it O}}
                \csdef{xp}{\textnormal{\it p}}
                \csdef{xq}{\textnormal{\it q}}
                \csdef{xr}{\textnormal{\it r}}
                \csdef{xn}{\textnormal{\it n}}
                \csdef{xL}{\textnormal{\it L}}
                \csdef{xj}{\textnormal{\it j}}
                \csdef{xT}{\textnormal{\it T}}
                \csdef{xl}{\textnormal{\it l}}
                \csdef{xx}{\textnormal{\it x}}
                \csdef{xy}{\textnormal{\it y}}
                \csdef{xX}{\textnormal{\it X}}
                \csdef{xY}{\textnormal{\it Y}}
                \csdef{xS}{\textnormal{\it S}}
                \csdef{xg}{\textnormal{\it g}}
                \csdef{xh}{\textnormal{\it h}}
                \csdef{xD}{\textnormal{\it D}}
                \csdef{xU}{\textnormal{\it U}}
                \csdef{xu}{\textnormal{\it u}}
                \csdef{xw}{\textnormal{\it w}}
                \csdef{xz}{\textnormal{\it z}}
                \csdef{xv}{\textnormal{\it v}}

                %%%%%%%%%%%%%%%%%%%%%%%%%%% virgolette tedesche
                \newcommand{\vs}{\guillemotright}
                \newcommand{\vd}{\guillemotleft}

                \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 On the Formal Elements}}
                \fancyhead[CO]{\footnotesize{\sc Ernst Schr\”oder}}
                \renewcommand{\headrulewidth}{0.2pt} % and the line

                \renewcommand{\footnote}{\endnote}

                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% font testo

                \author{Ernst Schr\”oder}
                \title{\sc On the Formal Elements of the Absolute Algebra}

                \renewcommand{\quotedblbase}{\gs}
                \renewcommand{\textquotedbl}{\gd}

                \begin{document}

                \thispagestyle{empty}
                \begin{titlepage}
                \begin{center}
                {\sc Ernst Schr\”oder}\\
                {\sc On the Formal Elements of the Absolute Algebra}\\
                \vspace{36pt}

                {\sc davide bondoni\\
                (Editor)}

                \newpage
                \thispagestyle{empty}
                {\small %
                \begin{flushleft}
                Author:\\
                \mbox{}\\
                Ernst Schr\”oder\\
                (1842–1901)\\
                \mbox{}\\
                \mbox{}\\
                Editor:\\
                \mbox{}\\
                davide bondoni\\
                independent scholar\\
                via Bersaglio, 2\\
                I-25070 — Anfo (BS)\\
                \mbox{}\\
                E-mail:davidebond[at]yahoo[dot]it\\
                Homepage:www.davidebondoni.eu
                \end{flushleft}
                }
                \mbox{}\\
                \mbox{}\\
                \mbox{}\\
                \noindent {\small 2010 Mathematical Subject Classification (primary; secondary): 01A55; 03-00,03G10, 06-00}\\

                \noindent Key words: universal algebra, commutativity, connections, group of permutations, loop, groupoid, left/right-division, Galois, Cayley, Grassmann\\

                \mbox{}\\
                \vspace{60pt}
                {\small %
                \begin{flushright}
                Front cover by\\
                Lois Rottonara\\
                via Planmurin, 10\\
                I-39030 — La Villa (BZ)
                \end{flushright}
                }

                \newpage

                \renewcommand{\thepage}{\roman{page}}

                \thispagestyle{empty}
                \mbox{}\\
                \vspace{70pt}
                \begin{flushright}
                To my dear mom,\\
                and to Francesca
                \end{flushright}
                \newpage
                \thispagestyle{empty}
                \mbox{}
                \newpage

                \makeatletter
                \newcommand{\tabularsize}{\fontsize{10}{13}\selectfont}
                \makeatother

                \chapter*{\sc Algebra, What Else?}
                \selectlanguage{english}

                \section{The Birth of a Masterwork}
                \begin{flushright}
                \footnotesize{The purely formal sciences,}\\
                \footnotesize{logic and mathematics,}\\
                \footnotesize{have to handle such relations,}\\
                \footnotesize{which are or at least can be}\\
                \footnotesize{independent from the determinate contents}\\
                \footnotesize{and from the substance of the objects in issue}\footnote{Die rein formalen Wissenschaften, Logik und Mathematik, haben solche Relationen zu behandeln, welche unabh\”angig von dem bestimmten Inhalte, der Substanz der Objecte sind oder es wenigstens sein k\”onnen \cite[p.~1]{hankel}.}.
                \end{flushright}

                \mbox{}\\

                \normalsize{In} the period between 1870 and 1874, Schr\”oder is teaching at the {\it Pro-} and {\it Real-} Gymnasium\footnote{In\label{ginnasio} order to explain to a non German reader what type of school the Gymnasium is, I quote from \cite[p.~333]{oxford2}: {\it The secondary school which prepares pupils for the} Abitur [the final exam at the Gymnasium]. {\it The Gymnasium is attended after the} Grundschule [primary school] {\it by the most accademically-inclined pupils. They spend nine years at this school, and during the last three years they have some choice as to which subjects they study}. In other words, the Gymnasium is attended by whose student willing to go at University.} in Baden-Baden, after having fought in the {\it French–Prussian War}. It is a lapse of time which Schr\”oder devotes to his favourite discipline, the {\it Algebra}. In 1873 he published the first volume of the {\it Handbook on Algebra}\footnote{\cite{schr73}.}, which remained unfinished, in 1874 a compendium of it\footnote{\cite{schr74}. Note that this differs from the preeceding, being adressed no more to {\it Teachers and Students}, but to students alone.} and the same year {\it On the Formal Elements of an Absolute Algebra}\footnote{\cite{schr74b}.}, which we translated here for the first time.\\
                \indent The latter marks the closure of a phase focused on algebra and paths the way to the first logical investigations:
                \begin{quotation}
                It seems not impossible to bring to a completion the methods of logic in order that for any collection of premises we can derive its consequences with full completeness (\ldots)\footnote{See below, p.~\pageref{quoto1}.}.
                \end{quotation}

                \noindent Logic is seen as a consequence of the work in Algebra, as a tool to achieve what it seems impossible in the absolute algebra. For example, the question Schr\”oder puts forth near the end of this booklet is a sort of naive {\it decision problem}:\index{concepts}{Decision problem} given an algorithm $\xO_\xj$ and an equation $\alpha$ belonging to the set of those equations which were derived from $\xO_\xj$, is $\alpha$ a {\it consequence} of $\xO_\xj$ or does not? The problem Schr\”oder faces is such that in absolute algebra has not an answer; i.e. two arbitrary algebraic equations are {\it not} always confrontable, i.e. we are not able to say if the first implies the second or vice-versa:
                \begin{quotation}
                Until now we own no {\it directe} tool to determine with certainty if, given two arbitrary formulas (or set of formulas) belonging to absolute algebra, one implies the other, they are equivalent or they are mutually independent\footnote{See below, p.~\pageref{quoto2}. The italic is mine.}.
                \end{quotation}

                \end{document}
                [\code]

              • #71239
                Up
                0
                Down
                ::


                1) Il codice che hai postato non si compila
                2) Quali sono i problemi che devi risolvere?

                Ciao
                Ivan

              • #71240
                OldClaudio
                Partecipante
                  Up
                  0
                  Down
                  ::


                  Secondo me l’unica cosa che ti può permettere di scrivere i numeri di paigna nello stesso copro e quello di modificare la riga:
                  `
                  \fancyfoot[CE,CO]{\footnotesize{\thepage}}
                  `
                  \cambiando cioè \normalsissze in footnotesize.

                  Ma se la tua casa editrici vuoe i numeri in normal size allora defi fare quello che ti ho detto parecchi messaggi fa, cioè devi usare i comandi del pacchetto fancyhdr per definire lo stile fancyplain che va a sostituire lo stile plani senza fare altre acrobazie.

                  Leggine le istruzioni che trovi nella pagina 7, §7, nel file fancyhdr.pdf che hai già nel tuo disco; se hai texlive lo apri di sicuro eseguendo il comando texdoc fancihdr da terminale.

                • #71241
                  davidebond
                  Partecipante
                    Up
                    0
                    Down
                    ::


                    Avete ragione. Per rendere compilabile il codice è sufficiente eliminare il font Simoncini, cancellando la riga \usepackage{simoncinigaramond} e sostituire la riga \usepackage{schlussnotes} con \usepackage{endnotes}.

                    Riguardo all’idea di mettere “plain” non funziona. Mi compare la testata.

                    Ho provato con:

                    \thispagestyle{fancy}
                    \fancyhead{}
                    \fancyfoot[CE,CO}{\normalsize{\thepage}}
                    \renewcommand{\headrulewidth}{0pt}

                    ma senza successo.

                    Un’alternativa (secondo me) potrebbe essere quella di eliminare il numero di pagina dalle pagine che iniziano un capitolo, un indice, la bibliografia, ecc. Sono riuscito ad elminarlo solo dalla prima pagina dei capitoli.

                    Grazie,

                    davide

                  • #71242
                    Up
                    0
                    Down
                    ::

                    davidebond” post=70537Avete ragione. Per rendere compilabile il codice è sufficiente eliminare il font Simoncini, cancellando la riga \usepackage{simoncinigaramond} e sostituire la riga \usepackage{schlussnotes} con \usepackage{endnotes}.

                    Non è vero, ma è ininfluente. Non ho ancora capito cosa vuoi fare.
                    1) Vuoi eliminare le testatine? Il codice che hai fornito funziona (anche se c’è una parentesi graffa al posto di una quadra)

                    2) Vuoi eliminare il numero di pagina ad inizio capitolo?. Si ridefinisce lo stile plain:
                    `\fancypagestyle{plain}{%
                    \fancyhf{}
                    \fancyfoot[C]{}
                    \renewcommand{\headrulewidth}{0pt}
                    \renewcommand{\footrulewidth}{0pt}}`

                    Ciao
                    Ivan

                  • #71243
                    davidebond
                    Partecipante
                      Up
                      0
                      Down
                      ::


                      Grazie. Funziona. Quello che non capisco è come mai non si compili il pezzo di file che ti ho inviato. Ho provato a compilarlo io e funziona.

                      Ciao,

                      davide

                    • #71244
                      Up
                      0
                      Down
                      ::

                      davidebond” post=70546Grazie. Funziona. Quello che non capisco è come mai non si compili il pezzo di file che ti ho inviato. Ho provato a compilarlo io e funziona.

                      Ciao,

                      davide

                      Non può compilare perché \begin{titlepage} e \begin{center} non vengono chiusi

                      Ciao
                      Ivan

                    • #71245
                      davidebond
                      Partecipante
                        Up
                        0
                        Down
                        ::


                        Pensavo di aver risolto e invece, no. La mia casa editrice vuole i numeri della stessa grandezza anche agli inizi di capitoli, ecc. Per quanto riguarda i capitoli e la bibliografia ho risolto il problema, ma non con le note e gli indici. Quello che ho capito è che il problema è nella classe di documento amsbook. Ho provato a cambiare con book, e la cosa si risolve. Disgraziatamente, non posso passare a book per vari motivi, a meno di non far sì che book si comporti esattament come amsbook (con le stesse opzioni) in tutto e per tutto, a parte i numeri di pagina di inizio di certe sezioni.

                        Grazie e ciao,

                        davide

                    Visualizzazione 12 filoni di risposte
                    • Devi essere connesso per rispondere a questo topic.

                    Go to top