SlideShare uma empresa Scribd logo
1 de 32
 
Co to jest TeX? Profesjonalny system do składania tekstów Nazwa  pochodzi od greckiego  - „sztuka”.
Skąd wziął się TeX? Kiedy to było? Z niezadowolenia Donalda E. Knutha... W latach siedemdziesiątych Ciekawostka: numery wersji TeXa zbiegają do liczby  a jego obecna   wersja to 3.14159
–  zbiór poleceń, makrodefinicji i makr do TeXa, stworzony przez Lesliego Lamporta
Polecenia: polecenie [ argumenty opcjonalne ]{ argument } znak Znaki specjalne (takie jak  % ,  $ ,  { ,  } ) Składnia
ocumentclass[ 12pt, a4 ]{ article } egin{ document } Witaj apos;swiecie! nd{ document } Podstawowa struktura dokumentu –  czyli „Witaj świecie” w TeXu Preambuła Dokument główny
Polskie literki: sepackage[ polish ]{ babel } Kompilowanie: latex   nazwa.tex Powstanie (między innymi): nazwa.dvi Generowanie pdf: dvipdfm   nazwa.dvi Generowanie ps: dvips   nazwa.dvi Lub prościej: pdflatex  nazwa.tex Powstanie  nazwa.pdf Porady ź ” z ż ” r ł ” l ó ” o ś ” s ą ” a
[ options ] ,[object Object],[object Object],[object Object],[object Object],[object Object],ocumentclass ,[object Object],[object Object],{ classname } Preambuła Klasy dokumentów
Białe znaki (spacje) i tabulacje są traktowane przez jako pojedynczy odstęp Wymuszenie wstawienia spacji: Znaki specjalne (są elementami składni  a ): $ & % # _ { } ~ ^ Znaki specjalne
%   Komentarz    lub   ewline   przejście do nowego wiersza  obreak zakazanie łamania wiersza ewpage   przejście do nowej strony wyraz1 ~ wyraz2  twarda spacja Edycja tekstu
Rozmiar czcionki
Odstępy między liniami: mallskip   %   szerokość   ¼ linii edskip   %   szerokość   ½ linii igskip   %   szerokość   1 linii Odstępy między liniami space{ 10pt }   % odstęp 10 pktów
extup{ Witaj swiecie! } extit{ Witaj swiecie! } extsl{ Witaj swiecie! } extsc{ Witaj swiecie! } extmd{ Witaj swiecie! } extbf{ Witaj swiecie! } extrm{ Witaj swiecie! } extsf{ Witaj swiecie! } exttt{ Witaj swiecie! } Czcionki
arshape  n wcięcie 1  długość 1 ...  wcięcie n  długość n Formatowanie tekstu oindent  bez wcięć
f  Style  t  Style  m  Style  l  Style  t  Style  Formatowanie tekstu
Wyrównywanie tekstu egin{ flushleft } To jest wyrapos;ownane   do lewej strony nd{ flushleft } egin{ flushright } To jest tekst  wyrapos;ownany do prawej nd{ flushright } egin{ center } A to jest tekst   wyapos;srodkowany nd{ center }
Przenoszenie wyrazów Definiowanie zasad przenoszenia wyrazów: yphenation{ ćwierć-litrów-ka ku-ku-ruź-nik } box{ Tegoniemożnaprzenosić }
Tytuł itle{ aTeX - prezentacja } author{ mgr Rafał Wawrzyńczyk } ate{ oday } ... egin{ document } aketitle tekst dokumentu ... nd{ document }
egin{ enumerate } tem  Witaj apos;swiecie! egin{ enumerate } tem  Witaj drugi apos;swiecie! egin{ itemize } tem  Witaj trzeci apos;swiecie! nd{ itemize } tem  Witaj ... nd{ enumerate } nd{ enumerate } Wyliczenia
Sekcja: ection{ tytuł_sekcji } Podsekcja: ubsection{ tytuł } Przypis: ootnote{ treść } Spis treści: akeatother ableofcontents{} Podział logiczny tekstu
Tworzenie: egin{ thebibliography } ibitem { nazwa }   autor, wydawnictwo ... nd{ thebibliography } Bibliografia Cytowanie: ite{ nazwa } Uwaga: Konieczna dwuprzebiegowa kompilacja!
egin{ tabular }{ opis kolumn } line Nazwisko  &  Funkcja  &  Ocena z ZPP  &  Zesp”o”l   line line mgr Wawrzy”nczyk  &  Kierownik  &  5,5  &  Sumery   line{ 1 - 3 }  % w nawiasach numery kolumn ... nd{ tabular } Na przykład: { |||l|| p{1.5in}|c|||l| } Tabele Podpis tabeli: aption{ nazwa_tabeli }
sepackage{ graphicx } egin { document } egin{ figure } egin{ center } A teraz rysunek: ncludegraphics{ nazwa.eps } nd{ center } nd{ figure } Osadzanie grafiki
$  wyrażenie  $ Przykład: $ x^{n} + y^{n} = z^{n} $ Prosty tryb matematyczny
Symbole matematyczne
egin{ equation } e^{ii}+1=0 abel{ wzorSiekluckiego } nd{ equation } Odnośnik: ef{ wzorSiekluckiego } Eksponowany tryb matematyczny
Definiowanie: ewenvironment{ nazwa_środowiska } {egin{ flushright } f t c }{nd{ flushright }} Używanie: egin{ nazwa_środowiska }   Tekst  nd{ nazwa_środowiska } Środowiska
Makra Definicja przykładowego makra: ef argines #1 #2 #3 {space{ #1 }   arginpar{ #2 #3 }} Użycie: argines  { 15pt }   { f }   { To jest przypis na marginesie } Notka na marginesie: arginpar{ Tekst notki }
Dołączanie pakietów: sepackage[ opcje ]{ nazwa_pakietu } Pakiety ,[object Object],[object Object],[object Object],[object Object]
Narzędzia
LaTeX – za i przeciw ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linki  Linki: http://www.gust.org.pl http://www.astro.ku.dk/help/LaTeX http://www.lyx.org http://www.texmacs.org

