kamet69

Risposte nei forum create

Stai visualizzando 15 risposte – dal 16 al 30 (di 60 totali)
  • Autore
    Risposte
  • in risposta a: Gestione delle parti #75586
    Up
    0
    Down
    ::


    Funziona! Grazie 100000!!!!!!

    in risposta a: Gestione delle parti #75583
    Up
    0
    Down
    ::


    Questo lo so, chiedevo per metterli fuori dalle parti 😛

    in risposta a: Gestione delle parti #75581
    Up
    0
    Down
    ::


    ho provato a guardare sia l’arte che la documentazione di bookmark ma non riesco a capire come posso tirare fuori dei capitoli da una parte (gerarchicamente) 🙁

    in risposta a: Codice colorato #75792
    Up
    0
    Down
    ::


    Forse pretendo troppo ma si può far si che solo i numeri tra parentesi vengano fatti rossi?

    perché ho delle righe così:

    VARCHAR2 (2000)

    Come potete capire solo il 2000 dovrebbe essere rosso, invece il 2 del varchar2 esce rosso.

    Vi ringrazio moltissimo della vostra gentilezza, sentitevi pure liberi di mandarvi al quel paese se chiedo troppo 😛

    grazie 😀

    in risposta a: Codice colorato #75790
    Up
    0
    Down
    ::


    Ma è bellissimo…. lui capisce da solo quali sono le keyword… meraviglioso!!!!

    Comunque ci siamo male interpretati perché io con numeri intendevo numeri nel codice non numeri di linea, ovvero se il codice presenta delle cifre numeriche queste devono essere in rosso 😛

    in risposta a: Codice colorato #75789
    Up
    0
    Down
    ::


    Un esempio di numero che può capitare è:

    varchar(250)

    cioè una stringa di 250 caratteri.

    nelle esempio che hai messo, se ho capito bene, che le keyword devono essere blu ( keywordstyle=\color{blue} ) ma come faccio a definire quali sono queste keyword?
    lo vedo fare per ogni listato oppure nel preambolo?

    Grazie 1000!

    in risposta a: Codice colorato #75787
    Up
    0
    Down
    ::


    Potreste gentilmente un esempio 🙂

    nel preambolo ho messo questo:

    `

    %%%%%%%%% Listati%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \usepackage{listings}
    \lstset{language= sql,%
    basicstyle=\footnotesize\ttfamily,
    breaklines=true,
    captionpos=b,
    commentstyle=
    \footnotesize\ttfamily
    }
    \renewcommand{\lstlistlistingname}{Lista dei Sorgenti}
    \renewcommand{\lstlistingname}{Listato}
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    `

    e ogni listato è circa cosi:

    `

    \begin{lstlisting}
    CREATE TABLE ANNO
    (
    IDANNO INTEGER NOT NULL,
    ANNOI INTEGER NULL,
    ANNOF INTEGER NULL
    )
    /
    CREATE UNIQUE INDEX XPKANNO ON ANNO
    (
    IDANNO ASC
    )
    /
    ALTER TABLE ANNO
    ADD CONSTRAINT XPKANNO PRIMARY KEY (IDANNO)
    /
    ALTER TABLE ANNO
    ADD CONSTRAINT CK_ANNO UNIQUE (ANNOI, ANNOF)
    /
    \end{lstlisting}

    `

    Ora se io volessi che le parole CREATE, UNIQUE, INDEX, etc vengano blu e i numeri rossi cosa dovrei fare?

    So che dovrei leggermi semplicemente la documentazione del pacchetto ma non ho tempo perché sono indietro e stretto con i tempi, per questo vi chiedo questa cortesia.

    Grazie 1000000000

    in risposta a: Centrare il contenuto di una colonna X #67619
    Up
    0
    Down
    ::


    Sostituendo \\ con \tabularnewline funziona tutto. 😀

    Grazie 1000 e scusate non aver riportato bene l’esempio.

    in risposta a: Centrare il contenuto di una colonna X #67614
    Up
    0
    Down
    ::


    Anche io mi trovo nella stessa situazione…. il codice è il seguente:

    `

    \begin{tabularx}{\columnwidth}{ l *{3}{>\centering X}}

    \toprule

    \multirow{3}*{\bf Tipo di utente} & \multicolumn{3}{c}{ \bf Insiemi di funzioni} \\

    \cmidrule(lr){2-4}

    & Caricamento dati & Consultazione dati privati & Consultazione dati pubblici\\

    \midrule

    Utente ROOT & \checkmark & & \checkmark \\

    Utente comune & & \checkmark & \checkmark \\

    Utente pubblico & & & \checkmark \\

    \bottomrule

    \end{tabularx}

    `

    ma mi da quest’errore:

    `

    ! Misplaced \noalign.
    \midrule ->\noalign
    {\ifnum 0=`}\fi \@aboverulesep =\aboverulesep \global \@…
    l.202 \end{tabularx}
    I expect to see \noalign only after the \cr of
    an alignment. Proceed, and I'll ignore this case.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Misplaced \noalign.
    \midrule ->\noalign
    {\ifnum 0=`}\fi \@aboverulesep =\aboverulesep \global \@…
    l.202 \end{tabularx}
    I expect to see \noalign only after the \cr of
    an alignment. Proceed, and I'll ignore this case.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Misplaced \noalign.
    \midrule ->\noalign
    {\ifnum 0=`}\fi \@aboverulesep =\aboverulesep \global \@…
    l.202 \end{tabularx}
    I expect to see \noalign only after the \cr of
    an alignment. Proceed, and I'll ignore this case.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.
    ! Extra alignment tab has been changed to \cr.
    \endtemplate
    l.202 \end{tabularx}
    You have given more \span or & marks than there were
    in the preamble to the \halign or \valign now in progress.
    So I'll assume that you meant to type \cr instead.

    `

    come fare?

    in risposta a: Scrivere parole con degli underscore e senza spazi #75012
    Up
    0
    Down
    ::


    hai ragione, funziona anche senza spazi 😛

    in risposta a: Diagrammi ER o UML vanno in figure? #75007
    Up
    0
    Down
    ::


    e se volessi inserire del codice andrebbe come tabella?

    in risposta a: Niente numeri di pagina con la classe book #74521
    Up
    0
    Down
    ::


    Grazie a tutti delle risposte 🙂

    La questione è che io ho un documento di circa 50 di cui dovevo esportare solo indice, abstract e bibliografia: avendo solo quelle 3 pagine sembrava brutto avere i numeri di pagina, tutto qui 🙂

    Comunque alla fine le ho consegnate con i numeri di pagina 😛

    in risposta a: Aiuto con bibtex, causa errore strano. #74360
    Up
    0
    Down
    ::


    Mi è bastato togliere quel brutto note.

    Grazie Enrico 🙂

    in risposta a: Caratteri lituani #64046
    Up
    0
    Down
    ::


    Domande:

    Cosa vuol dire L7x nel pacchetto fontec?

    Perché se ne pacchetto babel si deficnisce anche il lituano come lingua dopo bisogna creareed usare il comando lith per usare le lettere lituane?

    Grazie
    AndreA

    in risposta a: Caratteri lituani #64044
    Up
    0
    Down
    ::


    Aveva ragione Enrico: Il documento non era codificato correttamente in utf8.
    Infatti quando ho apportato la modifica suggerita da Doc nell’ultimo post è andato tutto liscio come l’olio: hai avuto proprio occhio! 🙂

    Finalmente posso usare l’alfabeto lituano. 😀

    Ancora una volta siete stati imparegiabili ragazzi!
    Grazie 1 000 000 !

    AndreA

Stai visualizzando 15 risposte – dal 16 al 30 (di 60 totali)

Go to top