SlideShare uma empresa Scribd logo
1 de 24
Baixar para ler offline
WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode                                 A
                                  Scrivere LTEXcon (X)Emacs
AUCTeX



                                          Emmanuele Somma
                                   emmanuele.somma@bancaditalia.it

                                   Supporto Informatico per l’Area Ricerche
                                                Banca d’Italia


                                            11 Febbraio 2008




             E. Somma (SIA-BdI)             WLE 2008             11/02/2008   1/24
Piano della presentazione

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode
              1   TEX Mode
AUCTeX




              2   A
                  LTEX Mode


              3   AUCTeX




              E. Somma (SIA-BdI)   WLE 2008   11/02/2008   2/24
Emacs! (Chi ` costui)
                         e

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode          Programma ‘libero’ di Richard M. Stallman del progetto
AUCTeX              GNU
                    E (quasi) un sistema operativo
                    Ricompilabile su tutte le piattaforme
                    Contiene un linguaggio ‘intelligente’ (LISP)
                    Permette la creazione di programmi
                    ´
                    E distribuito con molti ‘package’




              E. Somma (SIA-BdI)      WLE 2008          11/02/2008           3/24
XEmacs. . . Emacs per X

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode
             X ` l’interfaccia grafica di Unix
               e
AUCTeX

             Emacs non aveva una interfaccia grafica (ma aveva finestre
             testuali)

             XEmacs ` nata come evoluzione di Emacs in campo grafico e
                     e
             come semplificazione della parte di configurazione (Emacs `
                                                                     e
             molto difficile da configurare. . . bene)




              E. Somma (SIA-BdI)    WLE 2008       11/02/2008            4/24
XEmacs == Emacs != XEmacs

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX       Attualmente Emacs ` molto simile a XEmacs (ha la grafica)
                               e

             Ci sono ancora delle sostanziali differenze (sia a livello
             dell’utente che del programmatore)

             Diventeranno uguali? C’` un progetto. . .
                                    e




             E. Somma (SIA-BdI)      WLE 2008          11/02/2008        5/24
I package per il TEX

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode   tex-mode
AUCTeX

             plain-tex-mode

             latex-mode

             AUCTeX

             yatex




              E. Somma (SIA-BdI)   WLE 2008   11/02/2008   6/24
TEX Mode

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode
             1   TEX Mode
AUCTeX




             2   A
                 LTEX Mode


             3   AUCTeX




             E. Somma (SIA-BdI)   WLE 2008   11/02/2008   7/24
TEX Mode

 WLE 2008

 E. Somma
             Controlla la chiusura di $ e }
TEX Mode     Con ” inserisce “ all’inizio e ” alla fine di una citazione. Dopo
A
L TEX Mode   un  sempre ”
AUCTeX
             C-c C-r esegue TEX sulla regione corrente pi` un preambolo
                                                         u
             preso dall’inizio del file
             C-c C-b per tutto il buffer
             C-c C-f salva il buffer and processa il file
             C-c C-p stampa il .dvi
             C-c C-v visualizza il .dvi
             C-c tab esegue bibtex
             E. Somma (SIA-BdI)       WLE 2008        11/02/2008                8/24
TEX Mode

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode
             C-j (tex-terminate-paragraph) inserisce due newline ed
AUCTeX
             verifica se le ’{’ o i ’$’ sono in equilibrio

             M-x tex-validate-region valida una regione .

             C-c { inserisce ’{}’ e mette il cursore in mezza.

             C-c } si sposta oltre la prossima parentesi graffa chiusa.




             E. Somma (SIA-BdI)     WLE 2008          11/02/2008         9/24
TEX Mode

 WLE 2008

 E. Somma    Sezioni:
TEX Mode     %**start of header
A
L TEX Mode   %**end of header
AUCTeX
             Comandi:
             M-x validate-TeX-buffer
             M-x TeX-terminate-paragraph ( C-j )

             Variabili:
             tex-run-command (usata da C-c C-r/C-c C-b)
             tex-directory (directory dei file temporanei)+
             tex-dvi-print-command ( usata da C-c C-p)
             tex-dvi-view-command ( usata da C-c C-v)
             tex-show-queue-command (usata da C-c C-q)

             E. Somma (SIA-BdI)   WLE 2008       11/02/2008   10/24
TEX Mode

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX
             Agganci:
             text-mode-hook, tex-mode-hook,
             plain-tex-mode-hook

             Menu contestuale (solo Emacs)




             E. Somma (SIA-BdI)   WLE 2008    11/02/2008   11/24
A
             LTEX Mode

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode
             1   TEX Mode
AUCTeX




             2   A
                 LTEX Mode


             3   AUCTeX




             E. Somma (SIA-BdI)   WLE 2008   11/02/2008   12/24
A
             LTEX Mode

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX
             Completamente equivalente al TeX Mode ma usa la variabile
             latex-run-command

             per eseguire la compilazione del file ed usa inoltre l’aggancio
             latex-mode-hook




             E. Somma (SIA-BdI)     WLE 2008          11/02/2008              13/24
AUCTeX

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode
             1   TEX Mode
AUCTeX




             2   A
                 LTEX Mode


             3   AUCTeX




             E. Somma (SIA-BdI)   WLE 2008   11/02/2008   14/24
AUCTeX

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX       Package aggiuntivo ‘free’

             Sostituisce plain-tex-mode e latex-mode

             Molto pi` sofisticato
                     u

             Non c’` sul polo Studi. Sul mio desktop e sul mio portatile s`
                   e                                                      ı.




             E. Somma (SIA-BdI)     WLE 2008          11/02/2008               15/24
