\documentclass[a4paper,12pt,oneside,pdflatex,italian,final,twocolumn]{article} \usepackage[utf8]{inputenc} \usepackage{parallel} \usepackage{siunitx} \usepackage{booktabs} \usepackage{fancyhdr} \usepackage[export]{adjustbox} \usepackage[margin=0.5in]{geometry} \addtolength{\topmargin}{0in} \usepackage{libertine} \renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif \usepackage[T1]{fontenc} \title{ LSM303D } \author{ Nick Felker } \date{ 2019 } \begin{document} \pagestyle{fancy} \lhead{ Nick Felker } \chead { 2019 } \rhead{ LSM303D v0.1.0 } \onecolumn \begin{figure} \begin{minipage}{0.47\textwidth} \section{Overview} STMicroelectronics accelerometer and magnetometer \begin{itemize} \item Device address 29 \item Address type 7-bit \end{itemize} \end{minipage} \hfill \end{figure} \section{Register Description} \begin{itemize} \item Accelerometer X - Raw accelerometer data on X plane \item Accelerometer X - Raw accelerometer data on X plane \item Accelerometer Y - Raw accelerometer data on Y plane \item Accelerometer Y - Raw accelerometer data on Y plane \item Accelerometer Z - Raw accelerometer data on Z plane \item Accelerometer Z - Raw accelerometer data on Z plane \item Magnetometer X - Raw magnetometer data on X plane \item Magnetometer X - Raw magnetometer data on X plane \item Magnetometer Y - Raw magnetometer data on Y plane \item Magnetometer Y - Raw magnetometer data on Y plane \item Magnetometer Z - Raw magnetometer data on Z plane \item Magnetometer Z - Raw magnetometer data on Z plane \end{itemize} \section{Technical specification} \centering \begin{tabular}{lcrr} \toprule & Register Name & Register Address & Register Length \\ \midrule AccelerometerX\_High & Accelerometer X & 169 & 8 \\ AccelerometerX\_Low & Accelerometer X & 168 & 8 \\ AccelerometerY\_High & Accelerometer Y & 171 & 8 \\ AccelerometerY\_Low & Accelerometer Y & 170 & 8 \\ AccelerometerZ\_High & Accelerometer Z & 173 & 8 \\ AccelerometerZ\_Low & Accelerometer Z & 172 & 8 \\ MagnetometerX\_High & Magnetometer X & 137 & 8 \\ MagnetometerX\_Low & Magnetometer X & 136 & 8 \\ MagnetometerY\_High & Magnetometer Y & 139 & 8 \\ MagnetometerY\_Low & Magnetometer Y & 138 & 8 \\ MagnetometerZ\_High & Magnetometer Z & 141 & 8 \\ MagnetometerZ\_Low & Magnetometer Z & 140 & 8 \\ \bottomrule \end{tabular} \raggedright \section{Functions} \centering \begin{tabular}{lc} \toprule & Description \\ \midrule acceleration & Measures the current acceleration \\ orientation & Reads the magnetic orientation \\ \bottomrule \end{tabular} \raggedright \subsection{Function acceleration } Measures the current acceleration \\ \centering \begin{tabular}{lcr} \toprule & Inputs & Return \\ \midrule asG & & valueX, valueY, valueZ \\ xPlane & & datum \\ yPlane & & datum \\ zPlane & & datum \\ \bottomrule \end{tabular} \raggedright \subsection{Function orientation } Reads the magnetic orientation \\ \centering \begin{tabular}{lcr} \toprule & Inputs & Return \\ \midrule heading & & heading \\ xPlane & & datum \\ yPlane & & datum \\ zPlane & & datum \\ \bottomrule \end{tabular} \raggedright \end{document}