samiel

Risposte nei forum create

Stai visualizzando 15 risposte – dal 1,396 al 1,410 (di 1,864 totali)
  • Autore
    Risposte
  • in risposta a: Font usato per \part #67114
    samiel
    Partecipante
      Up
      0
      Down
      ::


      Forse ci sono…
      `\titleformat{\part}[display]{\normalfont\huge\bfseries\centering\color{maroon}}{\partname\ \thepart}{11pt}{\Huge}`

      M

      in risposta a: Font usato per \part #67111
      samiel
      Partecipante
        Up
        0
        Down
        ::


        Rimosso l’asterico, ma adesso:
        `Runaway argument?
        ! Paragraph ended before \ttl@format@ii was complete.

        \par
        l.26 `

        🙁
        M

        in risposta a: Font usato per \part #67109
        samiel
        Partecipante
          Up
          0
          Down
          ::


          Sì scusa, ma fu un errore del copia-incolla:
          `! Package titlesec Error: Not allowed in `easy' settings.

          See the titlesec package documentation for explanation.
          Type H for immediate help.

          l.25 …{\normalfont\Large\bfseries\color{maroon}}`

          in risposta a: Font usato per \part #67107
          samiel
          Partecipante
            Up
            0
            Down
            ::


            Però… mentre ad esempio
            `\titleformat*{\section}{\normalfont\Large\bfseries\color{red}}`
            funziona, quello che serve a me ossia
            `\titleformat*{\part}{\normalfont\Large\bfseries\{maroon}}`
            mi produce il seguente errore:
            `! Package titlesec Error: Not allowed in `easy' settings.
            See the titlesec package documentation for explanation.
            Type H for immediate help.

            l.25 …\part}{\normalfont\Large\bfseries\{maroon}
            }`
            Ci sono altri “settings not easy” ovvero “hard”?

            M

            in risposta a: Font usato per \part #67105
            samiel
            Partecipante
              Up
              0
              Down
              ::


              E sectsty?
              Qual è migliore?

              M

              PS
              In questo testo ho usato per fini diversi
              sia titletoc sia titlesec. Ci sono problemi di convivenza?

              in risposta a: Codice o codifica in nuovo ambiente? #67090
              samiel
              Partecipante
                Up
                0
                Down
                ::


                Corretto tutto,
                grazie!

                M

                in risposta a: Grassetto di default per un solo font #66800
                samiel
                Partecipante
                  Up
                  0
                  Down
                  ::


                  Non porto gli occhiali ma il corpo 1 effettivamente è un po’ piccolo 🙂
                  Ottimo, non ho che l’imbarazzo della scelta!

                  Grazie
                  M

                  in risposta a: Grassetto di default per un solo font #66798
                  samiel
                  Partecipante
                    Up
                    0
                    Down
                    ::


                    Però il codice che ho riportato nel messaggio precedente
                    non mi rende grassetto il font tt

                    M

                    in risposta a: Grassetto di default per un solo font #66796
                    samiel
                    Partecipante
                      Up
                      0
                      Down
                      ::


                      Così non va:
                      `\documentclass{article}
                      \usepackage[T1]{fontenc}
                      \usepackage[latin1]{inputenc}
                      \usepackage[italian]{babel}
                      \usepackage{tgpagella}
                      \usepackage{tgadventor}
                      \usepackage{tgcursor}
                      \sbox0{\ttfamily x}
                      \DeclareFontShape{T1}{qcr}{m}{n}{<->ssub*qcr/b/n}{}
                      \DeclareFontShape{T1}{qcr}{m}{it}{<->ssub*qcr/b/it}{}

                      \begin{document}
                      \texttt{Ciao} mondo
                      \end{document}`
                      Ma che funzione ha sbox ?

                      M

                      in risposta a: Grassetto di default per un solo font #66794
                      samiel
                      Partecipante
                        Up
                        0
                        Down
                        ::


                        Sì, uso T1. E l’avvio del codice è
                        `\usepackage[T1]{fontenc}
                        \usepackage{textcomp}
                        \usepackage[latin1]{inputenc}
                        \usepackage[italian]{babel}

                        % font
                        \usepackage{microtype}
                        \usepackage{tgpagella}
                        \usepackage{tgadventor}
                        \usepackage{tgcursor}
                        \DeclareFontShape{T1}{qcr}{m}{n}{<->ssub*qcr/b/n}
                        \DeclareFontShape{T1}{qcr}{m}{it}{<->ssub*qcr/b/it}`
                        Ma il risultato è:
                        `! LaTeX Error: Font family `T1+qcr' unknown.

                        See the LaTeX manual or LaTeX Companion for explanation.
                        Type H for immediate help.

                        l.16 \DeclareFontShape
                        {T1}{qcr}{m}{it}{<->ssub*qcr/b/it}`

                        M

                        in risposta a: Grassetto di default per un solo font #66792
                        samiel
                        Partecipante
                          Up
                          0
                          Down
                          ::


                          No scusa, funzionano entrambe.
                          SOlo che ho dovuto aggiungere anche \bfseries a listings
                          Prima non me n’ero accorto.

                          Grazie
                          M

                          in risposta a: Grassetto di default per un solo font #66790
                          samiel
                          Partecipante
                            Up
                            0
                            Down
                            ::


                            Così
                            `
                            \usepackage{tgcursor}
                            \let\neretto\textbf
                            \renewcommand{\textbf}[1]{\neretto{%
                            \fontencoding{T1}\fontfamily{qcr}\selectfont#1}
                            }`
                            non succede nulla, il testo \texttt non risulta in neretto…
                            Sbaglio qualcosa?

                            M

                            in risposta a: Grassetto di default per un solo font #66788
                            samiel
                            Partecipante
                              Up
                              0
                              Down
                              ::


                              Così però devo modificare tutti i \texttt…
                              Non c’è modo per reimpostare direttamente il font selezionato?

                              M

                              in risposta a: Invalid vaule 0 con hypersetup #66660
                              samiel
                              Partecipante
                                Up
                                0
                                Down
                                ::


                                Dici che almeno stavolta non è colpa mia?
                                Glisso sul warning?

                                M

                                in risposta a: Invalid vaule 0 con hypersetup #66658
                                samiel
                                Partecipante
                                  Up
                                  0
                                  Down
                                  ::


                                  Vero. Guardando melgio, nel manuale c’era….
                                  Un’altra cosa: la compillazione (sempre con Memoir,
                                  ma stavolta ho letto il manuale a pagina xxix),
                                  mi dice sempre a proposito di hyperref:
                                  `Package hyperref Message: Driver (autodetected): hpdftex.

                                  (/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/hpdftex.def
                                  (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty))

                                  Package hyperref Warning: Option `hyperindex' has already been used,
                                  (hyperref) setting the option has no effect on input line 162.`
                                  Eppure, ho controllato bene, il codice sopra (con la correzione)
                                  è l’unica chiamata…

                                  M

                                Stai visualizzando 15 risposte – dal 1,396 al 1,410 (di 1,864 totali)

                                Go to top