AUCTeX

 WLE 2008

 E. Somma

TEX Mode
                                                 A
             Differenti sistemi di menu per TEX e LTEX
A
L TEX Mode

AUCTeX
             Ambiente integrato

             Versione 11.55

             ‘Capisce’ gli errori del tex/latex

             Indenta automaticamente il documento

             Ha molte macro




             E. Somma (SIA-BdI)       WLE 2008      11/02/2008   16/24
AUCTeX

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX
             Se non ` attivato:
                    e
             (require ‘tex-site)

             Configurazione:
             (setq TeX-auto-save t)
             (setq TeX-parse-self t)
             (setq-default TeX-master nil)




             E. Somma (SIA-BdI)   WLE 2008   11/02/2008   17/24
AUCTeX

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX
             Testo colorato secondo sintassi:
             M-x (global-)font-lock-mode

             Indentazione automatica:
             M-x LaTeX-fill-buffer
             M-q
             <TAB>




             E. Somma (SIA-BdI)    WLE 2008     11/02/2008   18/24
AUCTeX: Comandi automatici

 WLE 2008

 E. Somma

TEX Mode     Per inserire comandi di strutturazione (e relative etichette):
A
L TEX Mode
             C-c C-s
AUCTeX

             Per inserire ambienti:
             C-c C-e

             Per cambiare un ambiente:
             C-u C-c C-e

             Inserimento di macro:
             C-c C-m (o C-c RET)




              E. Somma (SIA-BdI)      WLE 2008         11/02/2008             19/24
AUCTeX: Variazione di stile

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX
             Grassetto:
             C-c C-f C-b (textbf mathbf)

             Corsivo:
             C-c C-f C-i ( textit mathit)

             Enfasi: C-c C-f C-e ( emph )




              E. Somma (SIA-BdI)   WLE 2008   11/02/2008   20/24
AUCTeX: Commenti automatici

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode
             Regione
AUCTeX
             C-c ;

             Paragrafo
             C-c %

             Strutturazione
             M-x TeX-fold-mode




              E. Somma (SIA-BdI)   WLE 2008   11/02/2008   21/24
AUCTeX: Generazione dell’output

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX
             A differenza dei modi base AUCTeX completa i cicli di
             ricompilazione dei documenti fino al prodotto definitivo
             C-c C-c generazione output

             Scelta del formato di output (e quindi dei programmi del ciclo):
             C-c C-t C-p DVI ⇔ PDF
             C-c C-t C-i interattivo




              E. Somma (SIA-BdI)    WLE 2008         11/02/2008            22/24
AUCTeX: Generazione dell’output

 WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX       Gestione di due finestre (sorgente ed errori)

             Il salto al primo errore ` automatico (oppure con
                                      e
             C-c <backtick>)

             Eliminare comandi in loop: C-c C-k




              E. Somma (SIA-BdI)    WLE 2008         11/02/2008   23/24
WLE 2008

 E. Somma

