mauteri

Risposte nei forum create

Stai visualizzando 15 risposte – dal 1 al 15 (di 17 totali)
  • Autore
    Risposte
  • in risposta a: ogni file con numerazione indipendente #34211
    Up
    0
    Down
    ::


    GRAZIEEEEE!

    in risposta a: ogni file con numerazione indipendente #34209
    Up
    0
    Down
    ::


    ops! prima ti ho mandato il codice del main file

    ogni file che contiene un saggio inzia cosi
    `
    \title{
    \scshape Ecco il titolo }
    \author{\bfseries\itshape Nome autore o
    \\
    \textsuperscript{a}Università ….}

    \date{BOZZA DI STAMPA DEL \today}
    \maketitle
    \thispagestyle{empty}
    \setcounter{page}{1}

    % ———— [Running Heads – for odd and even pages] – please insert it only on page 2!
    \pagestyle{fancy}
    \fancyhead{}
    \fancyhead[EC]{Nome autore}
    \fancyhead[EL,OR]{\thepage}
    \fancyhead[OC]{Titolo del saggio}
    \fancyfoot{}
    \renewcommand\headrulewidth{0.5pt}
    %——————————————————————————

    %++—————————————————————————–

    \section{Introduzione}

    `
    ancora grazie

    in risposta a: ogni file con numerazione indipendente #34207
    Up
    0
    Down
    ::


    perfetto funziona…..geniale!!!

    Mi potreste aiutare a risolvere anche un altro problema di stile?

    il primo saggio che include ha, per ciò che concerne la prima pagine lo stile desiderato, ma le prime pagine delgi altri saggi perdono la formattazione per cio che concerne titolo e autori etc? come mai?
    ecco il mio codice
    `
    \documentclass[11 pt,twoside,letterpaper]{article}%% The same for {book}
    \usepackage{mathptmx,fancyhdr}
    \usepackage[round]{natbib}

    \usepackage[italian]{babel}
    \usepackage[latin1]{inputenc}
    \usepackage{rotating}
    \usepackage{layout}
    \usepackage{url}
    \usepackage{longtable}
    \usepackage{hyperref}
    \usepackage{booktabs}
    \usepackage{chngcntr}

    \usepackage{float}
    \floatstyle{ruled}
    \restylefloat{figure}
    %———– [per didascalia tabelle inserisco \usepackage{booktabs} e quanto segue]———

    %———–%———–%———–%———–%———–%———–%———–
    %———– 7×10 Regular, 8.5 x 5.5] ———————
    \setlength{\topmargin}{-0.35in}
    \setlength{\textheight}{7 in} % 11.0 – 1.125 – 0.875
    \setlength{\textwidth}{4.8 in} % 8.5 – 1.375 – 1.125
    \setlength{\oddsidemargin}{0.5in}
    \setlength{\evensidemargin}{0.5in}
    \setlength{\headheight}{26pt}
    \setlength{\headsep}{8pt} %—————————————————————————–

    %[Float at the top formula]
    \makeatletter
    \setlength\@fptop{0\p@}
    \makeatother

    % [Clears Header Style on the Last Empty Odd pages]
    \makeatletter
    \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
    \hbox{}%
    \thispagestyle{empty}%
    \newpage%
    \if@twocolumn\hbox{}\newpage\fi\fi\fi}

    \makeatother
    %___________________________
    \newcounter{saggio}
    \counterwithin*{section}{saggio}
    \newcommand{\myinclude}[1]{%
    \stepcounter{saggio}\include{#1}}

    \renewcommand{\thesection}{\arabic{section}.}
    \renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
    \renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}

    \def\figurename{Figure}
    \makeatletter
    \renewcommand{\fnum@figure}{\figurename\nobreakspace\thefigure.}
    %\renewcommand{\fnum@figure}[1]{\figurename~\thefigure.}
    \makeatother

    \def\tablename{Table}
    \makeatletter
    \renewcommand{\fnum@table}{\tablename\nobreakspace\thetable.}
    %\renewcommand{\fnum@table}[1]{\tablename~\thetable.}
    \makeatother

    %_____________________________

    \makeatletter
    \newsavebox{\@tabparbox}
    \newenvironment{tabpar}[3][t]
    {\long\def\@tabparagraph{#3}\def\@tabparopt{#1}%
    \begin{lrbox}{\@tabparbox}
    \begin{tabular}{#2}}
    {\end{tabular}\end{lrbox}%
    \parbox{\wd\@tabparbox}{
    \if t\@tabparopt
    \@tabparagraph\par\smallskip
    \fi
    \usebox{\@tabparbox}\par
    \if b\@tabparopt
    \smallskip\@tabparagraph
    \fi}}
    \makeatother
    %___________________________

    \begin{document}

    %——————————————————————————

    % ———— [Running Heads – for odd and even pages] – please insert it only on page 2!
    \pagestyle{fancy}
    \fancyhead{}
    \fancyhead[EC]{MA }
    \fancyhead[EL,OR]{\thepage}
    \fancyhead[OC]{Il controllo della spesa sanitaria }
    \fancyfoot{}
    \renewcommand\headrulewidth{0.5pt}
    %——————————————————————————
    \begin{document}

    \tableofcontents

    \myinclude{filename1}

    % ———— [Running Heads – for odd and even pages] – please insert it only on page 2!

    \myinclude{filename2}
    \end{document}
    `

    garzie in anticipo
    M.

    in risposta a: grafico e linee #33770
    Up
    0
    Down
    ::


    scusa ho commesso un errore…nel mio messaggio precedente.
    `
    \documentclass[11 pt,twoside,letter]{article}%% The same for {book}
    \usepackage{mathptmx,fancyhdr}
    \usepackage[round]{natbib} % occorre inserire anche il file di stile della bibliog in italiano da me modificato, nella stessa cartella

    \usepackage[italian]{babel}
    \usepackage[latin1]{inputenc}
    \usepackage{rotating}
    \usepackage{layout}
    \usepackage{url}
    \usepackage{longtable}
    \usepackage{hyperref}
    \usepackage{booktabs}

    \usepackage{float}
    \floatstyle{ruled}
    \restylefloat{figure}
    %———– [per didascalia tabelle inserisco \usepackage{booktabs} e quanto segue]———

    %———–%———–%———–%———–%———–%———–%———–
    %———– 7×10 Regular, 8.5 x 5.5] ———————
    \setlength{\topmargin}{-0.35in}
    \setlength{\textheight}{7 in} % 11.0 – 1.125 – 0.875
    \setlength{\textwidth}{4.8 in} % 8.5 – 1.375 – 1.125
    \setlength{\oddsidemargin}{0.5in}
    \setlength{\evensidemargin}{0.5in}
    \setlength{\headheight}{26pt}
    \setlength{\headsep}{8pt} %—————————————————————————–

    %[Float at the top formula]
    \makeatletter
    \setlength\@fptop{0\p@}
    \makeatother

    % [Clears Header Style on the Last Empty Odd pages]
    \makeatletter
    \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
    \hbox{}%
    \thispagestyle{empty}%
    \newpage%
    \if@twocolumn\hbox{}\newpage\fi\fi\fi}
    \makeatother

    \renewcommand{\thesection}{\arabic{section}.}
    \renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
    \renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}

    \def\figurename{Figure}
    \makeatletter
    \renewcommand{\fnum@figure}{\figurename\nobreakspace\thefigure.}
    %\renewcommand{\fnum@figure}[1]{\figurename~\thefigure.}
    \makeatother

    \def\tablename{Table}
    \makeatletter
    \renewcommand{\fnum@table}{\tablename\nobreakspace\thetable.}
    %\renewcommand{\fnum@table}[1]{\tablename~\thetable.}
    \makeatother

    %_____________________________

    \makeatletter
    \newsavebox{\@tabparbox}
    \newenvironment{tabpar}[3][t]
    {\long\def\@tabparagraph{#3}\def\@tabparopt{#1}%
    \begin{lrbox}{\@tabparbox}
    \begin{tabular}{#2}}
    {\end{tabular}\end{lrbox}%
    \parbox{\wd\@tabparbox}{
    \if t\@tabparopt
    \@tabparagraph\par\smallskip
    \fi
    \usebox{\@tabparbox}\par
    \if b\@tabparopt
    \smallskip\@tabparagraph
    \fi}}
    \makeatother
    %___________________________

    \begin{document}

    %——————————————————————————

    % ———— [Running Heads – for odd and even pages] – please insert it only on page 2!
    \pagestyle{fancy}
    \fancyhead{}
    \fancyhead[EC]{Monica Auteri }
    \fancyhead[EL,OR]{\thepage}
    \fancyhead[OC]{Il controllo della spesa sanitaria }
    \fancyfoot{}
    \renewcommand\headrulewidth{0.5pt}
    %——————————————————————————

    %++—————————————————————————–

    .

    \begin{table}
    \centering
    \caption{Didascalia sopra la tabella \label{tab:stat1}}
    \begin{tabpar}{ccc}
    {bla bla bla bla testo che va sotto la tabella bla bla.}
    \toprule
    Una tabella & con tre colonne & centrate\\
    per & vedere & come viene fuori il tutto\\
    \bottomrule
    \end{tabpar}
    \end{table}

    \end{document}

    `

    in risposta a: grafico e linee #33769
    Up
    0
    Down
    ::


    eccolo:
    `
    \documentclass[11 pt,twoside,letter]{article}%% The same for {book}
    \usepackage{mathptmx,fancyhdr}
    \usepackage[round]{natbib} % occorre inserire anche il file di stile della bibliog in italiano da me modificato, nella stessa cartella

    \usepackage[italian]{babel}
    \usepackage[latin1]{inputenc}
    \usepackage{rotating}
    \usepackage{layout}
    \usepackage{url}
    \usepackage{longtable}
    \usepackage{hyperref}
    \usepackage{booktabs}

    \usepackage{float}
    \floatstyle{ruled}
    \restylefloat{figure}

    %———–%———–%———–%———–%———–%———–%———–
    %———– 7×10 Regular, 8.5 x 5.5] ———————
    \setlength{\topmargin}{-0.35in}
    \setlength{\textheight}{7 in} % 11.0 – 1.125 – 0.875
    \setlength{\textwidth}{4.8 in} % 8.5 – 1.375 – 1.125
    \setlength{\oddsidemargin}{0.5in}
    \setlength{\evensidemargin}{0.5in}
    \setlength{\headheight}{26pt}
    \setlength{\headsep}{8pt} %—————————————————————————–

    %[Float at the top formula]
    \makeatletter
    \setlength\@fptop{0\p@}
    \makeatother

    % [Clears Header Style on the Last Empty Odd pages]
    \makeatletter
    \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
    \hbox{}%
    \thispagestyle{empty}%
    \newpage%
    \if@twocolumn\hbox{}\newpage\fi\fi\fi}
    \makeatother

    \renewcommand{\thesection}{\arabic{section}.}
    \renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
    \renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}

    \def\figurename{Figure}
    \makeatletter
    \renewcommand{\fnum@figure}{\figurename\nobreakspace\thefigure.}
    %\renewcommand{\fnum@figure}[1]{\figurename~\thefigure.}
    \makeatother

    \def\tablename{Table}
    \makeatletter
    \renewcommand{\fnum@table}[1]{\tablename~\thetable.}
    \makeatother

    %_____________________________

    \makeatletter
    \newsavebox{\@tabparbox}
    \newenvironment{tabpar}[3][t]
    {\long\def\@tabparagraph{#3}\def\@tabparopt{#1}%
    \begin{lrbox}{\@tabparbox}
    \begin{tabular}{#2}}
    {\end{tabular}\end{lrbox}%
    \parbox{\wd\@tabparbox}{
    \if t\@tabparopt
    \@tabparagraph\par\smallskip
    \fi
    \usebox{\@tabparbox}\par
    \if b\@tabparopt
    \smallskip\@tabparagraph
    \fi}}
    \makeatother
    %___________________________

    \begin{document}

    %——————————————————————————

    % ———— [Running Heads – for odd and even pages] – please insert it only on page 2!
    \pagestyle{fancy}
    \fancyhead{}
    \fancyhead[EC]{Monica Auteri }
    \fancyhead[EL,OR]{\thepage}
    \fancyhead[OC]{Il controllo della spesa sanitaria }
    \fancyfoot{}
    \renewcommand\headrulewidth{0.5pt}
    %——————————————————————————

    %++—————————————————————————–

    .

    \begin{table}
    \centering
    \caption{Didascalia sopra la tabella \label{tab:stat1}}
    \begin{tabpar}{ccc}
    {bla bla bla bla testo che va sotto la tabella bla bla.}
    \toprule
    Una tabella & con tre colonne & centrate\\
    per & vedere & come viene fuori il tutto\\
    \bottomrule
    \end{tabpar}
    \end{table}

    \end{document
    `

    in risposta a: grafico e linee #33767
    Up
    0
    Down
    ::


    caro Enrico,

    innanzitutto ti ringrazio per la tua pazienza nel darmii preziosi consigli.

    Tuttavia se apporto alcune delle modifiche che mi hai indicato ottengo messaggi d’errore:

    ad esempio ho 33 errori se uso questa sintassi :
    codice:

    `
    \begin{tabpar}
    {bla bla bla bla testo che va sotto la tabella bla bla.}{ccc}
    `

    piuuttosto che :
    `
    \begin{tabpar}{ccc}
    {bla bla bla bla testo che va sotto la tabella bla bla.}
    `
    che invece funziona perfettamente

    cosi se apporto le modifiche al mio preambolo che tu mi hai indicato e cioè:
    `
    \renewcommand{\fnum@figure}{\figurename\nobreakspace\thefigure.}
    `

    l’etichetta “Figura 1” è seguitanon più solo da un punto ma ora il punto è anche preceduto dai due punti
    come mai?

    grazie in anticipo
    M.

    in risposta a: grafico e linee #33764
    Up
    0
    Down
    ::


    Caro ANtonio,

    ti ringrazio…ma come avrai capito non sono molto abile.
    allora devo inserire nel preambolo

    ************************************
    per inserire la didascalia alla tabella:
    posizionare il codice nel preambolo
    ************

    \makeatletter
    \newsavebox{\@tabparbox}
    \newenvironment{tabpar}[3][t]
    {\long\def\@tabparagraph{#3}\def\@tabparopt{#1}%
    \begin{lrbox}{\@tabparbox}
    \begin{tabular}{#2}}
    {\end{tabular}\end{lrbox}%
    \parbox{\wd\@tabparbox}{
    \if t\@tabparopt
    \@tabparagraph\par\smallskip
    \fi
    \usebox{\@tabparbox}\par
    \if b\@tabparopt
    \smallskip\@tabparagraph
    \fi}}
    \makeatother

    *****
    e poi devo inserire il contenuto della tabella nel modo tradizionale. e quindi riprendendo l’esempio::
    *************
    \begin{table}
    \centering
    \caption{Didascalia sopra la tabella \label{tab:stat1}}
    \begin{tabpar}{ccc}
    {bla bla bla bla testo che va sotto la tabella bla bla.}
    \toprule
    Una tabella & con tre colonne & centrate\\
    per & vedere & come viene fuori il tutto\\
    \bottomrule
    \end{tabpar}
    \end{table}
    **********************

    tuttavia ottego cosi 2 errori che spariscono se elimino \toprule e \bottomrule
    e quindi scrivo cosi la mia tabella:

    \begin{table}
    \centering
    \caption{Didascalia sopra la tabella \label{tab:stat1}}
    \begin{tabpar}{ccc}
    {bla bla bla bla testo che va sotto la tabella bla bla.}

    Una tabella & con tre colonne & centrate\\
    per & vedere & come viene fuori il tutto\\

    \end{tabpar}
    \end{table}

    ho capito bene?

    ancora grazie
    Monica

    in risposta a: grafico e linee #33762
    Up
    0
    Down
    ::


    mammmmamia quante info!!! mi ci vorrà un po’ per capire che cosa correggere seguendo i tuoi preziosi consigli.

    comunque:
    1) ora non ho più il messaggio d’errore. e sono a buon punto

    poi pian piano leggo tutte le info che mi hai dato e correggerò il mio file.

    L’editore è americano ecco perchè il formato letter….poi la pagina vera e propria sarà qualche cosa tipo 17×24 o almeno credo e questo spiega le misure della pagina espresse in inc. (credo!!)

    ho solo (per ora) un altro problema.
    oltre al titolo della tabella che io posiziono prima della tabella con il comando “\caption”
    ho bisogno di scrivere sotto la tabella la fonte e alcune indicazioni sulla tabella.

    ho fatto cosi ho scritto tra \end tabular e \end table ma il testo non è della stessa dimensione della tabella ed è centrato mentre io vorrei che fosse giustificato. Se impongo il comando che me lo giustifica si distanzia tanto dalla tabella (non so se si capisce quello che vorrei dire)

    sono sicura che c’è un modo meno rozzo ma ho cercato qui è là senza soluzione….spero e confido ancora iin voi

    grazie ancora
    Monica

    in risposta a: grafico e linee #33760
    Up
    0
    Down
    ::


    a mia parziale discolpa…. Il file me lo ha dato l’editore insieme ad uno formati sty .
    Comunque grazie ora riprovo e vi faccio sapere .

    in risposta a: grafico e linee #33758
    Up
    0
    Down
    ::


    scusa….sono una principiante
    ecco il file mimino che ho creato . Spero di aver capito bene cosa si richiedeva:
    \documentclass[11 pt,twoside,letter]{article}%% The same for {book}
    \usepackage{times,fancyhdr}
    \usepackage[round]{natbib}

    \usepackage[italian]{babel}
    \usepackage[latin1]{inputenc}
    \usepackage{rotating}
    \usepackage{layout}
    \usepackage{url}
    \usepackage{longtable}
    \usepackage{hyperref}

    \usepackage{float}
    \floatstyle{ruled}
    \restylefloat{figure}

    %———– [ 7×10 Regular, 8.5 x 5.5] ———————
    \setlength{\topmargin}{-0.35in}
    \setlength{\textheight}{7 in} % 11.0 – 1.125 – 0.875
    \setlength{\textwidth}{4.8 in} % 8.5 – 1.375 – 1.125
    %\setlength{\textwidth}{5.5in} % 8.5 – 1.375 – 1.125
    \setlength{\oddsidemargin}{0.5in}
    \setlength{\evensidemargin}{0.5in}
    \setlength{\headheight}{26pt}
    \setlength{\headsep}{8pt} %—————————————————————————–

    %[Float at the top formula]
    \makeatletter
    \setlength\@fptop{0\p@}
    \makeatother

    % [Clears Header Style on the Last Empty Odd pages]
    \makeatletter
    \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
    \hbox{}%
    \thispagestyle{empty}%
    \newpage%
    \if@twocolumn\hbox{}\newpage\fi\fi\fi}
    \makeatother

    \renewcommand{\thesection}{\arabic{section}.}
    \renewcommand{\thesubsection}{\thesection\arabic{subsection}.}
    \renewcommand{\thesubsubsection}{\thesubsection\arabic{subsubsection}.}

    \def\figurename{Figure}
    \makeatletter
    \renewcommand{\fnum@figure}[1]{\figurename~\thefigure.}
    \makeatother

    \def\tablename{Table}
    \makeatletter
    \renewcommand{\fnum@table}[1]{\tablename~\thetable.}
    \makeatother

    \begin{document}

    % [Clears Header Style on the Last Empty Odd pages]

    \title{\scshape evasione }
    \author{\bfseries\itshape Monica.
    \\
    Ricerche }
    \date{\scshape bozza di stampa del \today}
    \maketitle
    \thispagestyle{empty}
    \setcounter{page}{1}

    % ———— [Running Heads – for odd and even pages] – please insert it only on page 2!
    \pagestyle{fancy}
    \fancyhead{}
    \fancyhead[EC]{Monica}
    \fancyhead[EL,OR]{\thepage}
    \fancyhead[OC]{evasione}
    \fancyfoot{}
    \renewcommand\headrulewidth{0.5pt}
    %——————————————————————————

    %++—————————————————————————–

    \section{Introduzione}

    \begin{figure}[thb!]
    \centering
    \caption{Interventi per limitare il fenomeno dell’evasione fiscale. Valori \%}
    \label{fig:graftut}
    \includegraphics[width=\textwidth]{graftut}
    \end{figure}

    \end{document}

    in risposta a: grafico e linee #33756
    Up
    0
    Down
    ::


    grazie Antonio,
    in realtà avevo dimenticato \ solo qui. Nel file c’è e il messaggio d’errore rimane.
    Qualche altro suggerimento?

    grazie in anticipo
    Monica

    in risposta a: grafico e linee #33754
    Up
    0
    Down
    ::


    stesso errore… 😳 😥

    in risposta a: grafico e linee #33752
    Up
    0
    Down
    ::


    grazie mille per i consigli e scusatemi ancora. Qualche cosa nel mio file deve essere ancora ggiustata.
    Ho seguito i preziosi consigli ed ora ho solo un messsaggio di errore, che però non riesco a correggere.
    appare quando inserisco la didascalia( senza tutto funziona)

    \begin{figure}
    \centering
    caption{Interventi per limitare il fenomeno dell’evasione fiscale. Valori \% }
    \label{fig:grafu}
    \includegraphics[width=\textwidth]{graftut.pdf}
    \end{figure}

    ecco cosa mi scrive latex in merito all’errore:
    ! Argument of \fnum@figure has an extra }.

    \par
    l.174 …enomeno dell’evasione fiscale. Valori \%}

    I’ve run across a `}’ that doesn’t seem to match anything.
    For example, `\def\a#1{…}’ and `\a}’ would produce
    this error. If you simply proceed now, the `\par’ that
    I’ve just inserted will cause me to report a runaway
    argument that might be the root of the problem. But if
    your `}’ was spurious, just type `2′ and it will go away.

    che fare? che cosa significa poi digita 2 e rivolvi? quando lo dovrei digitare?

    ancora gtazie in anticipo
    Monica 😳 😳

    in risposta a: grafico e linee #33750
    Up
    0
    Down
    ::


    Caro Enrico, ti ringrazio. Tuttavia ho ancora qualche problema.

    ho inserito il pacchetto suggeritomi
    e poi ho scritto

    \floatstyle{ruled}
    \restylefloat{figure}
    \centering
    \begin{figure}[thb!]
    \caption{Interventi per limitare il fenomeno dell’evasione fiscale. valori in \%}
    \label{fig:graftut}
    %\includegraphics[scale=0.450]{graftut.pdf}
    \includegraphics[width=\textwidth]{graftut.pdf}
    \end{figure}

    ora però ho 3 messaggi di errore e il tetso che segue non è più giustificato ma centrato.
    Inoltre come posso evitare la linea prima dell’intestazione (prima ciè di figura1)
    ancora grazie

    in risposta a: crop e dimensioni pagina #28882
    Up
    0
    Down
    ::


    dopo vari tentaivi sono riuscita a trovare la giusta gabbia
    ossia compatibile con la pagina che verrà stampata 17×24. eccola
    \setlength{\topmargin}{-0.35in}
    \setlength{\textheight}{7 in} % 11.0 – 1.125 – 0.875
    \setlength{\textwidth}{4.8 in} % 8.5 – 1.375 – 1.125
    %\setlength{\textwidth}{5.5in} % 8.5 – 1.375 – 1.125
    \setlength{\oddsidemargin}{0.5in}
    \setlength{\evensidemargin}{0.5in}
    \setlength{\headheight}{26pt}
    \setlength{\headsep}{8pt}

    ora però stampo su a4 e in fase di stampa il pdf dovrà essere tagliato.
    l’ultimo problema che devo risolvere è come posso stampare o meglio compilare un pdf che sia direttamente 17 x 24?
    grazie

Stai visualizzando 15 risposte – dal 1 al 15 (di 17 totali)

Go to top