| \documentclass[11pt,a4paper]{article} |
| \usepackage[utf8]{inputenc} |
| \usepackage[spanish]{babel} |
| \usepackage{fancyhdr} |
| \usepackage{graphicx} |
| \usepackage[labelfont=bf]{caption} |
| \usepackage{siunitx} |
| \usepackage{geometry} |
| \geometry{top=25mm} |
| \usepackage{amsmath} |
| \usepackage{amsfonts} |
| \usepackage{booktabs} |
| \usepackage{chemformula} |
| \usepackage{multicol} |
| \usepackage{hyperref} |
| \usepackage{adjustbox} |
| \usepackage{pgfplotstable} |
| \pgfplotsset{compat=1.17} |
| \pgfplotstableset{ |
| empty cells with={--}, % replace empty cells with ’--’ |
| every head row/.style={before row=\toprule,after row=\midrule}, |
| every last row/.style={after row=\bottomrule}, |
| %every even row/.style={ |
| %before row={\rowcolor[gray]{0.9}}}, % Add this for stylish tables ;) |
| %begin table=\begin{longtable}, |
| %end table=\end{longtable} |
| } |
| |
| % Who the heck calls tables "cuadros"? We should call RAE to add an entry to thepage |
| % word "tabla", so it can be used like "cuadro" ;) |
| \addto\captionsspanish{% |
| \def\tablename{Tabla}% |
| } |
| |
| \sisetup{separate-uncertainty=true} |
| \setlength{\parskip}{1em} |
| \pagestyle{fancy} |
| \fancyhf{} |
| \rhead{David Díaz, Adrià Vilanova} |
| \lhead{Práctica 3} |
| \rfoot{\thepage} |
| |
| %%%% Title %%%% |
| \title{\vspace{-2ex}Práctica 3. Medida de la tensión superficial por el método del anillo (Método de Du Nouy)} |
| \author{David Díaz, Adrià Vilanova\vspace{-2ex} } |
| \date{Primavera 2020-21} |
| \begin{document} |
| \maketitle |
| |
| \begin{center} |
| \centering |
| \input{graph.tex} |
| \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.} |
| \label{fig:graph} |
| \end{center} |
| |
| \begin{center} |
| \centering |
| \begin{adjustbox}{width=\textwidth} |
| \pgfplotstabletypeset[ |
| columns={5, 2, 0, 7, 8, 9, 10, 12}, |
| columns/5/.style={column name=$V_{\text{H}_2\text{O}} \, (\si{\milli\liter})$, fixed, fixed zerofill, precision=1}, |
| columns/2/.style={column name=$V_\text{etanol} \, (\si{\milli\liter})$, fixed, fixed zerofill, precision=1}, |
| columns/0/.style={column name=$c_\text{etanol}$, fixed, fixed zerofill, precision=2}, |
| columns/7/.style={column name=$F_1 \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| columns/8/.style={column name=$F_2 \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| columns/9/.style={column name=$F_3 \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| columns/10/.style={column name=$\bar{F} \, (\si{\milli\newton})$, fixed, fixed zerofill, precision=1}, |
| columns/12/.style={column name=$\gamma \, (\si{\milli\newton\per\meter})$, fixed, fixed zerofill, precision=1} |
| ]{datatable.dat} |
| \end{adjustbox} |
| \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.} |
| \end{center} |
| \end{document} |