docs thesis papers with l a t ex
play

Docs, Thesis & Papers with L A T EX Marion Lammarsch April - PowerPoint PPT Presentation

Docs, Thesis & Papers with L A T EX Marion Lammarsch April 2017 Docs, Thesis & Papers with L T EX 1 A Table of Contents Why is L A T EX great for a thesis? Homework Course precon act postcon Links Docs, Thesis


  1. Docs, Thesis & Papers with L A T EX Marion Lammarsch April 2017 Docs, Thesis & Papers with L T EX 1 A

  2. Table of Contents Why is L A T EX great for a thesis? Homework Course precon – act – postcon Links Docs, Thesis & Papers with L A T EX General Information Bibliography Example Programming documents Environ- ment Update of Installation

  3. Why is L A T EX great for a thesis? 1 Separate content from style 2 Good layout (usually) 3 Perfect mathematical typesetting 4 Easy managing of references (including bibliography) Docs, Thesis & Papers with L T EX 3 A

  4. Course syllabus 1 L A T EX basic information 2 Components of a scientific thesis with L A T EX 3 Bibliographic references 4 Producing graphics with L A T EX and R 5 L A T EX for different scientific diciplines 6 Presentations with L A T EX Docs, Thesis & Papers with L T EX 4 A

  5. Course preconditions 1 L A T EX software (distribution adapted for operating system) 2 Editor or development environment for L A T EX documents (T EXstudio or T EXmaker, T EXshop not recommended) 3 Demo files 4 Knowledge of rules for your own thesis Docs, Thesis & Papers with L T EX 5 A

  6. Course act 1 Theory by examples and exercises 2 Please ask as many questions as you can 3 Homework assignment (see end of document) Please send in your document via email (if possible not later than two days before next session) Docs, Thesis & Papers with L T EX 6 A

  7. T EX special characters (german keyboard, qwertz) Character Win Mac Backslash: \ AltGr+ß Alt+Shift+7 Curly Braces: { } AltGr+7 / AltGr+0 Alt+8 / Alt+9 Brackets: [ ] AltGr+8 / AltGr+9 Alt+5 / Alt+6 Ampersand: & Shift+6 Shift+6 Tilde: ~ AltGr++ Alt+n+Space Quote sign start: ‘ Shift+ ‘ Quote sign end: ’ Shift+ ’ (above #) Docs, Thesis & Papers with L T EX 7 A

  8. T EX special characters (int./english keyboard, qwerty) Character Win Mac Backslash: \ (left from return) (left from return) Curly Braces: { } Shift+[ / Shift+] Brackets: [ ] (left from return) (left from return) Ampersand: & Shift+7 Shift+7 Tilde: ~ AltGr+] Quote sign start: ‘ Shift+ = Quote sign end: ’ Shift+ \ Docs, Thesis & Papers with L T EX 8 A

  9. Quoting commands controlled by package babel Character Type English Language (every language option): Single Quotation: ‘abc’ ‘ ’ Double Quotation: “abc” ‘‘ ’’ German Language (language option ngerman): Single Quotation: ‚abc‘ \glq{} \grq{} Double Quotation: „abc“ "‘ "’ / \glqq{} \grqq{} French Language (language option french or ngerman): Single Quotation: ‹ abc › \flq{} \frq{} Double Quotation: « abc » "< "> / \flqq{} \frqq{} Docs, Thesis & Papers with L T EX 9 A

  10. Hyphenation commands controlled by package babel L A T EX won’t hyphenate a word that’s already been hyphenated, viz. the word contains a dash, e.g. multi-disciplinary. This is correct English typesetting style but sometimes you like to change that: Every Language: Discretionary hyphen (no other hypen valid): \- English Language (package hyphenat) Adding hyphen: \hyp e.g. multi-disci \ hyp plinary German Language (language ngerman): Adding hyphen: "- Dash with hyphenation allowed: "= Non breakable dash "~ Break without dash: "" Docs, Thesis & Papers with L T EX 10 A

  11. Macro typography (see doc16c) new paragraph: empty line newline: \\ linebreak: \linebreak new page: \newpage page break: \pagebreak new page with shiping out all floating material: \clearpage enlarge a single page: \enlargethispage{<amount unit>} Docs, Thesis & Papers with L T EX 11 A

  12. Micro typography en-dash: – (type -- ), e.g. For ages 3–5 em-dash: — (type --- ), e.g. Red, white, and blue—these are the colors of the flag. thin space (type \, ), e.g. 5 mi tie between two words (non-breakable space): (type ~ ), e.g. Dr. Müller (if the Dr. occurred near a line-break, it would never end up at the end of the line, only at the start) dots: . . . (type \dots{} , equivalent to \ldots{} ) More infos (German): http://www.dante.de/DTK/Ausgaben/komoedie19964.pdf p. 23 ff. and http://www.dante.de/DTK/Ausgaben/komoedie19971. pdf p. 25 ff. See also the siunitx package (doc25). Docs, Thesis & Papers with L T EX 12 A

  13. Example documents beginners course I doc00 Test for T EX installation doc01 Text and paragraphs doc02 Heading commands – chapter, section, subsection, . . . doc03 Title and table of contents doc04 List environments – enumeration, itemization doc05 Typefaces doc06 Simple math formulas doc07 KOMA-Script document classes scr. . . doc08 Footnotes doc09 Color – xcolor doc10 Cross references & hyperlinks – hyperref doc10a URLs doc10b Layout of hyperlinks with hypersetup Docs, Thesis & Papers with L T EX 13 A

  14. Example documents beginners course II doc11a Including figures – graphicx Commands includegraphics & graphicspath doc11b Disable floating of figures – float doc11c Changing figure names and references doc11d Changing figure caption style doc11e Changing figure caption to be beside figure doc11f Changing figure caption to be formatted raggedright doc12 Document class scrbook – suggested for thesis doc12a Head and foot of page, i.e. running title doc13 L A T EX thinking in boxes, horizontal and vertical doc14 Including source code listings – listings doc15 Including pages from a PDF file – pdfpages doc16 Sample thesis doc16a Figure numbering throughout whole thesis doc16b Change the page layout – geometry Docs, Thesis & Papers with L T EX 14 A

  15. Example documents beginners course III doc16c Page breaks, new page vs. page break doc16d Headings paragraph and subparagraph similar to sections doc16e Enumeration enhanced – enumitem doc17 Self designed title page doc18a Specify your own commands doc18b Specify your own environments doc18c Specify your own counters doc18d Building a to-do list for the thesis with own commands doc19a Material in columns – tabular doc19b Typesetting tables, horizontal lines – booktabs doc19c Material in columns extended – array doc19d Complex material in columns - tabularx doc19e Columnwidth automatically calculated - tabulary doc19f Color in tables – colortbl Docs, Thesis & Papers with L T EX 15 A

  16. Example documents beginners course IV doc20 Split a thesis into separate files; running title doc21 Changing the master file: including only parts for a build; modified running title doc22 Changing the master file: onehalfspacing – setspace protrusion – microtype; adding a CV; pagelayout – geometry; modified running title doc23 Using different font families doc24 Example for separate CV doc25 Units in Système international d’unités – siunitx doc26a Subfigures – subfig doc26b Subfigures – subcaption doc26c Figures surrounded by text – floatflt doc26d Figures surrounded by text – wrapfig doc30 Bibliographic references Docs, Thesis & Papers with L T EX 16 A

  17. Example documents beginners course V doc30a Bibliographic references with program bibtex doc30b Bib file doc30c Bibliographic references with program biber doc30d Bibliographic references export from endnote doc30e Bibliographic references export from mendely doc30f Bibliography oldstyle plain, unsrt, abbrev, alpha doc31 Typesetting abbreviations with an automatically generated list of abbreviations – acro doc40 Presentation – beamer Docs, Thesis & Papers with L T EX 17 A

  18. Update of installed T EX-Version I Start Tool T EX-Live-Utility in the T EX folder. Update T EX-Live-Utility itself Update T EX system (usually take long) Every year in April the T EX live system will be frozen and in order to get the new system a new installation is recommended in May. Docs, Thesis & Papers with L T EX 18 A

  19. T EXstudio I Manual http://texstudio.sourceforge.net/manual/current/ usermanual_en.html Configuration Win: menu Options → Preferences Mac: menu TeXstudio → Preferences Default Bibliography Tool: Bib(la)TeX or Biber – submenu Build force packages to be used by auto completion (normally commands/environments from loaded packages show up automatically) – submenu Completion switch on line numbers – submenu Advanced Editor (check mark in left lower corner for Advanced Options) Delete the auxiliary files generated by L A T EX – menu Tools → Clean Auxiliary Files . . . T EXstudio identify a master (root) document automatically Docs, Thesis & Papers with L T EX 19 A

  20. T EXstudio II A configuration can be saved in a profile (menu Options) Wizards for e.g. tabulated material (tabular), beamer presentations One can use SVN Docs, Thesis & Papers with L T EX 20 A

  21. T EXmaker I Configuration: engl: Menu texmaker → Preferences german: Menu Options → Texmaker konfigurieren Submenu Commands/Befehle Headline PDF-Viewer (right side): Choose Build-in-Viewer and Embedded Menu Options → Define current document as ‘Master Document’ / Aktuelle Datei zur ‘Masterdatei’ erklären engl: Menu texmaker → Preferences german: Menu Options → Texmaker konfigurieren Submenu Quick Build/Schnelles Übersetzen PdfLaTeX + Bib(la)tex + PdfLaTeX (x2) + View PDF Docs, Thesis & Papers with L T EX 21 A

Recommend


More recommend