TEX Mode
A
L TEX Mode

AUCTeX




                                  Grazie dell’attenzione




             E. Somma (SIA-BdI)         WLE 2008   11/02/2008   24/24

Mais conteúdo relacionado

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Workshop LaTeX con Emacs

  • 1. WLE 2008 E. Somma TEX Mode A L TEX Mode A Scrivere LTEXcon (X)Emacs AUCTeX Emmanuele Somma emmanuele.somma@bancaditalia.it Supporto Informatico per l’Area Ricerche Banca d’Italia 11 Febbraio 2008 E. Somma (SIA-BdI) WLE 2008 11/02/2008 1/24
  • 2. Piano della presentazione WLE 2008 E. Somma TEX Mode A L TEX Mode 1 TEX Mode AUCTeX 2 A LTEX Mode 3 AUCTeX E. Somma (SIA-BdI) WLE 2008 11/02/2008 2/24
  • 3. Emacs! (Chi ` costui) e WLE 2008 E. Somma TEX Mode A L TEX Mode Programma ‘libero’ di Richard M. Stallman del progetto AUCTeX GNU E (quasi) un sistema operativo Ricompilabile su tutte le piattaforme Contiene un linguaggio ‘intelligente’ (LISP) Permette la creazione di programmi ´ E distribuito con molti ‘package’ E. Somma (SIA-BdI) WLE 2008 11/02/2008 3/24
  • 4. XEmacs. . . Emacs per X WLE 2008 E. Somma TEX Mode A L TEX Mode X ` l’interfaccia grafica di Unix e AUCTeX Emacs non aveva una interfaccia grafica (ma aveva finestre testuali) XEmacs ` nata come evoluzione di Emacs in campo grafico e e come semplificazione della parte di configurazione (Emacs ` e molto difficile da configurare. . . bene) E. Somma (SIA-BdI) WLE 2008 11/02/2008 4/24
  • 5. XEmacs == Emacs != XEmacs WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Attualmente Emacs ` molto simile a XEmacs (ha la grafica) e Ci sono ancora delle sostanziali differenze (sia a livello dell’utente che del programmatore) Diventeranno uguali? C’` un progetto. . . e E. Somma (SIA-BdI) WLE 2008 11/02/2008 5/24
  • 6. I package per il TEX WLE 2008 E. Somma TEX Mode A L TEX Mode tex-mode AUCTeX plain-tex-mode latex-mode AUCTeX yatex E. Somma (SIA-BdI) WLE 2008 11/02/2008 6/24
  • 7. TEX Mode WLE 2008 E. Somma TEX Mode A L TEX Mode 1 TEX Mode AUCTeX 2 A LTEX Mode 3 AUCTeX E. Somma (SIA-BdI) WLE 2008 11/02/2008 7/24
  • 8. TEX Mode WLE 2008 E. Somma Controlla la chiusura di $ e } TEX Mode Con ” inserisce “ all’inizio e ” alla fine di una citazione. Dopo A L TEX Mode un sempre ” AUCTeX C-c C-r esegue TEX sulla regione corrente pi` un preambolo u preso dall’inizio del file C-c C-b per tutto il buffer C-c C-f salva il buffer and processa il file C-c C-p stampa il .dvi C-c C-v visualizza il .dvi C-c tab esegue bibtex E. Somma (SIA-BdI) WLE 2008 11/02/2008 8/24
  • 9. TEX Mode WLE 2008 E. Somma TEX Mode A L TEX Mode C-j (tex-terminate-paragraph) inserisce due newline ed AUCTeX verifica se le ’{’ o i ’$’ sono in equilibrio M-x tex-validate-region valida una regione . C-c { inserisce ’{}’ e mette il cursore in mezza. C-c } si sposta oltre la prossima parentesi graffa chiusa. E. Somma (SIA-BdI) WLE 2008 11/02/2008 9/24
  • 10. TEX Mode WLE 2008 E. Somma Sezioni: TEX Mode %**start of header A L TEX Mode %**end of header AUCTeX Comandi: M-x validate-TeX-buffer M-x TeX-terminate-paragraph ( C-j ) Variabili: tex-run-command (usata da C-c C-r/C-c C-b) tex-directory (directory dei file temporanei)+ tex-dvi-print-command ( usata da C-c C-p) tex-dvi-view-command ( usata da C-c C-v) tex-show-queue-command (usata da C-c C-q) E. Somma (SIA-BdI) WLE 2008 11/02/2008 10/24
  • 11. TEX Mode WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Agganci: text-mode-hook, tex-mode-hook, plain-tex-mode-hook Menu contestuale (solo Emacs) E. Somma (SIA-BdI) WLE 2008 11/02/2008 11/24
  • 12. A LTEX Mode WLE 2008 E. Somma TEX Mode A L TEX Mode 1 TEX Mode AUCTeX 2 A LTEX Mode 3 AUCTeX E. Somma (SIA-BdI) WLE 2008 11/02/2008 12/24
  • 13. A LTEX Mode WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Completamente equivalente al TeX Mode ma usa la variabile latex-run-command per eseguire la compilazione del file ed usa inoltre l’aggancio latex-mode-hook E. Somma (SIA-BdI) WLE 2008 11/02/2008 13/24
  • 14. AUCTeX WLE 2008 E. Somma TEX Mode A L TEX Mode 1 TEX Mode AUCTeX 2 A LTEX Mode 3 AUCTeX E. Somma (SIA-BdI) WLE 2008 11/02/2008 14/24
  • 15. AUCTeX WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Package aggiuntivo ‘free’ Sostituisce plain-tex-mode e latex-mode Molto pi` sofisticato u Non c’` sul polo Studi. Sul mio desktop e sul mio portatile s` e ı. E. Somma (SIA-BdI) WLE 2008 11/02/2008 15/24
  • 16. AUCTeX WLE 2008 E. Somma TEX Mode A Differenti sistemi di menu per TEX e LTEX A L TEX Mode AUCTeX Ambiente integrato Versione 11.55 ‘Capisce’ gli errori del tex/latex Indenta automaticamente il documento Ha molte macro E. Somma (SIA-BdI) WLE 2008 11/02/2008 16/24
  • 17. AUCTeX WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Se non ` attivato: e (require ‘tex-site) Configurazione: (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) E. Somma (SIA-BdI) WLE 2008 11/02/2008 17/24
  • 18. AUCTeX WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Testo colorato secondo sintassi: M-x (global-)font-lock-mode Indentazione automatica: M-x LaTeX-fill-buffer M-q <TAB> E. Somma (SIA-BdI) WLE 2008 11/02/2008 18/24
  • 19. AUCTeX: Comandi automatici WLE 2008 E. Somma TEX Mode Per inserire comandi di strutturazione (e relative etichette): A L TEX Mode C-c C-s AUCTeX Per inserire ambienti: C-c C-e Per cambiare un ambiente: C-u C-c C-e Inserimento di macro: C-c C-m (o C-c RET) E. Somma (SIA-BdI) WLE 2008 11/02/2008 19/24
  • 20. AUCTeX: Variazione di stile WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Grassetto: C-c C-f C-b (textbf mathbf) Corsivo: C-c C-f C-i ( textit mathit) Enfasi: C-c C-f C-e ( emph ) E. Somma (SIA-BdI) WLE 2008 11/02/2008 20/24
  • 21. AUCTeX: Commenti automatici WLE 2008 E. Somma TEX Mode A L TEX Mode Regione AUCTeX C-c ; Paragrafo C-c % Strutturazione M-x TeX-fold-mode E. Somma (SIA-BdI) WLE 2008 11/02/2008 21/24
  • 22. AUCTeX: Generazione dell’output WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX A differenza dei modi base AUCTeX completa i cicli di ricompilazione dei documenti fino al prodotto definitivo C-c C-c generazione output Scelta del formato di output (e quindi dei programmi del ciclo): C-c C-t C-p DVI ⇔ PDF C-c C-t C-i interattivo E. Somma (SIA-BdI) WLE 2008 11/02/2008 22/24
  • 23. AUCTeX: Generazione dell’output WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Gestione di due finestre (sorgente ed errori) Il salto al primo errore ` automatico (oppure con e C-c <backtick>) Eliminare comandi in loop: C-c C-k E. Somma (SIA-BdI) WLE 2008 11/02/2008 23/24
  • 24. WLE 2008 E. Somma TEX Mode A L TEX Mode AUCTeX Grazie dell’attenzione E. Somma (SIA-BdI) WLE 2008 11/02/2008 24/24