minnolina

Risposte nei forum create

Stai visualizzando 15 risposte – dal 331 al 345 (di 373 totali)
  • Autore
    Risposte
  • in risposta a: varioref va a capo da solo #6396
    Up
    0
    Down
    ::


    Bé, ecco il mio luuuuuungo preambolo:

    `
    \documentclass[a4paper,%
    11pt,%
    openright,%
    notoccite,% per far funzionare minitoc
    tight,% per far funzionare minitoc
    ]{scrbook}

    \hfuzz20pt % Don't report over-full v-boxes if over-edge is < 20pt \setlength{\headheight}{20.4pt} % Per evitare lo warning quando uso fancy \input{P_pacchetti} \input{P_interlinea} \input{P_fancy} \input{P_comandi} \input{P_teoremi} \input{P_indici} \graphicspath{{immaginiPDF/}{immaginiEPS/}} %.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`· % ===== INIZIO DOCUMENTO ===== %.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`· \begin{document} \end{document} ` p_pacchetti ` \usepackage{ifpdf} \usepackage{srcltx} %================================================================= %------- Standard % \usepackage[italian]{babel} %,french \usepackage[italian]{varioref} %[french] \usepackage{version} % per usare \begin{comment}...\end{comment} %================================================================= %------- Layout, intestazioni, capilettera % \usepackage{lettrine} % Capilettera, al posto di \cappar \usepackage{fancyhdr} \usepackage{fancybox} \usepackage{fncylab} \usepackage{indentfirst} % \usepackage[big,binding=1.3cm]{layaureo} \usepackage{natbib} % Cross-reference package (Natural BiB) \bibpunct{[}{]}{}{n}{}{} \usepackage{appendix} % \usepackage{titlesec} % \titleformat{\chapter}[display] {\bfseries\large\scshape} {\filleft\sffamily\color{Brown}\MakeUppercase{\chaptertitlename} \Huge\thechapter} {4ex} {\titlerule[1pt]% \vspace{1pt}% \color{Brown}\titlerule \vspace{2ex}% \filcenter\huge\color{Brown}} [\vspace{1pc}% {\color{Brown}\titlerule}] \titleformat{\section}[frame] {\normalfont} {\filright %\footnotesize \enspace \textsc{\color{Brown} Sezione} \thesection \filleft\enspace} {10 pt} {\color{Brown}\large\bfseries\sffamily\filright} \titleformat{\subsection}[frame] {\normalfont} {\enspace\footnotesize \thesubsection \filright\enspace} {3 pt} {\color{Brown}\bfseries\sffamily\filright} \titleformat{\subsubsection}[block] {\bf\itshape\large\color{Brown}} {\thesubsubsection. }{.5em}{} [\vspace{.1ex}% {\color{Brown}\titlerule}] \titleformat{\paragraph}[block] {\bfseries\itshape\color{Brown}} {\theparagraph.}{}{} %================================================================= %------- Grafica, colori, figure, tabelle, sottolineature... % \usepackage[dvips,final]{graphicx} % \usepackage[dvipsnames]{xcolor} %usenames, \usepackage{subfigure} \usepackage[section]{placeins} % per usare FloatBarrier \usepackage{longtable} \usepackage[hang, bf]{caption} \setlength{\captionmargin}{20pt} \usepackage{tabls} \usepackage[normalem]{ulem} % vedi latex4wp.pdf %================================================================= %------- Font % \usepackage[latin1]{inputenc} % \usepackage[T1]{fontenc} % \usepackage{lmodern,textcomp} \usepackage{pifont} % per usare \ding %Sostituite: \usepackage{times} con i 3 seguenti \usepackage[sc,osf,noBBpl,slantedGreek]{mathpazo} \usepackage[scaled=.92]{helvet} % \usepackage{courier} % %================================================================= %------- Matematica % \usepackage[centertags]{amsmath} % %\usepackage{amsthm} % non è compatibile con ntheorem ma da lui conglobato \usepackage{amssymb} % lettere matematiche in grassetto \usepackage{amsfonts} % \usepackage{latexsym} % per alcune lettere greche ecc... \usepackage{nicefrac} % \usepackage{array} % \newcolumntype{M}{>{$}c<{$}} % pag 288 "latex par la pratique" \newcolumntype{S}{>{$}l<{$}} % pag 288 "latex par la pratique" \usepackage{delarray} % evita di mettere \left e \right (richiede array) \usepackage{braket} % per usare \[ \Set{...} \] Vedi Mathmode.pdf \usepackage{cancel} \usepackage[amsmath,thmmarks,amsthm,framed,thref,hyperref]{ntheorem} \usepackage{cases} %================================================================= %------- Varie % \ifpdf \usepackage{pdfpages} \fi \usepackage{lscape} \usepackage[squaren,Gray,italian,textstyle,derivedinbase,cdot]{SIunits} \usepackage{enumerate} % \usepackage{mdwlist} % per usare \resume{enumerate} e \suspend{...} \usepackage{framed} \newcommand{\scat}[1]{% \begin{minipage}{\textwidth}% #1% \end{minipage}% } \usepackage{listings} \lstset{ % numbers=left, % numberstyle=\tiny, % stepnumber=1, % numbersep=10pt, % language=Matlab, % numberblanklines=false, %true, % xleftmargin=10pt, % xrightmargin=20pt, % backgroundcolor=\color{Melon}, % basicstyle=\ttfamily, % %captionpos=b % } \renewcommand{\lstlistingname}{File} \usepackage[pagebackref=true]{hyperref} \hypersetup{ % Descrizione del pdf - da Acrobat premete CTRL-D % l'opzione [pagebackref] permet d'avoir dans la bibliographie les pages dove sono cité les références colorlinks=true, linkcolor=red, anchorcolor=black, filecolor=magenta, menucolor=red, pagecolor=cyan, urlcolor=blue, hyperindex=true, bookmarks=true, bookmarksnumbered=true, bookmarksopen=false, bookmarkstype=toc, pdfkeywords={Ecoulements diphasiques, multiphase flows, interface problems, real fluids}, pdfauthor={Gloria Faccanoni },
    pdftitle={PhD Thesis},
    pdfsubject={Ecoulements diphasiques},
    pdfpagemode=UseThumbs, %None, UseThumbs, UseOutlines, FullScreen
    pdfstartview=FitH,
    pdfcenterwindow=true,
    pdfmenubar=true,
    pdfpagelayout=TwoColumnRight
    }
    `

    P_interlinea
    `
    % variare, con moderazione, alcuni dei parametri che intervengono nel calcolo svolto da
    % TEX al fine di decidere se attuare o meno l’interruzione di riga. Axel Reichert ha
    % suggerito la seguente soluzione sul gruppo di discussione de.comp.text.tex:
    \tolerance 1414%
    \hbadness 1414%
    \emergencystretch 1.5em%
    \hfuzz 0.3pt%
    \widowpenalty=10000%
    \clubpenalty=10000%
    \vfuzz%
    \hfuzz%

    %—————————————————————-
    \newcommand{\InterlineaTesto}{\linespread{1.5}}
    \newcommand{\InterlineaMatlab}{\linespread{0.8}}

    \InterlineaTesto
    `

    P_fancy
    `
    \pagestyle{fancy} %

    \renewcommand{\chaptermark}[1]{ % Lower Case Chapter marker style
    \markboth{\chaptername\ \thechapter.\ #1}{}} %
    \renewcommand{\sectionmark}[1]{ % Lower case Section marker style
    \markright{\thesection.\ #1}} %

    \fancyhead{} % cancella tutti i campi
    % Fancy In basso
    \fancyfoot[CE]{} % Centro Pari
    \fancyfoot[CO]{} % Centro Dispari
    \fancyfoot[LO]{} % Sinistra Dispari
    \fancyfoot[RE]{} % Destra Pari
    \fancyfoot[LE]{\vskip 0.3cm \bfseries\thepage} % Sinistra Pari
    \fancyfoot[RO]{\vskip 0.3cm \bfseries\thepage} % Destra Dispari
    % Fancy In alto
    \fancyhead[RO]{\fancyplain{}{ \slshape \leftmark}} % Destra Dispari
    \fancyhead[LE]{\fancyplain{}{ \slshape \rightmark}} % Sinistra Pari
    \fancyhead[RE]{\fancyplain{}{}} % Destra Pari
    \fancyhead[LO]{\fancyplain{}{}} % Sinistra Dispari
    \fancyhead[CO]{\fancyplain{}{}} % Centro Dispari
    \fancyhead[CE]{\fancyplain{}{}} % Centro Pari
    \renewcommand{\footrulewidth}{0.0pt} % spessore linea in basso
    \renewcommand{\headrulewidth}{0.01pt} % spessore linea in alto
    `

    P_comandi
    `
    \newcounter{entoure} % Libro “latex par la pratique”
    \setcounter{entoure}{0}
    \newenvironment{cerchiati}{%
    \begin{list}{\large \textcircled{%
    \small\arabic{entoure}}}{%
    \usecounter{entoure}%
    \setlength{\labelsep}{1em}%
    \setlength{\leftmargin}{2em}%
    \setlength{\labelwidth}{1.5em}%
    \setlength{\listparindent}{0cm}}}%
    {\end{list}}
    `

    P_teoremi
    `
    % Prendo le def dei modelli dal ntheorem.sty e cambio il posto in cui numero viene messo
    \makeatletter
    \newtheoremstyle{plain1}%
    {\item[\hskip\labelsep \theorem@headerfont ##2\ ##1\theorem@separator]\nopagebreak}%
    {\item[\hskip\labelsep \theorem@headerfont ##2\ ##1\ (##3)\theorem@separator]\nopagebreak}
    %
    \newtheoremstyle{break1}%
    {\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
    ##2\ ##1\theorem@separator}\hbox{\strut}}}]\nopagebreak}%
    {\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
    ##2\ ##1\ (##3)\theorem@separator}\hbox{\strut}}}]\nopagebreak}
    %
    \newtheoremstyle{changebreak1}%
    {\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
    ##1\ ##2\theorem@separator}\hbox{\strut}}}]\nopagebreak}%
    {\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
    ##1\ ##2\ (##3)\theorem@separator}\hbox{\strut}}}]\nopagebreak}
    %
    \newtheoremstyle{change1}%
    {\item[\hskip\labelsep \theorem@headerfont ##1\ ##2\theorem@separator]\nopagebreak}%
    {\item[\hskip\labelsep \theorem@headerfont ##1\ ##2\ (##3)\theorem@separator]\nopagebreak}
    %
    \newtheoremstyle{margin1}%
    {\item[\theorem@headerfont \llap{##1}\hskip\labelsep ##2\theorem@separator]\nopagebreak}%
    {\item[\theorem@headerfont \llap{##1}\hskip\labelsep ##2\ (##3)\theorem@separator]\nopagebreak}
    %
    \newtheoremstyle{marginbreak1}%
    {\item[\rlap{\vbox{\hbox{\theorem@headerfont
    \llap{##1}\hskip\labelsep\relax ##2\theorem@separator}\hbox{\strut}}}]\nopagebreak}
    {\item[\rlap{\vbox{\hbox{\theorem@headerfont
    \llap{##1}\hskip\labelsep\relax ##2\
    (##3)\theorem@separator}\hbox{\strut}}}]\nopagebreak}
    %
    \makeatother

    % Finalmente definisco i teoremi ecc… con i vari stili
    =======================================================================
    %==== Teoremi, Proposizioni, Lemmi, Corollari
    \theoremstyle{changebreak1} %
    \theoremheaderfont{\bfseries\color{BrickRed}\scshape \large} %
    \theorembodyfont{\slshape} %
    \theoremsymbol{\ensuremath{\diamondsuit}}
    \theoremseparator{:} %
    %\theoremnumbering{arabic}
    \newtheorem{thm}{Teorema}
    \newtheorem{prop}{Proposizione}[chapter]
    \newtheorem{lem}[thm]{Lemma}
    \newtheorem{cor}[thm]{Corollario}

    %=======================================================================
    %==== Esempi
    \theoremstyle{break1} %
    \theoremheaderfont{\bfseries\color{BrickRed}\scshape } %
    \theorembodyfont{\upshape} %
    \theoremsymbol{\ensuremath{\heartsuit}}
    \theoremseparator{} %
    %\theoremnumbering{arabic}
    \newtheorem{esem}{Esempio}

    %=======================================================================
    %==== Definizioni
    \theoremstyle{plain1} %
    \theoremheaderfont{\bfseries\color{BrickRed}\scshape } %
    \theorembodyfont{\slshape} %
    \theoremsymbol{\ensuremath{\clubsuit}}
    \theoremseparator{.} %
    %\theoremnumbering{arabic}
    \newtheorem{defn}[thm]{Definizione}

    %=======================================================================
    %==== Ipotesi
    \theoremstyle{marginbreak1} %
    \theoremheaderfont{\bfseries\color{BrickRed}\scshape } %
    \theorembodyfont{\slshape} %
    \theoremsymbol{\ensuremath{\clubsuit}}
    \theoremseparator{.} %
    %\theoremnumbering{arabic}
    \newtheorem{hyp}{Hp}[chapter]
    \newtheorem{h}{Hp}[chapter]

    %=======================================================================
    %==== Osservazioni
    \theoremstyle{change1} %
    \theoremheaderfont{\bfseries\color{BrickRed}\scshape } %
    \theorembodyfont{\upshape} %
    \theoremsymbol{\ensuremath{\spadesuit}}
    \theoremseparator{.} %
    \newtheorem{oss}{Osservazione}[chapter]

    %=======================================================================
    %==== Osservazioni
    \theoremstyle{nonumberbreak}%
    \theoremheaderfont{\color{BrickRed}\scshape } %
    \theorembodyfont{\upshape} %
    \theoremsymbol{\ensuremath{\Box}}
    \theoremseparator{.} %
    \newtheorem{Proof}{Dimostrazione}

    `

    P_indici
    `
    \usepackage[undotted]{minitoc}
    \setcounter{secnumdepth}{2} % fino a che livello le sezioni saranno numerate
    %
    \setcounter{tocdepth}{2} % profondità indice globale
    \setcounter{minitocdepth}{3}
    %
    \setlength{\mtcindent}{10pt} % indentation of minitocs, default
    \renewcommand{\mtcfont}{\small\rm} % font for minitocs, default
    \renewcommand{\mtcSSSfont}{\small\bf} % font for minitocs, sections, default
    \renewcommand{\mtcSPfont}{\small\sf} % font for minitocs, subsections
    \mtcselectlanguage{italian} %
    `

    in risposta a: Note nelle tabelle #6160
    Up
    0
    Down
    ::


    Non l’ho mai usato ma prova con il pacchetto threeparttable come suggerito sul manuale “”Appun ti Latex” di Heinrich F. Fleck (non ricordo l’indirizzo da cui l’ho scaricato) a pagina 79.

    in risposta a: problema indice-numerazione pagine #6143
    Up
    0
    Down
    ::


    Comincia col togliere \pagenumbering{roman} et \pagenumbering{arabic}

    in risposta a: problema indice-numerazione pagine #6139
    Up
    0
    Down
    ::


    Anticipa il \mainmatter:

    `\documentclass[a4paper,11pt,oneside]{book}
    \usepackage[italian]{babel}

    \begin{document}

    \frontmatter

    \tableofcontents

    \mainmatter

    \chapter*{Introduzione}
    \addcontentsline{toc}{chapter}{Introduzione}
    Bla bla..

    \chapter{Alessandro}
    Bla bla..

    \end{document}`

    in risposta a: subfigure e lista di figure #6005
    Up
    0
    Down
    ::


    Non l’ho testato ma prova con

    `
    \usepackage{tocloft}
    …

    \begin{document}
    \addtocontents{lof}{\cftpagenumbersoff{subfigure}}
    …
    \end{document}`

    in risposta a: Inserire titolo di capitolo nella parte superiore pagina #6057
    Up
    0
    Down
    ::

    come aggiungere nella parte alta della pagina il titolo del capitolo e la riga nera come è presente in diversi manuali latex (ad esempio ” The not so short introduction…”

    nella quale è spiegato come fare a pagina 63-64 😯

    In rete ci sono i sorgenti per la maggior parte delle guide di cui parla. Guarda su quelli e poi facci sapere.

    Anche se è diseducativo 😀 potevi dirgli la mitica parolina: fancyhdr

    in risposta a: interlinea modificata dopo l’inserimento di una tabular #5953
    Up
    0
    Down
    ::


    Scusa un attimino ma alla fine della tesi ci posti tutto il sorgente della tesi?!? 😯
    Documento minimale è, come dice la parola stessa, MINIMALE cioè lasci solo i pacchetti e il testo che ti genera il problema. Tra l’altro, spesso così facendo scopri già da solo la causa del problema.

    in risposta a: parametri opzionali ambiente figura #5404
    Up
    0
    Down
    ::


    Non è elegante ma è sufficiente mettere un \FloatBarrier dopo ogni figura.

    in risposta a: Bibtex – riferimento ad url #5808
    Up
    0
    Down
    ::


    Sulle UK TeX Faq ho trovato quanto segue (riporto il testo in inglese per non scrivere delle bestiate nel tentativo di tradurlo)

    URLs in BibTeX bibliographies

    There is no citation type for URLs, per se, in the standard BibTeX styles, though Oren Patashnik (the author of BibTeX) is believed to beconsidering developing one such for use with the long-awaited BibTeX version 1.0.

    The actual information that need be available in a citation of an URL is discussed at some length in the publicly available on-line extracts of ISO 690-2; the techniques below do not satisfy all the requirements of ISO 690-2, but they offer a solution that is at least available to users of today’s tools.

    Until the new version of BibTeX arrives, the simplest technique is to use the howpublished field of the standard styles’ @misc function. Of course, the strictures about typesetting URLs still apply, so the entry will look like:

    @misc{…,
    …,
    howpublished = “\url{http://…}”
    }
    A possible alternative approach is to use BibTeX styles other than the standard ones, that already have URL entry types. Pre-eminent are the natbib styles (plainnat, unsrtnat and abbrevnat). These styles are extensions of the standard styles, principally for use with natbib itself, but they’ve acquired URLs and other “modern” entries along the way. The same author’s custom-bib is also capable of generating styles that honour URL entries.

    Another candidate is the harvard package (if its citation styles are otherwise satisfactory for you). Harvard bibliography styles all include a “url” field in their specification; however, the typesetting offered is somewhat feeble (though it does recognise and use LaTeX2HTML macros if they are available, to create hyperlinks).

    You can also acquire new BibTeX styles by use of Norman Gray’s urlbst system, which is based on a Perl script that edits an existing BibTeX style file to produce a new style. The new style thus generated has a webpage entry type, and also offers support for url and lastchecked fields in the other entry types. The Perl script comes with a set of converted versions of the standard bibliography styles. Documentation is distributed as LaTeX source.

    Another possibility is that some conventionally-published paper, technical report (or even book) is also available on the Web. In such cases, a useful technique is something like:

    @techreport{…,
    …,
    note = “Also available as \url{http://…}”
    }
    There is good reason to use the url or hyperref packages in this context, since (by default) the \url command ignores spaces in its argument. BibTeX has a habit of splitting lines it considers excessively long, and if there are no space characters for it to use as ‘natural’ breakpoints, BibTeX will insert a comment (‘%’) character … which is an acceptable character in an URL, so that \url will typeset it. If you’re using url, the way around the problem is to insert odd spaces inside the URL itself in the .bib file, to enable BibTeX to make reasonable decisions about breaking the line. Note that the version of \url that comes with recent versions of the hyperref package doesn’t suffer from the ‘%-end of line’ problem: hyperref spots the problem, and suppresses the unwanted characters.

    La pagina da cui ho preso il tasto è questa.

    in risposta a: Unire due documenti #5604
    Up
    0
    Down
    ::

    N.2. Durante la tesi ho usato section, subsection, subsection, ottendo come risultato nella numerazione dei capitoli, per esempio, 5.1.1. Avendo bisogno di dividere ulteriormente una sezione, per esempio 5.1.1.1, usando nuovamente subsection non riesco. Esiste un modo per ottenere ciò.

    Credo d’aver gia’ risposto una volta ad una domanda simile ma non trovo piu’ il post cui rinviarti quindi ecco un riassuntino:

    Profondità dell’indice: \setcounter{tocdepth}{}
    “Il contatore tocdepth indica la profondità dell’indice, dove più è grande il numero, più tipi di sezionamento vengono inclusi. Questo indice, però, è variabile da classe a classe; esso dipende da quelli che sono stati assegnati a ciascuno dei comandi di sezionamento. E’ quindi in dipendenza della classe che stai usando che quel numero deve essere settato per poterti far visualizzare anche le sottosezioni.” (cito testualmente da qui
    )

    Profondità sezioni numerate: \setcounter{secnumdepth}{}
    analogo, setta la profondità delle “sezioni” che saranno numerate.

    Avere subsubsubsection numerate:
    `
    \makeatletter
    \newcounter{subsubsubsection}[subsubsection]
    \renewcommand{\thesubsubsubsection}{\thesubsubsection.\@arabic\c@subsubsubsection}
    \renewcommand{\theparagraph}{\thesubsubsubsection.\@arabic\c@paragraph}
    \newcommand\subsubsubsection{\@startsection{subsubsubsection}{4}{\z@}%
    {-3.25ex\@plus -1ex \@minus -.2ex}%
    {1.5ex \@plus .2ex}%
    {\normalfont\normalsize\bfseries}}
    \newcommand*\l@subsubsubsection{\@dottedtocline{3}{5.1em}{4.1em}}
    \newcommand*{\subsubsubsectionmark}[1]{}
    \makeatother
    `

    Fammi sapere se funziona ma… non credi che una subsubsubsection sia un po’ troppo? I normali paragraph e subparagraph sono nati appositamente per avere un ulteriore divisione del testo e se non e’ stato previsto di nulerarli deve esserci un bun motivo… ad esempio potresti finire che la numerazione e’ piu’ lunga del titolo… 😆

    in risposta a: allineare in maniera rapida delle colonne di testo #5748
    Up
    0
    Down
    ::

    Dovrebbe esistere una variante di enumerate (o di itemize) che lo fa ma non so quale…

    FInalmente l’ho trovata: pacchetto listliketab.
    http://www.ctan.org/tex-archive/macros/latex/contrib/listliketab/

    E’ una sorta di itemize o enumerate formato tabella cioè le spaziature ecc… sono quelle degli elenchi ma la struttura è quella di una tabella (che può essere fatta con longtable…).

    in risposta a: \tableofcontents non va a capo #5787
    Up
    0
    Down
    ::


    Profondità dell’indice ottenuto con \tableofcontents: `\setcounter{tocdepth}{}`
    “Il contatore tocdepth indica la profondità dell’indice, dove più è grande il numero, più tipi di sezionamento vengono inclusi. Questo indice, però, è variabile da classe a classe; esso dipende da quelli che sono stati assegnati a ciascuno dei comandi di sezionamento. E’ quindi in dipendenza della classe che stai usando che quel numero deve essere settato per poterti far visualizzare anche le sottosezioni.” (cito testualmente da qui )

    Profondità sezioni numerate: `\setcounter{secnumdepth}{}`
    analogo, setta la profondità delle “sezioni” che saranno numerate.

    Utilizzando \tableofcontents il titolo è inserito in automatico e va a capo in automatico. Se però si vogliono usare le testatine in alla fancy il risultato di titoli così lunghi è un obbrobrio. A dire il vero qui si parlava di subsubsection che di solito non vengono inserite nelle testatine ma qualora fosse necessario avere un titolo lungo esplicito ed uno ridotto per l’indice e le testatine il comando è:
    `\subsection[titolo corto]{titolo lungo}`

    E’ anche possibile gestire separatamente 3 versioni del titolo: quella standard lunga e due differenti per l’indice e le testatine ma non ricordo bene il comando, se necessario rimando alla lettura del manuale del pacchetto fancyhdr.

    PS Tempo fa sul ng it si chiedva di avere oltre alle subsubsection anche seubsubsubsection e che fossero ancora numerate e inseribili nell’indice. Il risultato è alquanto opinabile ma comunque ecco la soluzione che è stata data:
    `
    \makeatletter
    \newcounter{subsubsubsection}[subsubsection]
    \renewcommand{\thesubsubsubsection}{\thesubsubsection.\@arabic\c@subsubsubsection}
    \renewcommand{\theparagraph}{\thesubsubsubsection.\@arabic\c@paragraph}
    \newcommand\subsubsubsection{\@startsection{subsubsubsection}{4}{\z@}%
    {-3.25ex\@plus -1ex \@minus -.2ex}%
    {1.5ex \@plus .2ex}%
    {\normalfont\normalsize\bfseries}}
    \newcommand*\l@subsubsubsection{\@dottedtocline{3}{5.1em}{4.1em}}
    \newcommand*{\subsubsubsectionmark}[1]{}
    \makeatother`

    in risposta a: allineare in maniera rapida delle colonne di testo #5746
    Up
    0
    Down
    ::

    vado un pelo fuori topic, spero nessuno se ne abbia a male…
    per allineare in maniera rapida delle colonne di testo, senza dover fare una tabella, esiste un qualcosa di analogo al “tab” dei programmi WYSWYG?

    Dovrebbe esistere una variante di enumerate (o di itemize) che lo fa ma non so quale… attendo risposta dagli esperti 😆

    in risposta a: Formule all’interno di una didascalia #5727
    Up
    0
    Down
    ::


    L’ambiente $…$ a me funziona, quello che non funziona è \[…\].

    in risposta a: Sistema in cui ogni equazione e’ numerata #5711
    Up
    0
    Down
    ::


    Ho postato lo stesso probelma sul NG francese ed ecco la risposta (a naso doveva essere facile ma proprio non ne uscivo da sola):

    pacchetto cases con i suoi environnement numcases e subnumcases

    Dal file .sty:

    % C A S E S . S T Y ver 2.5 May 2002
    %
    % Copyright (C) 1993,1994,1995,2000,2002 by Donald Arseneau
    % asnd@triumf.ca
    % These macros may be freely transmitted, reproduced, or modified
    % provided that this notice is left intact. Sub-equation numbering
    % is based on subeqn.sty by Stephen Gildea; most of the rest is based
    % on LaTeX’s \eqnarray by Leslie Lamport and the LaTeX3 team.
    %
    % This provides a LaTeX environment {numcases} to produce multi-case
    % equations with a separate equation number for each case. There is
    % also {subnumcases} which numbers each case with the overall equation
    % number plus a letter [8a, 8b, etc.]. The syntax is
    %
    % \begin{numcases}{left_side}
    % case_1 & explanation_1 \\
    % case_2 & explanation_2 \\
    % …
    % case_n & explanation_n
    % \end{numcases}
    %
    % Each case is a math formula, and each explanation is a piece of lr mode
    % text (which may contain math mode in \(…\) or $…$). The explanations
    % are optional. Equation numbers are inserted automatically, just as for
    % the eqnarray environment. In particular, the \nonumber command suppresses
    % an equation number and the \label command allows reference to a particular
    % case. In a subnumcases environment, a \label in the left_side of the
    % equation gives the overall equation number, without any letter.
    %
    % To use this package,
    % include “\usepackage{cases}” after \documentclass. You may also
    % specify “\usepackage[subnum]{cases}” to force *all* numcases
    % environments to be treated as subnumcases.
    %
    % Question: Is there a {numcases*} environment for unnumbered cases?
    % Answer: There is a {cases} environment in AMS-LaTeX, but it is just as
    % convenient to stick with the canonical LaTeX array:
    % \[ left side = \left\{ PROTECTED1 \right. \]
    %
    % Speaking of AMS-math, they use an entirely different system of equation
    % numbering, and this package uses ordinary LaTeX numbering.
    %
    % – – – – –
    % A simple example is:
    % \begin{numcases}{|x|=}
    % x, & for $x \geq 0$\\
    % -x, & for $x < 0$ % \end{numcases} % % Giving: % / x for x > 0 (1)
    % |x| = < - % \ -x for x < 0 (2) % % - - - - - % % Another example is calculating the square root of $c+id$. First compute % \begin{subnumcases}{\label{w} w\equiv} % 0 & $c = d = 0$\label{wzero}\\ % \sqrt{|c|}\,\sqrt{\frac{1 + \sqrt{1+(d/c)^2}}{2}} & $|c| \geq |d|$ \\ % \sqrt{|d|}\,\sqrt{\frac{|c/d| + \sqrt{1+(c/d)^2}}{2}} & $|c| < |d|$ % \end{subnumcases} % Then, using $w$ from eq.~(\ref{w}), the square root is % \begin{subnumcases}{\sqrt{c+id}=} % 0 & $w=0$ (case \ref{wzero})\\ % w+i\frac{d}{2w} & $w \neq 0$, $c \geq 0$ \\ % \frac{|d|}{2w} + iw & $w \neq 0$, $c < 0$, $d \geq 0$ \\ % \frac{|d|}{2w} - iw & $w \neq 0$, $c < 0$, $d < 0$ % \end{subnumcases}

Stai visualizzando 15 risposte – dal 331 al 345 (di 373 totali)

Go to top▲