Sunteți pe pagina 1din 6

GUIA 1 PARA DOCUMENTOS EN LATEX

UNIVERSIDAD SURCOLOMBIANA
Departamento De Matematicas Aplicadas
Prof. German Fabian Escobar
ESTRUCTURA DOCUMENTOS
\documentclass[...] {...}
.
.
.
\begin{document}
.
.
.
\end{document}
La forma del documetclass debe ser \documentclass[Opciones] {Estilo} donde aportamos
los siguientes estilos:
article: estilo artculo
book: estilo libro
report:estilo reporte
letter: estilo carta
slides: estilo transparencias
Ejemplos
\documentclass[12pt] {article}
\documentclass[12pt, twocolumns] {book}
ESTILO TIPO article
\documentclass[12pt] {article}
\title {...}
\author {...}
\date {...}
\begin{document}
\section{...}
.............................................
\subsection{...}
.............................................
\section{...}
.............................................
\subsection{...}
.............................................
\end{document}
ESTILO TIPO book
\documentclass[12pt] {book}
\title {...}
\author {...}
\date {...}
\begin{document}
\maketitle
\chapter {...}
.............................................
\section{...}
.............................................
\chapter {...}
.............................................
\section{...}
.............................................
\end{document}
Copie en el editor latex TexCenter el siguiente ejemplo tipo artculo
\documentclass[12pt] {article}
\usepackage{amsmath, amsfonts, amssymb}
\usepackage[spanish] {babel}
\usepackage[latin1] {inputenc}
\title{EjemploDocumentoTipoArticulo}
\author{NombreyApellido}
\date{Fechadeayer}
\begin{document}
\maketitle
\begin{abstract}
Documento en latex que muestra un ejemplo de tipo artculo para la clase de introduccion
a los sistemas de computacion.
\end{abstract}
Iniciamos el cuerpo del documento.
\section{PrimeraSeccion}
Primer capitulo del documento
\subsection{PrimerTema}
Primer tema del documento
$\begin{bmatrix}
\lambda -1 & 2 & -1\\
2 & \ lambda-2 & 4\\
1 & 4 & \ lambda-3
\ end{bmatrix} $
\section{PrimeraSeccion}
Segundo capitulo del documento
\end{document}
LISTAS CON EL PAQUETE enumerate
la sintaxis del paquete enumerate corresponde:
\begin{enumerate}
\item
\end {enumerate}
LISTAS CON EL PAQUETE itemize
la sintaxis del paquete itemize corresponde:
\begin{itemize}
\item
\end {itemize}
SIMBOLOS MATEMATICOS
Para poder utilizar smbolos matem aticos se requieren los paquetes amssymb,amsmath.
todo smbolo matem atico requiere escribirse entre los smbolos de pesos $ $, algunos
ejemplos:
$ \ lambda$ reproduce en el documento
$ \ infty$ reproduce en el documento
$ \ mathbb {R} $ reproduce en el documento R
$ \ Longleftrightarrow$ reproduce en el documento
Superindices:
Para superindices utilizamos el smbolo
$ \ mathbb {R} ^ {n \ timesn} $ reproduce en el documento R
nn
Subindices:
Para subindices utilizamos el smbolo
$x {1}

{y

{2}} $ reproduce en el documento x


y
2
1
fracciones:
Para fracciones usamos \fracc{}{}
$ \ fracc{1}{1 \fracc{1}{x}}$ reproduce en el documento
1
1
1
x
\[\fracc{1}{1 \fracc{1}{x}}\] reproduce en el documento
1
1
1
x
sumatorias:
Para sumatorias usamos $ \ sum {n = 1} ^ {infty}a n$ reproduce en el documento

n=1
a
n
Para sumatorias usamos \[\sum {\substack{0 < j < m \\ 1 < i \ leqn}}a n\]
reproduce en el documento

0<j<m
1<in
a
ij
integrales:
Para sumatorias usamos \int
$ \ int$ produce en el documento

$ \ iint$ produce en el documento

$ \ oint$ produce en el documento

$ \ int a^ bf(x)dx$ produce en el documento

b
a
f(x)dx
Matrices:
Para generar una matriz escribimos
$ \ begin{bmatrix}
\lambda 1 & 2 & 1 \ \
2 & \ lambda 2 & 4 \ \
1 &4 & \ lambda 3
\end {bmatrix} $
esto nos da

1 2 1
2 2 4
1 4 3

S-ar putea să vă placă și