.Dd 2026-07-15 .de oit .It \\$* .. .de obi .Bl -\\$1 -compact .shift .oit \\$* .. .de obe .obi \\$* .El .. .de obd .Bd -literal -compact \\$* .. .de obc .Bl -column \\$* .. .Dt LATEX oh .Os linux , OpenBSD 7.8 | .Nm latex .Nd uso, sugerencias y recursos .Sh CONVERSI\('ON .Dl texi2pdf -c --max-iterations= Usar fuentes de postscript y convertir desde dvi: .D1 Habilita el uso de las fuentes de Postscript: Times, Helvetica y Courier. .obd pslatex dvipdf .Ed .Sh DOCUMENTO B\('ASICO .obd\edocumentclass[} %comments %common classes: book, article %paramters: font size, sides: %\edocumentclass[12pt,oneside]{article} \etitle{} \eauthor{} \ebegin{document} \etableofcontents \esection{} \esubsection{} \ebegin{itemize} \eitem item1 \eitem item2 \eitem item3 \eend{itemize} \ebegin{itemize} \eitem item1 \eitem item2 \ebegin{itemize} \eitem item2.1 \eitem item2.2 \ebegin{itemize} \eitem item2.2.1 \eitem item2.2.2 \eend{itemize} \eend{itemize} \eitem item3 \eend{itemize} \eend{document} .Ed .Sh PAQUETES Para usar paquetes extras para varias opciones de formato: .Dl \eusepackage{} Se pueden definir los par\('ametros al usar el paquete: .Dl \eusepackage[} .Ss geometry Este paquete se necesita para los m\('argenes, tipo de papel y orientaci\('on. Ejemplo: .obd \eusepackage{geometry} \egeometry{margin=0.5in} \egeometry{letterpaper} .Ed En una sola l\('inea: .Dl \egeometry{legalpaper, landscape, margin=0.5in} Las opciones tambi\('en se pueden configurar al usar el paquete: .Dl \eusepackage[paperwidth=.5\paperwidth,paperheight=.25\paperheight]{geometry} .Ss parskip Se necesita para el formato de p\('arrafos, por ejemplo, espaciado: .Dl \eusepackage[parfill]{parskip} .Ss hyperref Se necesita para urls: .obc display_link .It mostrar url Ta : Li \eurl{URL} .It mostrar enlace Ta : Li \ehref{URL}{} .El Modificar el color del enlace y eliminar el borde: .obd \ehypersetup{ colorlinks, linkcolor={black!50!black}, citecolor={blue!50!black}, urlcolor={blue!90!black} } .Ed Configuraci\('on de datos de PDF: .obd \ehypersetup{ pdftitle={}, pdfauthor={}, pdfsubject={} } .Ed .Ss lastpage Si se usa este paquete, el archivo se debe procesar dos veces para insertar el n\('umero de la \('ultima p\('agina. .Ss fancyhdr Se necesita para configurar encabezado y pie de p\('agina. .obd \epagestyle{fancy} \efancyfoot[R]{\ethepage\e - \epageref{LastPage}} .Ed .obc current_page .It posici\('on Ta : L,C,R .It P\('agina actual Ta : \ethepage .It \('Ultima p\('agina Ta : \epageref{LastPage} .El .Ss graphicx Se necesita para usar im\('agenes: .Dl \eincludegraphics{} Si el archivo no se encuentra en el directorio actual, antes de incluir el archivo: .Dl \egraphicspath{ {GRAPHICS_PATH/} } .Sh CARACTERES .obc .It > Ta : \etextgreater .It < Ta : \etextless .It \(~n Ta : \e~n .It \('i Ta : \e'i .El .Sh COLORES .Dl {\ecolor{COLOR}TEXT} .Sh INCLUDES .Dl \einput{} .Sh PENDIENTE .obc .It - Agregar archivo de ejemplo. .El .Sh VER TAMBI\('EN .obc .It Manuales de VoidLinux: .Xr texi2pdf 1 .Xr pslatex 1 .Xr dvipdf 1 .It links .It - Lk https://tug.org/ TeX Users Group .It - Lk https://ctan.org/ CTAN - Comprehensive TeX Archive Network .It - Lk https://www.tug.org/interest.html#free TUG - Resources and packages .It - Lk https://www.latex-project.org/help/documentation/ LaTeX Project - Documentation .It - Lk https://www.overleaf.com/learn Overleaf - LaTeX documentation .It - Lk https://miktex.org/ MiKTeX - Windows TeX implementation .El .Sh HISTORIAL .obc _______ .It 2026-07-15 Ta : Creado. .El .Sh AUTORES .An -nosplit .Xr ohazot oh | .Xr info oh | .Lk https://ohazot.com ohazot.com .Aq Mt admin@ohazot.com