Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
136 lines (112 sloc) 4.01 KB
\documentclass[12pt,twoside]{article}
\usepackage{multicol} % Multi column format
\usepackage[margin=1in]{geometry} % 1in margins
\usepackage{mathptmx} % Times font
\usepackage{fancyhdr} % Custom header
\setlength{\columnsep}{0.5 in} % Column seperation
\linespread{0.9} % Smaller line spacing
\usepackage{sectsty} % For \allsectionsfont
\allsectionsfont{\normalsize\centering\mdseries} % All default (medium)
\usepackage{graphicx} % Graphics for \graphicspath
\graphicspath{{images/}} % Images directory
\usepackage[compact]{titlesec} % Section header spacing
\titlespacing{\section}{0pt}{1ex}{0.5ex}
\titlespacing{\subsection}{0pt}{1ex}{0.5ex}
\titlespacing{\subsubsection}{0pt}{1ex}{0.5ex}
\usepackage{tabu} % Tables
\usepackage{xcolor} % Table coloring (grey)
\usepackage[font=scriptsize]{caption} % Figure captions
\newcounter{EqnNum} % Equations, counter
\newcommand{\eqn}[3]{ % Equation macro
\stepcounter{EqnNum}
\vspace{3mm}
\noindent\parbox{.667\columnwidth}{\hfill#1\hfill}\parbox{.333\columnwidth}{\hfill[\theEqnNum]}
\begin{flushright}
\scriptsize(#2)
\end{flushright}
\footnotesize\vspace{-3mm}Where:\par#3\vspace{3mm}
\normalsize
}
\renewcommand{\figurename}{Fig} % Caption name
\newcommand{\img}[2]{ % Figure macro with caption
\begingroup
\noindent\centering\includegraphics[width=\columnwidth]{#1}
\def\temp{#2}\ifx\temp\empty\else
\vspace{-7mm}
\captionof{figure}{\scriptsize #2}
\fi
\vspace{1ex}
\endgroup
}
\usepackage{blindtext}
\begin{document}
% Header
\thispagestyle{empty}
\pagestyle{fancy}
\cfoot{}
\renewcommand{\headrulewidth}{0pt}
\chead[\textit{Kim et al}]{\textit{Dynamics of Fluids in Rolling Cylindrical Containers}}
\lhead[\thepage]{}
\rhead[]{\thepage}
\begin{center} % Names and titles
\LARGE % Title 20pt
\textsc{Dynamics of Fluids in Rolling Cylindrical Containers}\\
\normalsize % Members 12pt
\vspace{5mm}
\textsc{M. Kim}\\
\textit{\scriptsize Data Analyst}\\
\textsc{A. Lee}\\
\textit{\scriptsize Data Recorder}\\
\textsc{D. Pekar}\\
\textit{\scriptsize Theoretical Analyst}\\
\textsc{K. Pulogarajah}\\
\textit{\scriptsize Data Processor}\\
\textsc{G. Winch}\\
\textit{\scriptsize Theoretical Analyst}\\
\vspace{3mm}
\scriptsize % Date 8pt
(Received 6 October 2015)\\
\end{center}
\begin{quotation} % Abstract
\scriptsize
\blindtext
\end{quotation}
\begin{multicols*}{2} % Main
\captionsetup{width=0.9\columnwidth} % Caption width
\section*{\textsc{I Introduction}}
\blindtext
\eqn{$T = \frac{1}{2}mv^2 + I\omega^2$}{Halliday, 2011}
{T = Total Kinetic Energy (J)\\
\indent m = Mass of the object (kg)\\
\indent v = Linear velocity of object (ms$^{-1}$)\\
\indent I = Rotational Inertia (kg m$^{2}$)}
\blindtext
\begingroup
\noindent
\extrarowsep=_3pt^3pt
\begin{tabu} to \linewidth{|[2.75pt gray]@{}c@{}|X[1,c]|X[1,c]|[2.75pt gray]}
\tabucline[2.75pt gray]-
\textsc{} & \textsc{Cream} & \textsc{Consomme} \\ \hline
Mass(g) & 345.2$\pm .2$ & 343.6$\pm .2$ \\ \hline
Diameter(mm) & 66.14$\pm .02$ & 66.14$\pm .02$ \\ \hline
Height(cm) & 95.42$\pm .02$ & 95.42$\pm .02$ \\ \hline
R$_Sh$ S$_T$(m) & 1.7$\pm .1$ & 2.2$\pm .1$ \\ \hline
R$_St$ S$_T$(m) & 5.2$\pm .4$ & 2.9$\pm .2$ \\
\tabucline[2.75pt gray]-
\end{tabu}
\vspace{-3mm}
\captionof{figure}{\scriptsize Lorem ipsum dolor sit amet, consectutuer adipiscing elit. Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra sollicitudin.}
\endgroup
\img{Consomme2}{Lorem ipsum dolor sit amet, consectutuer adipiscing elit. Etiam lobortis facilisis sem. Nullam nec mi et neque pharetra sollicitudin.}
\section*{\textsc{II Theory}}
\section*{\textsc{III Method}}
\section*{\textsc{IV Data}}
\section*{\textsc{V Analysis}}
\subsection*{\textsc{5.1 Subsection}}
\section*{\textsc{VI Sources of Error}}
\section*{\textsc{VII Conclusion}}
\section*{\textsc{VIII Sources}}
\footnotesize
\textit{Halliday \& Resnick, ”Fundamentals of Physics 9$^{th}$ Ed”, 2011}
\end{multicols*}
\end{document}
You can’t perform that action at this time.