From d3fffdd0ec3bf48ef12ec0860dc91f5a25349fd3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 15 Apr 2015 14:27:19 +0000 Subject: latexcheat-esmx (14apr15) git-svn-id: svn://tug.org/texlive/trunk@36866 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/latexcheat-esmx/README | 18 +- .../doc/latex/latexcheat-esmx/latexsheet-esmx.pdf | Bin 282657 -> 495244 bytes .../doc/latex/latexcheat-esmx/latexsheet-esmx.tex | 202 +++++++++++---------- 3 files changed, 120 insertions(+), 100 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/latexcheat-esmx/README b/Master/texmf-dist/doc/latex/latexcheat-esmx/README index 849461a360f..b4a2381ffa9 100644 --- a/Master/texmf-dist/doc/latex/latexcheat-esmx/README +++ b/Master/texmf-dist/doc/latex/latexcheat-esmx/README @@ -1,17 +1,23 @@ Latex cheat sheet -Version 1.13, 2008/05/29 -Traducción Castellana, 2009/12/29 +Version 2.00, 2015/04/13 +Traducci'on Castellana, 2009-2015 -Traducción del sumario de bolsillo de Winston Chang. +Traducci'on del sumario de bolsillo de Winston Chang. Se han hecho algunas adiciones para ilustrar el uso del castellano. -De hecho, el "acordeón" es el nombre mexicano de la "cheat-sheet" +De hecho, el "acorde'on" es el nombre mexicano de la "cheat-sheet" (lo doblas y desdoblas a medida que lo necesitas, para "acordarte"), -y recuerda una metáfora de David Kastrup en comp.text.tex, +y recuerda una met'afora de David Kastrup en comp.text.tex, comparando a TeX con una concertina. Hereda la licencia LPPL (LaTeX Project Public License). ¿Comentarios? Escriba a jlrn77 at gmail punto com - +Cambios +======= +2.00 +* Se sustituy'o la secci'on sobre BibTeX de Chang, pues BibTeX est'a en + obsolescencia, y se le reemplaz'o con una descripci'on de los comandos + internos de LaTeX para compilar bibliograf'ias. +* Se compone el documento con la clase leaflet, para hacer volantes. \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.pdf b/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.pdf index 39d82f5bfc0..e814cf84bad 100644 Binary files a/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.pdf and b/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.pdf differ diff --git a/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.tex b/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.tex index f0f63507a84..c2f56a020bd 100644 --- a/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.tex +++ b/Master/texmf-dist/doc/latex/latexcheat-esmx/latexsheet-esmx.tex @@ -1,15 +1,16 @@ -\documentclass[10pt,landscape]{article} +\documentclass[notumble]{leaflet} %\documentclass[notumble,letterpaper,10pt]{leaflet} -%\setmargins{6mm}{6mm}{6mm}{6mm} +\setmargins{7mm}{7mm}{7mm}{7mm} \usepackage{multicol} -\usepackage{calc} -\usepackage{ifthen} -\usepackage[landscape]{geometry} +%\usepackage{calc} +%\usepackage{ifthen} +%\usepackage[landscape]{geometry} % opciones para el castellano -\usepackage[latin1]{inputenc} +%\usepackage[texnansi]{inputenc} \usepackage[T1]{fontenc} +%\usepackage{mathpazo} \usepackage{type1ec} -\usepackage[spanish,es-sloppy]{babel} +\usepackage[spanish.mexico]{babel} \usepackage[pdftex]{hyperref} % To make this come out properly in landscape mode, do one of the following @@ -44,43 +45,43 @@ % This sets page margins to .5 inch if using letter paper, and to 1cm % if using A4 paper. (This probably isn't strictly necessary.) % If using another size paper, use default 1cm margins. -\ifthenelse{\lengthtest { \paperwidth = 11in}} - { \geometry{top=.4in,left=.4in,right=.4in,bottom=.4in} } - {\ifthenelse{ \lengthtest{ \paperwidth = 297mm}} - {\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} } - {\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} } - } +%\ifthenelse{\lengthtest { \paperwidth = 11in}} + %{ \geometry{top=.4in,left=.4in,right=.4in,bottom=.4in} } + %{\ifthenelse{ \lengthtest{ \paperwidth = 297mm}} + %{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} } + %{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} } + %} % Turn off header and footer \pagestyle{empty} % Redefine section commands to use less space -\makeatletter -\renewcommand{\section}{\@startsection{section}{1}{0mm}% - {-1ex plus -.5ex minus -.2ex}% - {0.5ex plus .2ex}%x - {\normalfont\large\bfseries}} -\renewcommand{\subsection}{\@startsection{subsection}{2}{0mm}% - {-1explus -.5ex minus -.2ex}% - {0.5ex plus .2ex}% - {\normalfont\normalsize\bfseries}} -\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0mm}% - {-1ex plus -.5ex minus -.2ex}% - {1ex plus .2ex}% - {\normalfont\small\bfseries}} -\makeatother +%\makeatletter +%\renewcommand{\section}{\@startsection{section}{1}{0mm}% + %{-1ex plus -.5ex minus -.2ex}% + %{0.5ex plus .2ex}%x + %{\normalfont\large\bfseries}} +%\renewcommand{\subsection}{\@startsection{subsection}{2}{0mm}% + %{-1explus -.5ex minus -.2ex}% + %{0.5ex plus .2ex}% + %{\normalfont\normalsize\bfseries}} +%\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0mm}% + %{-1ex plus -.5ex minus -.2ex}% + %{1ex plus .2ex}% + %{\normalfont\small\bfseries}} +%\makeatother % Define BibTeX command -\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em - T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} +%\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em + %T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}} % Don't print section numbers -\setcounter{secnumdepth}{0} +%\setcounter{secnumdepth}{0} -\setlength{\parindent}{0pt} -\setlength{\parskip}{0pt plus 0.5ex} +%\setlength{\parindent}{0pt} +%\setlength{\parskip}{0pt plus 0.5ex} % ----------------------------------------------------------------------- @@ -90,7 +91,7 @@ \raggedright %\scriptsize \footnotesize -\begin{multicols}{3} +%\begin{multicols}{3} % multicol parameters @@ -165,7 +166,9 @@ Uso: \texttt{spanish} se añade como una opción. \texttt{es-sloppy} lo inhabilita casi por completo.\\ \texttt{inputenc} & Cambie codificación del texto, - como \texttt{latin1} o \texttt{utf8}. + como \texttt{latin1} o \texttt{utf8}.\\ +\texttt{fontenc} & Cambie codificación de la fundición/fuente, + como \texttt{T1} o \texttt{LY1}. \end{tabular} Use antes de \verb!\begin{document}!. @@ -243,8 +246,15 @@ Los versos de una estrofa se separan con la orden \verb!\\!. normales. Obligatorio para descripciones. \\ \end{tabular} +\subsection{Referencias bibliográficas} +\verb!\cite[!\textit{sufijo}\verb!]{!\textit{marcador}\verb!}! pone una referencia a la entrada +bibliográfica \textit{marcador}. +Si se a\~nade, el [sufijo] se incluye en la referencia. +Con el entorno \verb!\begin{thebibliography}! se incluye la bibliografía en el documento. +\verb!\bibitem[etiqueta]{marcador}! introduce cada entrada bibliográfica. +Si \verb![etiqueta]! se omite, \LaTeX\ la numera automáticamente. \subsection{Referencias cruzadas} \settowidth{\MyLen}{\texttt{.pageref.marker..}} @@ -628,6 +638,70 @@ $\Omega$ & \verb!\Omega! %$^{\circ}$ & \verb!^{\circ}! Ex: $22^{\circ}\mathrm{C}$: \verb!$22^{\circ}\mathrm{C}$!. %\end{tabular} +\section{Modelo de documento de \LaTeX} +Este archivo imprime un artículo en papel y márgenes europeos, +pero usa una codificación de texto y estilos tipográfico y bibliográfico típicamente norteamericanos.% (\textsc{ascii} de 7 bits y Chicago), y . +\begin{verbatim} +\documentclass[11pt,twoside,a4paper]{article} +\usepackage[cm,myheadings]{fullpage} +\usepackage[spanish.mexico]{babel} +\usepackage[T1]{fontenc} +\pagestyle{myheadings} +\markboth{An\'onimo}{Plantilla} + +\begin{document} +\title{Plantilla} +\author{An\'onimo} +\maketitle +\tableofcontents + +\section{Secci\'on} +\subsection*{Subsecci\'on sin n\'umero} +Texto normal y \textbf{en negrita}. Mates: $2+2=5$ + +\subsection{Subsecci\'on} +M\'as texto, \emph{con} o sin \'enfasis; +con una referencia a los descubridores +de la estructura del ADN \cite[737]{WC:1953}, +y un cuadro: +\begin{table}[!th] +\begin{tabular}{|l|c|r|} +\hline +primera & fila & de datos \\ +segunda & fila & de datos \\ +\hline +\end{tabular} +\caption{Leyenda del cuadro} +\label{ex:table} +\end{table} +con el n\'umero \ref{ex:table}. + +\begin{thebibliography} +\bibitem[WC]{WC:1953} James~D. Watson and Francis Crick: +``Molecular Structure of Nucleic Acids: +A Structure for Deoxyribose Nucleic Acid''. +\emph{Nature} 171 (1953) 737-738. +\end{thebibliography} +\end{document} +\end{verbatim} + +\rule{0.3\linewidth}{0.25pt} +\scriptsize + +Copyright \copyright\ 2006 Winston Chang.\\ +Traducción \copyright\ 2009-2015 J. Luis Rivera N. +\LaTeX\ Project Public License. + +% Should change this to be date of file, not current date. +%\verb!$Revision: 1.13 $, $Date: 2008/05/29 06:11:56 $.! +%\verb!$Revision: 1.13 $, $Date: 2009/12/30 16:30:00 $.! +\verb!$Revision: 2.00 $, $Date: 2015/04/13 20:30:00 $.! +\tiny +\url{http://www.ctan.org/topic/tut-cheat} + +%\end{multicols} +\end{document} + \section{Bibliografías con \BibTeX} %\LaTeX\ soporta internamente referencias @@ -774,64 +848,4 @@ No hace falta usar todos los campos. Vea el ejemplo. } \end{verbatim} -\section{Modelo de documento de \LaTeX} -Este archivo imprime un artículo en papel y márgenes europeos, -pero usa una codificación de texto y estilos tipográfico y bibliográfico típicamente norteamericanos.% (\textsc{ascii} de 7 bits y Chicago), y . -\begin{verbatim} -\documentclass[11pt,twoside,a4paper]{article} -\usepackage[cm,myheadings]{fullpage} -\usepackage[spanish,es-sloppy]{babel} -\usepackage[T1]{fontenc} -\usepackage{chicago} -\pagestyle{myheadings} -\markboth{An\'onimo}{Plantilla} - -\begin{document} -\title{Plantilla} -\author{An\'onimo} -\maketitle -\tableofcontents - -\section{Secci\'on} -\subsection*{Subsecci\'on sin n\'umero} -Texto normal y \textbf{en negrita}. Mates: $2+2=5$ - -\subsection{Subsecci\'on} -M\'as texto, \emph{con} o sin \'enfasis; -con una referencia a los descubridores -de la estructura del ADN \cite[737]{WC:1953}, -y un cuadro: -\begin{table}[!th] -\begin{tabular}{|l|c|r|} -\hline -primera & fila & de datos \\ -segunda & fila & de datos \\ -\hline -\end{tabular} -\caption{Leyenda del cuadro} -\label{ex:table} -\end{table} -con el n\'umero \ref{ex:table}. - -\bibliographystyle{chicago} -\bibliography{mibiblio} -\end{document} -\end{verbatim} - -\rule{0.3\linewidth}{0.25pt} -\scriptsize - -Copyright \copyright\ 2006 Winston Chang.\\ -Traducción \copyright\ 2009 J. Luis Rivera N. -\LaTeX\ Project Public License. - -% Should change this to be date of file, not current date. -%\verb!$Revision: 1.13 $, $Date: 2008/05/29 06:11:56 $.! -\verb!$Revision: 1.13 $, $Date: 2009/12/30 16:30:00 $.! -\tiny -\url{http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=latexcheat} - -\end{multicols} -\end{document} - -- cgit v1.2.3