Mais conteúdo relacionado

Destaque

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
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destaque (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Latex

  • 1.  
  • 2. Co to jest TeX? Profesjonalny system do składania tekstów Nazwa pochodzi od greckiego - „sztuka”.
  • 3. Skąd wziął się TeX? Kiedy to było? Z niezadowolenia Donalda E. Knutha... W latach siedemdziesiątych Ciekawostka: numery wersji TeXa zbiegają do liczby a jego obecna wersja to 3.14159
  • 4. – zbiór poleceń, makrodefinicji i makr do TeXa, stworzony przez Lesliego Lamporta
  • 5. Polecenia: polecenie [ argumenty opcjonalne ]{ argument } znak Znaki specjalne (takie jak % , $ , { , } ) Składnia
  • 6. ocumentclass[ 12pt, a4 ]{ article } egin{ document } Witaj apos;swiecie! nd{ document } Podstawowa struktura dokumentu – czyli „Witaj świecie” w TeXu Preambuła Dokument główny
  • 7. Polskie literki: sepackage[ polish ]{ babel } Kompilowanie: latex nazwa.tex Powstanie (między innymi): nazwa.dvi Generowanie pdf: dvipdfm nazwa.dvi Generowanie ps: dvips nazwa.dvi Lub prościej: pdflatex nazwa.tex Powstanie nazwa.pdf Porady ź ” z ż ” r ł ” l ó ” o ś ” s ą ” a
  • 8.
  • 9. Białe znaki (spacje) i tabulacje są traktowane przez jako pojedynczy odstęp Wymuszenie wstawienia spacji: Znaki specjalne (są elementami składni a ): $ & % # _ { } ~ ^ Znaki specjalne
  • 10. % Komentarz lub ewline przejście do nowego wiersza obreak zakazanie łamania wiersza ewpage przejście do nowej strony wyraz1 ~ wyraz2 twarda spacja Edycja tekstu
  • 12. Odstępy między liniami: mallskip % szerokość ¼ linii edskip % szerokość ½ linii igskip % szerokość 1 linii Odstępy między liniami space{ 10pt } % odstęp 10 pktów
  • 13. extup{ Witaj swiecie! } extit{ Witaj swiecie! } extsl{ Witaj swiecie! } extsc{ Witaj swiecie! } extmd{ Witaj swiecie! } extbf{ Witaj swiecie! } extrm{ Witaj swiecie! } extsf{ Witaj swiecie! } exttt{ Witaj swiecie! } Czcionki
  • 14. arshape n wcięcie 1 długość 1 ... wcięcie n długość n Formatowanie tekstu oindent bez wcięć
  • 15. f Style t Style m Style l Style t Style Formatowanie tekstu
  • 16. Wyrównywanie tekstu egin{ flushleft } To jest wyrapos;ownane do lewej strony nd{ flushleft } egin{ flushright } To jest tekst wyrapos;ownany do prawej nd{ flushright } egin{ center } A to jest tekst wyapos;srodkowany nd{ center }
  • 17. Przenoszenie wyrazów Definiowanie zasad przenoszenia wyrazów: yphenation{ ćwierć-litrów-ka ku-ku-ruź-nik } box{ Tegoniemożnaprzenosić }
  • 18. Tytuł itle{ aTeX - prezentacja } author{ mgr Rafał Wawrzyńczyk } ate{ oday } ... egin{ document } aketitle tekst dokumentu ... nd{ document }
  • 19. egin{ enumerate } tem Witaj apos;swiecie! egin{ enumerate } tem Witaj drugi apos;swiecie! egin{ itemize } tem Witaj trzeci apos;swiecie! nd{ itemize } tem Witaj ... nd{ enumerate } nd{ enumerate } Wyliczenia
  • 20. Sekcja: ection{ tytuł_sekcji } Podsekcja: ubsection{ tytuł } Przypis: ootnote{ treść } Spis treści: akeatother ableofcontents{} Podział logiczny tekstu
  • 21. Tworzenie: egin{ thebibliography } ibitem { nazwa } autor, wydawnictwo ... nd{ thebibliography } Bibliografia Cytowanie: ite{ nazwa } Uwaga: Konieczna dwuprzebiegowa kompilacja!
  • 22. egin{ tabular }{ opis kolumn } line Nazwisko & Funkcja & Ocena z ZPP & Zesp”o”l line line mgr Wawrzy”nczyk & Kierownik & 5,5 & Sumery line{ 1 - 3 } % w nawiasach numery kolumn ... nd{ tabular } Na przykład: { |||l|| p{1.5in}|c|||l| } Tabele Podpis tabeli: aption{ nazwa_tabeli }
  • 23. sepackage{ graphicx } egin { document } egin{ figure } egin{ center } A teraz rysunek: ncludegraphics{ nazwa.eps } nd{ center } nd{ figure } Osadzanie grafiki
  • 24. $ wyrażenie $ Przykład: $ x^{n} + y^{n} = z^{n} $ Prosty tryb matematyczny
  • 26. egin{ equation } e^{ii}+1=0 abel{ wzorSiekluckiego } nd{ equation } Odnośnik: ef{ wzorSiekluckiego } Eksponowany tryb matematyczny
  • 27. Definiowanie: ewenvironment{ nazwa_środowiska } {egin{ flushright } f t c }{nd{ flushright }} Używanie: egin{ nazwa_środowiska } Tekst nd{ nazwa_środowiska } Środowiska
  • 28. Makra Definicja przykładowego makra: ef argines #1 #2 #3 {space{ #1 } arginpar{ #2 #3 }} Użycie: argines { 15pt } { f } { To jest przypis na marginesie } Notka na marginesie: arginpar{ Tekst notki }
  • 29.
  • 31.
  • 32. Linki Linki: http://www.gust.org.pl http://www.astro.ku.dk/help/LaTeX http://www.lyx.org http://www.texmacs.org