LaTeX
LaTeX (pronounced /ˈleɪtɛk/ or /ˈlɑːtɛk/) is a document markup language and document preparation system. It was originally written in the early 1980s by Leslie Lamport (LamportTeX) at SRI International. It has become the dominant method for using TeX typesetting program (Donald Knuth) —few people write in plain TeX anymore. The current version is LaTeX2e. LaTeX is widely used by scientists and engineers in academic documents and publications because of the quality of typesetting achievable by TeX.

Latex installation
Latex installation how-to (Windows and Linux).
Remember installing hyphenation on your language ((1) texlive-lang-spanish, (2) babel is already in Ubuntu defaults)
Latex Bascis
Read the Latex Basic Kit.
\documentclass[options]{class}
% packages
\usepackage[english]{babel} % Document language (word splitting, basic titles: abstract…)
%\usepackage[spanish]{babel}
\usepackage{ucs} % Use unicode
\usepackage[utf8]{inputenc} % Character encoding (use utf8x [extended] if utf8 does not work, in current versions are equivalent)
%\usepackage[latin1]{inputenc} % Windows default char encoding
\usepackage{float} % Strict placement with H option (overrides h)
\usepackage{graphicx} % To include eps graphics (TODO study options)
The following macro sets the font size and the line spacing separately.
\def\setsize{\csname @setfontsize\endcsname \setsize}
Its usage is like this:
\setsize{18}{24}
NOTE: Use it insede an environment
Useful Tricks
Accents \’{a} = á
\~{n} = ñ
Open marks: ?` = ¿
To shorten a long cite use: \shortcite{} or to use only the year use \citeyear{}
To avoid breaking of a space use: Chapter~one
To avoid breaking of a word use: \mbox{NASA}
Latex Presentations Beamer
Latex presentations with Beamer.
Latex Bibliography BIBTEX
Latex Bibliography BIBTEX.
Latex Graphics EPS
The Encapsulated PostScript (eps). (cuanto + antigua sea la version eps + compatible)
Latex 2 Html
Install tex4ht (apt-get) and then use: htlatex file.tex (MAY BE DEPRECATED)
(CONSIDER OTHER OPTIONS)
Latex Extras
Install Latex Style files (sty)
Tabbing (use tabs)
Make a professional looking cv using latex.
FONTS IN LATEX
\usepackage[T1]{fontenc} \usepackage{bookman} or {times} or {uarial} or {helvet} or
usage:
{\fontfamily{phv}\selectfont Helvetica looks like this}
{\fontfamily{ppl}\selectfont Palatino looks like this}
Default encoding (OT1)
Default font (Computer Modern, CM)
encoding (OT1, T1, OML, OMS, OMX): related to char order… T1 is the most common.
family (sans, arial, times): It is the font itself
Computer Modern Roman cmr
Computer Modern Sans cmss
Computer Modern Typewriter cmtt
Computer Modern Math Italic cmm
Computer Modern Math Symbols cmsy
Computer Modern Math Extensions cmex
Adobe Times ptm
Adobe Helvetica phv
Adobe Courier pcr
series (medium, bold, condensed …) (m,b,c…)
shape (normal, italic, bold, smallcaps…) (n, it, bf, sc….) \textbf \textit…
size (pt, px,…) 10pt, 1.5in …
Author command Attribute Value in article class
\textrm{..} or \rmfamily family cmr
\textsf{..} or \sffamily family cmss
\texttt{..} or \ttfamily family cmtt
\textmd{..} or \mdseries series m
\textbf{..} or \bfseries series bx
\textup{..} or \upshape shape n
\textit{..} or \itshape shape it
\textsl{..} or \slshape shape sl
\textsc{..} or \scshape shape sc
size \tiny 5pt
size \scriptsize 7pt
size
\footnotesize 8pt
size
\small 9pt
size
\normalsize 10pt
size
\large 12pt
size
\Large 14.4pt
size
\LARGE 17.28pt
size
\huge 20.74pt
size
\Huge 24.88pt
texlive-fonts-recommended
This package includes the following CTAN packages:
adobeuro — font metrics for the Adobe Euro fonts.
avantgar — the URW Avantgar fonts and support for the Adobe font set.
bookman — the URW Bookman fonts and support for the Adobe font set.
charter — Charter fonts.
cmextra — No caption.
courier — The courier package.
euro — Arbitrary national currency amounts using the Euro as base unit.
euro-ce — Euro currency symbol and CE mark.
eurofont — Provides a command that prints a euro symbol.
eurosans — Interface to Adobe’s free Euro fonts.
eurosym — No caption.
fpl — SC and OsF fonts for URW Palladio L
helvetic — the URW Helvetiva fonts and support for the Adobe font set.
marvosym — A Type 1 font: Martin Vogels Symbole (marvosym) font.
mathpazo — Pazo Math fonts and LaTeX package to typeset Palatino.
ncntrsbk — the URW New Century Schoolbook fonts and support for the Adobe
font set.
palatino — No caption.
psnfssx — Extra styles and encodings for PostScript fonts.
pxfonts — Palatino-like fonts in support of mathematics.
rsfs — Ralph Smith’s Formal Script font.
symbol — Symbol font.
times — No caption.
timesnew — the URW Times fonts and support for the Adobe font set.
txfonts — Times-like fonts in support of mathematics.
utopia — Adobe Utopia fonts.
wasy — The wasy fonts (Waldis symbol fonts).
wasysym — LaTeX support file to use the WASY2 fonts
zapfchan — the URW Zapf Chancery font and support for the Adobe font.
zapfding — the URW Zapf Dingbat font and support for the Adobe font.