Here is a cover letter as shown except for the date location (maybe someone can advice us on how to change its location unless that doesn't matter).
In the main document, you add \usepackage{pdfpages}
and where you want the letter you put \includepdf[pages = 1]{coverletter.pdf}
. The pages =
option is what page you want to insert the cover letter.
Here is a link to the package documentation: http://www.ctan.org/pkg/pdfpages
\documentclass[11pt]{letter}
\usepackage{newcent}
\usepackage{lipsum}
% Margins
\topmargin = -1in
\textheight = 8.5in
\oddsidemargin = -10pt
\textwidth = 6.5in
\let\raggedleft\raggedright
\begin{document}
\begin{letter}{
My Name\\
U of Research\\
Some address\\
Some city, state, and zip code\\
Some phone number\\
My e-mail address\\
\medskip
Dr. John Edit\\
Editor-in-Chief\\
\textit{Journal of Science}
}
\signature{
My Name\\
Professor, Dep ...\\
U of Research
}
\opening{Dear Dr. Edit:}
\lipsum[2-4]
\closing{Sincerely,}
\end{letter}
\end{document}
Here was a sample main.tex
I created.
\documentclass{article}
\usepackage{lipsum}
\usepackage[final]{pdfpages}
\usepackage{tocloft}
% this section enclosed was lifted from Alan Munn
\usepackage{fancyhdr}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancy}
%-------------------------------------------------
\cfoot{\thepage}
\begin{document}
\cleardoublepage
\tableofcontents
\includepdf[addtotoc = {1, section, 1, Cover Letter, coverl}, pagecommand =
{\thispagestyle{fancy}}]{coverletter.pdf}
% addtotoc has {section number (first so it occurs after the toc,
% type it could chapter, section, etc, level refers to chapter...,
% the name in toc, and reference label
\section{Two}
\lipsum[1-3]
\end{document}
Since this was 3 pages, I had to take unorthodox pictures to show it achieves your request.
Table of Contents correctly ordered:
Bottom of TOC page with letter following:
Bottom of the letter page numbered in correct order:
Bottom of the letter followed by the first section which has been indexed to the section 2.
You need to annotate \author
statements.
\author[ub]{First Author\corref{cor1}}
\author[psy-umr]{Other Second}
\author[a-umr]{Yet Another}
\author[a-umr]{And Another}
\author[d-umr]{Some One-Else}
\author[ub]{Princial Investigator}
\address[ub]{Some Institution}
\address[psy-umr]{Other}
\address[a-umr]{Different Institution}
\address[d-umr]{Last Institution}
\cortext[cor1]{Email: first@example.com}
Best Answer
For detailed information about the properties and options of the
elsarticle
document class, I recommend you bring up a command window and typeand start reading the user guide for this document class.
For sure, I would not specify the options
final
,5p
, andtwocolumn
. Instead, I would tryThe default options, i.e., those that needn't be specified explicitly in order to be in effect, are
a4paper
,10pt
,oneside
,onecolumn
andpreprint
. For a journal submission, it may also be unnecessary to specifytimes
(an option for the text font to be used in the document).