Skip to content

Instantly share code, notes, and snippets.

View franjfal's full-sized avatar

Francisco Javier Falcó Benavent franjfal

  • Home
View GitHub Profile
\clip (-10,-6) rectangle + (20,12); % Crop the image with this rectangle
%More info at https://tex.stackexchange.com/questions/422453/cropping-some-part-of-a-tikzpicture
\par\noindent\rule{\textwidth}{0.4pt}
%Scale tikz and text
\begin{tikzpicture}[thick,scale=0.6, every node/.style={scale=0.6}]
\end{tikzpicture}
\usepackage{hyphenat}
\nohyphens{Your words not hypernatecd}
\begin{center}
%\includegraphics[width=3.4cm]{animations/areacurves.pdf}
\begin{tikzpicture}[scale=0.55]
\begin{axis}[axis lines=middle,
xlabel=$x$,
ylabel=$y$,
enlargelimits,
ytick=\empty,
xtick={1,4},
xticklabels={a,b}]
Para generar una tabla a la que le falta la esquina superior izquierda
\begin{center}\begin{tabular}{|cccccc|}
\cline{2-6}
\multicolumn{1}{c|}{}&Sarampióm & Varicela & Viruela & SARS & gripe \\\hline% estacional \\
\multicolumn{1}{|c|}{$R_0$}&12-18 & 8.5 & 3.5-6 & 2-3 & 0.9-2.1 \\
\multicolumn{1}{|c|}{$1-\frac{1}{R_0}$}&0.916-0.944 & 0.882 & 0.714-0.833 & 0.5-0.66 & 0-0.523 \\
\hline
\end{tabular}
\itemsep0em
Alternativamente, con el paquete enumitem
\itemsep = vertical space added after each item in the list.
\parsep = vertical space added after each paragraph in the list.
\topsep = vertical space added above and below the list.
\partopsep = vertical space added above and below the list, but only if the list starts a new paragraph.
\begin{enumerate}
\setcounter{enumi}{4}
\item fifth element
\end{enumerate}
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -sOutputFile=2020-03-22-Book-Borrador-compressed.pdf 2020-03-22-Book-Borrador.pdf