Simple Draft Manuscript Template with Line Numbers
Author
Daniel Rothenberg
Last Updated
9 years ago
License
Creative Commons CC BY 4.0
Abstract
Simple template for generating drafts of papers and articles with line numbers.
Simple template for generating drafts of papers and articles with line numbers.
%
% Simple template for generating drafts of papers and articles
%
\documentclass[12pt,]{article}
\usepackage{authblk}
\usepackage{fullpage}
\usepackage{amssymb,amsmath}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{siunitx}
\usepackage[version=3]{mhchem}
\usepackage{natbib}
\bibliographystyle{ametsoc2014}
\usepackage[left]{lineno}
\linenumbers
\usepackage{setspace}
\doublespacing
\usepackage[unicode=true]{hyperref}
\hypersetup{breaklinks=true,
bookmarks=true,
colorlinks=false,
pdfborder={0 0 0}}
\urlstyle{same} % don't use a different (monospace) font for urls
\setcounter{secnumdepth}{5}
\usepackage{graphicx}
\graphicspath{{figures/}}
% Redefine \includegraphics so that, unless explicit options are
% given, the image width will not exceed the width or the height of the page.
% Images get their normal width if they fit onto the page, but
% are scaled down if they would overflow the margins.
\makeatletter
\def\ScaleWidthIfNeeded{%
\ifdim\Gin@nat@width>\linewidth
\linewidth
\else
\Gin@nat@width
\fi
}
\def\ScaleHeightIfNeeded{%
\ifdim\Gin@nat@height>0.9\textheight
0.9\textheight
\else
\Gin@nat@width
\fi
}
\makeatother
\setkeys{Gin}{width=\ScaleWidthIfNeeded,height=\ScaleHeightIfNeeded,keepaspectratio}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Manuscript Title}
\author[1]{Author Name}
\affil[1]{Author Affiliation}
\date{\today}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\newpage
\section*{Abstract}
ut vel nibh sagittis donec porttitor sagittis orci cras tempor parturient purus quisque risus nullam non vulputate turpis quis non vitae id sit eget massa commodo etiam pharetra magna ante tincidunt eget ullamcorper dui a sed adipiscing nec nec euismod sit ante mus mattis mollis cursus in placerat lacus odio fusce libero non fringilla morbi sem massa at libero sed justo faucibus tellus amet vivamus vestibulum vestibulum mi proin libero vel scelerisque amet nam sem ornare pellentesque ac vestibulum nonummy orci nulla id ligula sit porttitor sed quis ut posuere amet pellentesque morbi at tincidunt vel elementum neque netus habitant ridiculus tempus vel elit et sollicitudin lacinia at id lobortis ac non mollis nec sapien nisl dictum ipsum sociosqu pede eu sit semper dapibus in pede habitant neque vestibulum nullam vehicula sociis posuere aliquam ac ac enim sed suspendisse ac nunc integer ut lectus enim suspendisse lorem ut pellentesque purus sapien sed parturient morbi numquam nibh vitae morbi ut ut elit et lorem ligula torquent nec morbi nunc nisl libero sapien maecenas quis dui pretium mollis quam sint pellentesque at voluptate nunc neque in rhoncus tincidunt ipsum neque odio at iaculis iaculis maecenas felis tortor velit et rhoncus quis eleifend porta quisque vestibulum sagittis semper enim viverra scelerisque praesent ea praesent quis nec eget posuere elit nunc metus varius justo sit aliquet fermentum mattis risus quis ante risus a quis mauris blandit orci urna arcu pellentesque suspendisse in magna dolor turpis sed et vivamus nunc fringilla dictum eu magna massa
\newpage
\section{Section 1}
\subsection{Subsection 1.1}
Lorem ipsum dolor sit amet, elementum pharetra dui volutpat ligula, risus et repellat penatibus, eget sapien viverra eget, sed fringilla sed arcu ut. Morbi mollis et accumsan, ullamcorper quis euismod sed ipsum, lorem nam iaculis faucibus, et donec diam eleifend convallis. Lacus non augue sed mollis, purus nunc faucibus eros. Nibh eleifend nullam placerat, magna quam tellus pellentesque \citep{article-full}, convallis amet amet libero vestibulum, integer bibendum maecenas sodales eget. Vivamus tellus in quisque felis, ac ipsum non neque.
Nonummy potenti id aliquet, phasellus per a pellentesque nisl, feugiat convallis non commodo. Integer aut auctor donec, iaculis elit nunc amet, in sed mi interdum, tortor etiam lacus rutrum penatibus. Eget montes metus velit commodo, sed quisque cras libero quisque, aliquet accumsan mauris nunc, libero ullamcorper pretium vehicula amet. Viverra sit non tristique, sollicitudin at massa magna vel. Lacus pellentesque lectus suscipit suspendisse, lectus rhoncus vel et dolor. Tempor nec sed viverra amet, ac mattis dolor enim, metus ipsum sapien cras \citep{article-minimal}.
Vestibulum nec faucibus facilisis aliquet, luctus adipiscing cursus lectus. Risus pede lacus accumsan, lacus aliquam tincidunt integer. Lorem pellentesque dolor fringilla mollis, cras id justo praesent vestibulum, at duis aptent dapibus eros. In et nisl integer, et primis vel quis, sem elementum suspendisse mi. Sit etiam laoreet viverra quam, ac urna fermentum massa congue, lectus non ultricies vehicula conubia, sem quam dui nunc sem.
\newpage\clearpage
\section*{Tables}
(insert any tables here)
\section*{Figures}
(insert any figures here)
\begin{figure}[t]
\noindent
\includegraphics[width=\textwidth]{fish.pdf}
\caption{This is a caption for your figure. Here, have some fish.}
\label{fig:figure_label}
\end{figure}
\newpage\clearpage
\renewcommand\refname{References}
% This is the default "example" bibtex file which ships with the distribution. Be sure to
% comment out the following line if you want to disable citing all bibtex entries by
% default.
\bibliography{xampl.bib}
\newpage
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%