samiel

Risposte nei forum create

Stai visualizzando 15 risposte – dal 1,156 al 1,170 (di 1,866 totali)
  • Autore
    Risposte
  • in risposta a: indicazione note fra tonde #86655
    samiel
    Partecipante
      Up
      0
      Down
      ::


      Però footbib è imcompatibile con biblatex.
      Ma mi è sorto un problema più radicale:
      la relatrice di questa amica laureanda
      vuole nelle note la citazione intera del testo:

      come afferma Mario Rossi (7)
      NOTE A PIÈ DI PAGINA
      Mario Rossi, Storia della maionese, Milano, Mondadori, 2007, 235

      perché «gli scienziati del diritto no citano all’americana».
      A questo punto pensavo di consigliarle di usare semplicemente
      l’ambiente \begin{thebibliography}
      Il problema delle nota riguarda tutte le note a piè di pagina

      m

      in risposta a: Ancora su filigrana ed eso-pic #86565
      samiel
      Partecipante
        Up
        0
        Down
        ::


        Ho tentato con
        `\newwatermark[firstpage]{\includegraphics[width=\textwidth]{logo}}`
        ma non mi stampa nulla… Può dipendere dal fatto che il documento
        è diviso in frontmatter ecc ecc?

        m

        in risposta a: Ancora su filigrana ed eso-pic #86564
        samiel
        Partecipante
          Up
          0
          Down
          ::


          Ah, xwatermark!
          Io ero fermo a watermark che peò è in grado di includere,
          se non erro, solo scritte e non grafica in filigrana.
          Ora provo il pacchetto che mi segnali, anche se vorrei capire
          le ragioni di questa anomalia

          grazie
          m

          PS
          certo, la guida a colori non è proprio il massimo
          di eleganza 🙂

          in risposta a: errore Biblatex #85942
          samiel
          Partecipante
            Up
            0
            Down
            ::


            Ho risolto con questo codice:
            `%%% bibliografia
            %\usepackage[babel]{csquotes}
            %\usepackage[style=authoryear-comp]{biblatex}
            \usepackage[style=philosophy-modern,scauthors=true]{biblatex}
            \usepackage[babel,italian=guillemets]{csquotes}
            \addbibresource{bibliografia.bib}
            \DeclareFieldFormat[article]{title}{\mkbibemph{#1}} % in corsivo tutti i titoli
            \DeclareFieldFormat[incollection]{title}{\mkbibemph{#1}} % in corsivo tutti i titoli
            \DeclareFieldFormat[inproceedings]{title}{\mkbibemph{#1}} % in corsivo tutti i titoli
            \DeclareFieldFormat{journaltitle}{\mkbibquote{#1}} % riviste tra virgolette caporali
            \DeclareFieldFormat{issuetitle}{\mkbibquote{#1}} % riviste tra virgolette caporali
            \DeclareFieldFormat[article]{usera}{\mkbibemph{#1}}

            \renewbibmacro*{periodical}{%
            \iffieldundef{title}
            {}
            {\setunit{\addcomma\space}\printtext[title]{%
            \printfield[titlecase]{title}%
            \midsentence%
            \setunit{\subtitlepunct}%
            \printfield[titlecase]{subtitle}}}}

            \nocite{*}`
            Paraltro, delle vecchie impostazioni di philosophy-modern
            non ho dovuto toccare nulla. Biber non l’ho precisato
            perché ormai è il default. QUanto all’editor, io uso Kate
            e compilo da console, per cui il problema dell’impostazione
            dell’editor non sussiste…

            M
            stesso

            in risposta a: errore Biblatex #85939
            samiel
            Partecipante
              Up
              0
              Down
              ::


              Avevo già provato quell’opzione, ma inserendola:
              `(/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/blx-compat.def)
              (/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/biblatex.def)
              (/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-mo
              dern.bbx
              (/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-cl
              assic.bbx
              (/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/bbx/authoryear.bbx
              (/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
              (/usr/local/texlive/2012/texmf-dist/tex/latex/biblatex-philosophy/philosophy-st
              andard.bbx
              ! Undefined control sequence.
              l.1398 \DeclareStyleSourcemap
              {
              ? `
              E poi non dovrebbe usare biber di default?
              Perché tornare a biblatex come backend?

              m

              PS
              No, il relatore non ha affatto più di ottent’anni,
              ma nella sua idea in tal modo e con tale denominazione
              non si pretende che uno abbia letto tutto quello
              che cita in bibliografia. Se il vostro sconcerto aumenta,
              beh, avete ragione…

              in risposta a: Problema con un comando con numero variabile di argomenti #84658
              samiel
              Partecipante
                Up
                0
                Down
                ::

                OldClaudio” post=84901 sul tuo Linux possono starci entrambe; quella vera per lavorare; quella Debian per soddisfare le dipendneze degli altri pacchetti Debian.

                Com’è stato detto più volte anche in questo forum,
                basta ricorrere ad equivs per non installare la versione Debian
                e soddisfare comunque le dipendenze senza occupare spazio

                m

                in risposta a: Problemi con un pacchetto e altro #85401
                samiel
                Partecipante
                  Up
                  0
                  Down
                  ::


                  Io su Linux avevo file in UTF8 e in iso-8859-1
                  Ora, non mi è stato sufficiente modificare la dizione della codifica,
                  ma appunto per non avere i famigerati quadratini al posto delle lettere accentate,
                  ho dovuto ricodificare i file da iso-8859-1 a UTF8 con iconv

                  m

                  in risposta a: Xelatex e listings #85319
                  samiel
                  Partecipante
                    Up
                    0
                    Down
                    ::


                    Sì, ma in rete ci sono appunto tentativi di “mettere delle pezze”…
                    Che non funzionano poi tanto bene.
                    In una pagina che ho trovato c’è una serie di tentativi
                    di rendere possibil i segni per lingue varie:
                    http://stackoverflow.com/questions/1116266/listings-in-latex-with-utf-8-or-at-least-german-umlauts

                    m

                    in risposta a: Xelatex e listings #85317
                    samiel
                    Partecipante
                      Up
                      0
                      Down
                      ::


                      Nuovo esperimento
                      `\documentclass[a4paper]{article}
                      \usepackage{fontspec}
                      \usepackage{polyglossia}
                      \setmainlanguage{italian}
                      \setotherlanguage[variant=polytonic]{greek}
                      %\setmainfont{UMTypewriter-Regular.otf}
                      \setmainfont[Ligatures=TeX]{DejaVu Serif}
                      \newfontfamily\greekfont[Scale=MatchLowercase]{UMTypewriter-Regular.otf}
                      \usepackage[listings,theorems,skins,breakable]{tcolorbox}
                      \tcbuselibrary{listingsutf8}
                      \tcbset{listing utf8=latin1}

                      \begin{document}

                      Testo in carattere normale (nella fattispecie, DejaVu Serif)
                      \medskip

                      Ora testo greco in una box (no listings):

                      \begin{tcolorbox}[colback=yellow!10!white,colframe=red!75!black,title=Testo greco]
                      \begin{greek}
                      Κώνωψ πρὸς λέοντα ἐλθὼν εἶπεν· οὔτε φοβοῦμαί σε οὔτε δυνατώτερός μου εἶ· εἰ δὲ
                      μή, τίς σοί ἐστιν ἡ δύναμις; ὅτι ξύεις τοῖς ὄνυξι καὶ δάκνεις τοῖς ὀδοῦσι;
                      τοῦτο καὶ γυνὴ τῷ ἀνδρὶ μαχομένη ποιεῖ. ἐγὼ δὲ λίαν ὑπάρχω σου ἰσχυρότερος. εἰ
                      δὲ θέλεις, ἔλθωμεν καὶ εἰς πόλεμον. καὶ σαλπίσας ὁ κώνωψ ἐνεπήγετο δάκνων τὰ
                      περὶ τὰς ῥῖνας αὐτοῦ ἄτριχα πρόσωπα. ὁ δὲ λέων τοῖς ἰδίοις ὄνυξι κατέλυεν
                      ἑαυτὸν, ἕως οὗ ἠγανάκτησεν. ὁ δὲ κώνωψ νικήσας τὸν λέοντα καὶ σαλπίσας καὶ
                      ἐπινίκιον ᾄσας ἔπτατο. ἀράχνης δὲ δεσμῷ ἐμπλακείς, ἐσθιόμενος ἀπωδύρετο, ὅτι
                      μεγίστοις πολεμῶν ὑπ' εὐτελοῦς ζῴου, τῆς ἀράχνης, ἀπώλετο.
                      \end{greek}
                      \end{tcolorbox}
                      \medskip

                      \begin{tcolorbox}[colback=yellow!10!white,colframe=red!75!black,title=Accenti eccetera]
                      testo normale in minuscolo. Quel ramo del lago di Como

                      Ora testo in una box (no listings):
                      \medskip

                      VIRGOLETTE E TRATTINI

                      `apotropi', “apotropi'' trattino medio: — trattino lungo: —
                      \medskip

                      ACCENTI

                      à è é ì ò ù À È É Ì Ò Ù
                      \medskip

                      LETTERE SPECIALI

                      ni{\~n}o, façon, bénédiction, Sch\”{o}nbrunn,
                      Stra{\ss}e, Kru{\v s}{\v c}ëv,
                      Woiti{\l}a

                      façon Schönbrunn Galiläa Straße Kruščëv

                      \end{tcolorbox}
                      \medskip

                      Ora un frammento di codice XML:

                      \begin{tcblisting}{colback=yellow!5,colframe=yellow!50!black,listing only,
                      title=This is source code in another language (XML), fonttitle=\bfseries,
                      listing options={language=XML,columns=fullflexible,basicstyle=\ttfamily\,keywordstyle=\color{red}}}

                      Apache Ant build file (http://ant.apache.org/)

                      testo normale in lettere minuscole — OPPURE MAIUSCOLE

                      VIRGOLETTE E TRATTINI

                      `apotropi', “apotropi'' trattino medio: — trattino lungo: —

                      ACCENTI

                      à è é ì ò ù À È É Ì Ò Ù

                      LETTERE SPECIALI

                      ni{\~n}o, façon, bénédiction, Sch\”{o}nbrunn,
                      Stra{\ss}e, Kru{\v s}{\v c}ëv,
                      Woiti{\l}a

                      façon Schönbrunn Galiläa Straße Kruščëv
                      \end{tcblisting}
                      \medskip

                      E ora in teoria un frammento di codice in greco (sì listings):

                      \begin{tcblisting}{colback=yellow!5,colframe=yellow!50!black,listing only,
                      title=This is source code in another language (GREEK ??), fonttitle=\bfseries,
                      listing options={columns=flexible,keepspaces,keywordstyle=\color{red}}}
                      Κώνωψ πρὸς λέοντα ἐλθὼν εἶπεν·
                      οὔτε φοβοῦμαί σε οὔτε δυνατώτερός μου εἶ·
                      εἰ δὲ μή, τίς σοί ἐστιν ἡ δύναμις;
                      ὅτι ξύεις τοῖς ὄνυξι καὶ δάκνεις τοῖς ὀδοῦσι;
                      τοῦτο καὶ γυνὴ τῷ ἀνδρὶ μαχομένη ποιεῖ.
                      \end{tcblisting}

                      \end{document}`
                      Cose che non funzionano:
                      – le lettere šč appaiono del tutto fuori posto
                      – a volte appare il carattere per evidenziare lo spazio (␣), altre volte no, non capisco perché
                      – il greco in listing è rovinoso…

                      m

                      in risposta a: Xelatex e listings #85316
                      samiel
                      Partecipante
                        Up
                        0
                        Down
                        ::


                        Tralascia per un momento listings. Nel codice sopra che non funzionava
                        c’erano solo le “scatole” di tcolorbox. Ora, considera uno scenario del tutto analogo:
                        `\documentclass[a4paper]{article}
                        \usepackage{fontspec}
                        \usepackage{polyglossia}
                        \setmainlanguage{italian}
                        \setotherlanguage[variant=polytonic]{greek}
                        %\setmainfont{UMTypewriter-Regular.otf}
                        \setmainfont{DejaVu Serif}
                        \newfontfamily\greekfont[Scale=MatchLowercase]{UMTypewriter-Regular.otf}
                        \usepackage[skins,breakable]{tcolorbox}

                        \begin{document}

                        Testo in carattere normale (nella fattispecie, DejaVu)

                        Ora testo greco:

                        \begin{tcolorbox}[colback=yellow!10!white,colframe=red!75!black,title=Testo greco]
                        \begin{greek}
                        Κώνωψ πρὸς λέοντα ἐλθὼν εἶπεν· οὔτε φοβοῦμαί σε οὔτε δυνατώτερός μου εἶ· εἰ δὲ
                        μή, τίς σοί ἐστιν ἡ δύναμις; ὅτι ξύεις τοῖς ὄνυξι καὶ δάκνεις τοῖς ὀδοῦσι;
                        τοῦτο καὶ γυνὴ τῷ ἀνδρὶ μαχομένη ποιεῖ. ἐγὼ δὲ λίαν ὑπάρχω σου ἰσχυρότερος. εἰ
                        δὲ θέλεις, ἔλθωμεν καὶ εἰς πόλεμον. καὶ σαλπίσας ὁ κώνωψ ἐνεπήγετο δάκνων τὰ
                        περὶ τὰς ῥῖνας αὐτοῦ ἄτριχα πρόσωπα. ὁ δὲ λέων τοῖς ἰδίοις ὄνυξι κατέλυεν
                        ἑαυτὸν, ἕως οὗ ἠγανάκτησεν. ὁ δὲ κώνωψ νικήσας τὸν λέοντα καὶ σαλπίσας καὶ
                        ἐπινίκιον ᾄσας ἔπτατο. ἀράχνης δὲ δεσμῷ ἐμπλακείς, ἐσθιόμενος ἀπωδύρετο, ὅτι
                        μεγίστοις πολεμῶν ὑπ' εὐτελοῦς ζῴου, τῆς ἀράχνης, ἀπώλετο.
                        \end{greek}
                        \end{tcolorbox}

                        \end{document}`
                        Avevo indicato male i font. Qui infatti ho il testo normale in DejaVu Serif
                        e il greco monospaziato. La soluzione funziona e infatti prodice il risultato desiderato.

                        Per quanto sia del tutto improbabile avere un codice tutto in greco,
                        una soluzione di questo tipo, evidentemente errata, produce un risultato singolere:
                        `\documentclass[a4paper]{article}
                        \usepackage{fontspec}
                        \usepackage{polyglossia}
                        \setmainlanguage{italian}
                        \setotherlanguage[variant=polytonic]{greek}
                        \setmainfont{DejaVu Serif}
                        \newfontfamily\greekfont[Scale=MatchLowercase]{UMTypewriter-Regular.otf}
                        \usepackage[listings,theorems,skins,breakable]{tcolorbox}
                        \tcbuselibrary{listingsutf8}
                        \tcbset{listing utf8=latin1}

                        \begin{document}

                        Testo in carattere normale (nella fattispecie, DejaVu)

                        Ora testo greco:

                        \begin{tcolorbox}[colback=yellow!10!white,colframe=red!75!black,title=Testo greco]
                        \begin{greek}
                        Κώνωψ πρὸς λέοντα ἐλθὼν εἶπεν· οὔτε φοβοῦμαί σε οὔτε δυνατώτερός μου εἶ· εἰ δὲ
                        μή, τίς σοί ἐστιν ἡ δύναμις; ὅτι ξύεις τοῖς ὄνυξι καὶ δάκνεις τοῖς ὀδοῦσι;
                        τοῦτο καὶ γυνὴ τῷ ἀνδρὶ μαχομένη ποιεῖ. ἐγὼ δὲ λίαν ὑπάρχω σου ἰσχυρότερος. εἰ
                        δὲ θέλεις, ἔλθωμεν καὶ εἰς πόλεμον. καὶ σαλπίσας ὁ κώνωψ ἐνεπήγετο δάκνων τὰ
                        περὶ τὰς ῥῖνας αὐτοῦ ἄτριχα πρόσωπα. ὁ δὲ λέων τοῖς ἰδίοις ὄνυξι κατέλυεν
                        ἑαυτὸν, ἕως οὗ ἠγανάκτησεν. ὁ δὲ κώνωψ νικήσας τὸν λέοντα καὶ σαλπίσας καὶ
                        ἐπινίκιον ᾄσας ἔπτατο. ἀράχνης δὲ δεσμῷ ἐμπλακείς, ἐσθιόμενος ἀπωδύρετο, ὅτι
                        μεγίστοις πολεμῶν ὑπ' εὐτελοῦς ζῴου, τῆς ἀράχνης, ἀπώλετο.
                        \end{greek}
                        \end{tcolorbox}

                        \begin{tcblisting}{colback=yellow!5,colframe=yellow!50!black,listing only,
                        title=This is source code in another language (XML), fonttitle=\bfseries,
                        listing options={language=XML,columns=fullflexible,basicstyle=\ttfamily\,keywordstyle=\color{red}}}

                        Apache Ant build file (http://ant.apache.org/)
                        \end{tcblisting}

                        \begin{tcblisting}{colback=yellow!5,colframe=yellow!50!black,listing only,
                        title=This is source code in another language (GREEK ??), fonttitle=\bfseries,
                        listing options={columns=fullflexible,keywordstyle=\color{red}}}
                        Κώνωψ πρὸς λέοντα ἐλθὼν εἶπεν· οὔτε φοβοῦμαί σε οὔτε δυνατώτερός μου εἶ· εἰ δὲ
                        μή, τίς σοί ἐστιν ἡ δύναμις; ὅτι ξύεις τοῖς ὄνυξι καὶ δάκνεις τοῖς ὀδοῦσι;
                        τοῦτο καὶ γυνὴ τῷ ἀνδρὶ μαχομένη ποιεῖ.
                        \end{tcblisting}

                        \end{document}`
                        Sistemato anche questo, vorre capire come integrare le colorbox con l’evidenziazione
                        della sintassi di listings

                        m

                        in risposta a: Xelatex e listings #85314
                        samiel
                        Partecipante
                          Up
                          0
                          Down
                          ::


                          Vedi adesso:
                          `\documentclass[a4paper]{article}
                          \usepackage{fontspec}
                          \usepackage{polyglossia}
                          \setmainlanguage{italian}
                          \setotherlanguage[variant=polytonic]{greek}
                          %\setmainfont{UMTypewriter-Regular.otf}
                          %\setmainfont{DejaVu Sans Mono}
                          \newfontfamily\greekfont[Scale=MatchLowercase]{UMTypewriter-Regular.otf}
                          \usepackage[listings,theorems,skins,breakable]{tcolorbox}
                          \tcbuselibrary{listingsutf8}
                          \tcbset{listing utf8=latin1}% optional; ’latin1’ is the default.

                          \begin{document}

                          \begin{tcblisting}{colback=yellow!5,colframe=yellow!50!black,listing only,
                          title=This is source code in another language (XML), fonttitle=\bfseries,
                          listing options={language=XML,columns=fullflexible,basicstyle=\ttfamily\,keywordstyle=\color{red}}}

                          Apache Ant build file (http://ant.apache.org/)
                          \end{tcblisting}

                          \begin{tcolorbox}[colback=red!5!white,colframe=red!75!black]
                          My box.
                          \end{tcolorbox}

                          \begin{tcolorbox}[colback=yellow!5!white,colframe=yellow!75!black,title=My title]
                          I can do this also with a title.
                          \tcblower
                          Lower part of my box. Schloß Woitiła Søren Böse
                          \end{tcolorbox}

                          \begin{tcolorbox}[colback=yellow!10!white,colframe=red!75!black,title=Here I am]
                          \begin{greek}
                          Κώνωψ πρὸς λέοντα ἐλθὼν εἶπεν· οὔτε φοβοῦμαί σε
                          οὔτε δυνατώτερός μου εἶ· εἰ δὲ μή, τίς σοί ἐστιν ἡ δύναμις; ὅτι ξύεις τοῖς
                          ὄνυξι καὶ δάκνεις τοῖς ὀδοῦσι; τοῦτο καὶ γυνὴ τῷ ἀνδρὶ μαχομένη ποιεῖ. ἐγὼ δὲ
                          λίαν ὑπάρχω σου ἰσχυρότερος. εἰ δὲ θέλεις, ἔλθωμεν καὶ εἰς πόλεμον. καὶ
                          σαλπίσας ὁ κώνωψ ἐνεπήγετο δάκνων τὰ περὶ τὰς ῥῖνας αὐτοῦ ἄτριχα πρόσωπα. ὁ δὲ
                          λέων τοῖς ἰδίοις ὄνυξι κατέλυεν ἑαυτὸν, ἕως οὗ ἠγανάκτησεν. ὁ δὲ κώνωψ νικήσας
                          τὸν λέοντα καὶ σαλπίσας καὶ ἐπινίκιον ᾄσας ἔπτατο. ἀράχνης δὲ δεσμῷ ἐμπλακείς,
                          ἐσθιόμενος ἀπωδύρετο, ὅτι μεγίστοις πολεμῶν ὑπ' εὐτελοῦς ζῴου, τῆς ἀράχνης,
                          ἀπώλετο.
                          \end{greek}
                          \end{tcolorbox}

                          \tcbset{colback=red!5!white,colframe=red!75!black}
                          \begin{tcolorbox}[arc=0mm]
                          Città benché caffè più però
                          \end{tcolorbox}

                          \end{document}`

                          m

                          in risposta a: Xelatex e listings #85313
                          samiel
                          Partecipante
                            Up
                            0
                            Down
                            ::


                            Ma infatti in questa prova intendevo semplicemente rendere
                            l’interno della box in monospaziato. Nel frattempo sto sperimentando codici listings.
                            Qui il problema è: perché impostando tutto in UMTypewriterla compilazioen va a buon fine,
                            mentre specificando un font diverso per il testo “normale” e per il greco
                            ottengo quell’errore?

                            m

                            in risposta a: Xelatex e listings #85311
                            samiel
                            Partecipante
                              Up
                              0
                              Down
                              ::


                              Conquesto codice
                              `\documentclass[a4paper]{article}
                              \usepackage{fontspec}
                              \usepackage{polyglossia}
                              \setmainlanguage{italian}
                              \setotherlanguage[variant=polytonic]{greek}
                              \setmainfont{UMTypewriter-Regular.otf}
                              %\setmainfont{DejaVu Sans Mono}
                              %\newfontfamily\greekfont[Scale=MatchLowercase]{UMTypewriter-Regular.otf}
                              \usepackage[listings,theorems,skins,breakable]{tcolorbox}

                              \begin{document}

                              \begin{tcolorbox}[colback=red!5!white,colframe=red!75!black]
                              My box.
                              \end{tcolorbox}

                              \begin{tcolorbox}[colback=yellow!5!white,colframe=yellow!75!black,title=My title]
                              I can do this also with a title.
                              \tcblower
                              Lower part of my box. Schloß Woitiła Søren Böse
                              \end{tcolorbox}

                              \begin{tcolorbox}[colback=yellow!10!white,colframe=red!75!black,title=Here I am]
                              \begin{greek}
                              Κώνωψ πρὸς λέοντα ἐλθὼν εἶπεν· οὔτε φοβοῦμαί σε
                              οὔτε δυνατώτερός μου εἶ· εἰ δὲ μή, τίς σοί ἐστιν ἡ δύναμις; ὅτι ξύεις τοῖς
                              ὄνυξι καὶ δάκνεις τοῖς ὀδοῦσι; τοῦτο καὶ γυνὴ τῷ ἀνδρὶ μαχομένη ποιεῖ. ἐγὼ δὲ
                              λίαν ὑπάρχω σου ἰσχυρότερος. εἰ δὲ θέλεις, ἔλθωμεν καὶ εἰς πόλεμον. καὶ
                              σαλπίσας ὁ κώνωψ ἐνεπήγετο δάκνων τὰ περὶ τὰς ῥῖνας αὐτοῦ ἄτριχα πρόσωπα. ὁ δὲ
                              λέων τοῖς ἰδίοις ὄνυξι κατέλυεν ἑαυτὸν, ἕως οὗ ἠγανάκτησεν. ὁ δὲ κώνωψ νικήσας
                              τὸν λέοντα καὶ σαλπίσας καὶ ἐπινίκιον ᾄσας ἔπτατο. ἀράχνης δὲ δεσμῷ ἐμπλακείς,
                              ἐσθιόμενος ἀπωδύρετο, ὅτι μεγίστοις πολεμῶν ὑπ' εὐτελοῦς ζῴου, τῆς ἀράχνης,
                              ἀπώλετο.
                              \end{greek}
                              \end{tcolorbox}

                              \tcbset{colback=red!5!white,colframe=red!75!black}
                              \begin{tcolorbox}[arc=0mm]
                              Città benché caffè più però
                              \end{tcolorbox}

                              \end{document}`
                              tutto risulta in monospaziato. Se invece metto
                              `%\setmainfont{UMTypewriter-Regular.otf}
                              \setmainfont{DejaVu Sans Mono}
                              \newfontfamily\greekfont[Scale=MatchLowercase]{UMTypewriter-Regular.otf}`
                              ottengo errore:
                              `ABD: EveryShipout initializing macros [1] (./tcolorbox.aux)
                              ** WARNING ** Obsolete four arguments of “endchar” will be used for Type 1 “seac” operator.
                              ** ERROR ** This font using the “seac” command for accented characters…

                              Output file removed.
                              )
                              Error 256 (driver return code) generating output;
                              file tcolorbox.pdf may not be valid.
                              Transcript written on tcolorbox.log.`
                              Risolto questo, poi prova a differenziare solo i listati
                              mettendoli in monospaziato con un testo normale in un font proporzionale.
                              Ultimo passaggio: la combinazione con listings
                              per avere l’evidenziazione della sintatti. Procedo per trials and errors 🙂

                              m

                              in risposta a: Xelatex e listings #85310
                              samiel
                              Partecipante
                                Up
                                0
                                Down
                                ::


                                Ah, che stupido, io parlave dell’editor…

                                Giusto, il codice va in tt.
                                Poi c’à la questione dell’evidenziazione della sintassi,
                                una delle specialità di listings. Adesso vedo anche
                                che “combinazioni” si possono fare inserendo listati
                                di codice con listings nelle “scatole” di tcolorbox

                                m

                                in risposta a: Xelatex e listings #85308
                                samiel
                                Partecipante
                                  Up
                                  0
                                  Down
                                  ::


                                  `Bisogna far comparire il greco in teletype.`
                                  Il testo è redatto in DejaVu Sans. Non ho capito bene però cosa intendi…

                                  m

                                Stai visualizzando 15 risposte – dal 1,156 al 1,170 (di 1,866 totali)

                                Go to top▲