Difference between revisions of "UNIKUM:Introduction to LaTex"

From its-wiki.no
Jump to: navigation, search
Line 136: Line 136:
  
 
=⌘ Collaboration =
 
=⌘ Collaboration =
* Divide the document into sections
+
* Split the document into different files
 
** Each collaborator can work in a different section
 
** Each collaborator can work in a different section
-----------. -------------.
+
* Each sentence in a new line.
 +
** Easier to work with software version control system
 +
** YES
 +
+ -----------. ----x------.
 +
- --------.      -------.
 +
- -----------.  -----------.
 +
** NO
 +
+ -----------. --------. -----------.    -----------. ---x----. -----------.
 
git
 
git
 
pdfdiff
 
pdfdiff
 
dropbox
 
dropbox

Revision as of 07:43, 23 October 2014



Introduction to LaTex
Date 2014/10/23 1215-1300
Place UNIK, Room 408
By Iñaki Garitano
Keywords LaTeX

Go back to UNIKUM


Objective

Short introduction to LaTeX for those who never use it before.



Antall Deltakere

Attender type Antall deltakere
Number of Master Students 0
Number of PhD Students 0
Number of Postdocs 0
Total 8


Introduction to LaTeX

Title
LaTeX
Subtitle
First steps
Author
Iñaki Garitano
Footer
Introduction to LaTex
Subfooter
UNIKUM kollokvie



⌘ What is LaTeX


⌘ Why do I need LaTeX

  • Used in:
    • Books
    • Scientific articles
    • Thesis
    • Presentations
  • Useful for:
    • Collaborative writing
    • Not to struggle with formatting
    • Mathematical formulas
    • Bibliographic references


⌘ Drawbacks

  • Needs time to learn
  • What you see is not what you get
  • Tables (could be a nightmare), not any more
  • Positioning tables, figures, is not easy
  • Needs to generate the output file, PDF


⌘ Advantages

  • Flexibility and modularity
    • Split the document into different files
    • Reorder sections without any complication
  • Concentrate in the content, not the layout
  • Could be used within many editors
  • Easy to create:
    • Indexes
    • Citations
    • References
    • Footnotes
  • http://en.wikibooks.org/wiki/LaTeX/Introduction


⌘ Installation & Requirements


⌘ How does it look like

  • Main idea => blocks of text where an instruction will be applied
\instruction
  Text under instruction
\begin{instructions}
  Text under instruciton
\end{instruction}
% Comments
\documentclass{article}
\begin{document}
  \begin{center}
     Hello world!
  \end{center}
\end{document}
  • Show example


⌘ Good practices


⌘ Bibliography

  • Starting point => BiBTeX file
    • Bibliography database file
  • Compile => bbl file
  • If small changes are needed, like special characters
    • Copy bbl content into our .tex file
    • Modify the entries
    • No need to compile again


⌘ Collaboration

  • Split the document into different files
    • Each collaborator can work in a different section
  • Each sentence in a new line.
    • Easier to work with software version control system
    • YES
+ -----------.  ----x------.
- --------.      -------.
- -----------.  -----------.
    • NO
+ -----------. --------. -----------.    -----------. ---x----. -----------.

git pdfdiff dropbox