avm99963 | 2d29635 | 2021-04-30 00:04:37 +0200 | [diff] [blame] | 1 | \documentclass[11pt,a4paper]{article} |
| 2 | \usepackage[utf8]{inputenc} |
| 3 | \usepackage[spanish]{babel} |
| 4 | \usepackage{fancyhdr} |
| 5 | \usepackage{graphicx} |
| 6 | \usepackage[labelfont=bf]{caption} |
| 7 | \usepackage{siunitx} |
| 8 | \usepackage{geometry} |
| 9 | \geometry{top=25mm} |
| 10 | \usepackage{amsmath} |
| 11 | \usepackage{amsfonts} |
| 12 | \usepackage{booktabs} |
| 13 | \usepackage{chemformula} |
| 14 | \usepackage{multicol} |
| 15 | \usepackage{hyperref} |
| 16 | \usepackage{adjustbox} |
| 17 | \usepackage{pgfplotstable} |
| 18 | \pgfplotsset{compat=1.17} |
| 19 | \pgfplotstableset{ |
| 20 | empty cells with={--}, % replace empty cells with ’--’ |
| 21 | every head row/.style={before row=\toprule,after row=\midrule}, |
| 22 | every last row/.style={after row=\bottomrule}, |
| 23 | %every even row/.style={ |
| 24 | %before row={\rowcolor[gray]{0.9}}}, % Add this for stylish tables ;) |
| 25 | %begin table=\begin{longtable}, |
| 26 | %end table=\end{longtable} |
| 27 | } |
| 28 | |
| 29 | % Who the heck calls tables "cuadros"? We should call RAE to add an entry to thepage |
| 30 | % word "tabla", so it can be used like "cuadro" ;) |
| 31 | \addto\captionsspanish{% |
| 32 | \def\tablename{Tabla}% |
| 33 | } |
| 34 | |
| 35 | \sisetup{separate-uncertainty=true} |
| 36 | \setlength{\parskip}{1em} |
| 37 | \pagestyle{fancy} |
| 38 | \fancyhf{} |
| 39 | \rhead{David Díaz, Adrià Vilanova} |
| 40 | \lhead{Práctica 3} |
| 41 | \rfoot{\thepage} |
| 42 | |
| 43 | %%%% Title %%%% |
| 44 | \title{\vspace{-2ex}Práctica 3. Medida de la tensión superficial por el método del anillo (Método de Du Nouy)} |
| 45 | \author{David Díaz, Adrià Vilanova\vspace{-2ex} } |
| 46 | \date{Primavera 2020-21} |
| 47 | \begin{document} |
| 48 | \maketitle |
| 49 | |
| 50 | \begin{center} |
| 51 | \centering |
| 52 | \input{graph.tex} |
| 53 | \captionof{figure}{Gráfica donde se muestra la tensión superficial $\gamma$ de la mezcla agua/etanol en función de la concentración volúmica $c$ de etanol en la mezcla a temperatura del laboratorio.} |
| 54 | \label{fig:graph} |
| 55 | \end{center} |
| 56 | |
| 57 | \begin{center} |
| 58 | \centering |
| 59 | \begin{adjustbox}{width=\textwidth} |
| 60 | \pgfplotstabletypeset[ |
| 61 | columns={5, 2, 0, 7, 8, 9, 10, 12}, |
| 62 | columns/5/.style={column name=$V_{\text{H}_2\text{O}} \, (\si{\milli\liter})$, fixed, fixed zerofill, precision=1}, |
| 63 | columns/2/.style={column name=$V_\text{etanol} \, (\si{\milli\liter})$, fixed, fixed zerofill, precision=1}, |
| 64 | columns/0/.style={column name=$c_\text{etanol}$, fixed, fixed zerofill, precision=2}, |
| 65 | columns/7/.style={column name=$F_1 \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| 66 | columns/8/.style={column name=$F_2 \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| 67 | columns/9/.style={column name=$F_3 \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| 68 | columns/10/.style={column name=$\bar{F} \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| 69 | columns/12/.style={column name=$\gamma \, (\si{\milli\newton\per\meter})$, fixed, fixed zerofill, precision=1} |
| 70 | ]{datatable.dat} |
| 71 | \end{adjustbox} |
| 72 | \captionof{table}{Datos experimentales obtenidos. Se ha considerado un error de $\SI{0.5}{\milli\liter}$ para $V_{\text{H}_2\text{O}}$ y $V_\text{etanol}$. Los errores de $c$ y $\gamma$ (en la figura \ref{fig:graph}) se han calculado por propagación de errores, y los demás valores tienen el error correspondiente a las cifras significativas mostradas.} |
| 73 | \end{center} |
| 74 | \end{document} |