I'm new to LaTeX and I want create a report for my college. The format specified is as follows:
- Left Margin – 1.5 inch
- Right Margin – 0.5 inch
- Top Margin – 1 inch
- Bottom Margin – 1 inch
- Font – Times New Roman
- All main headings uppercase 14 (Bold)
- All Sub main headings uppercase 12 (Bold)
- Matter 12 (Regular)
- Line Spacing – 1.5
- Paragraph Spacing 1.5
- Each table and figure should be numbered
For margins I've used the following code:
\usepackage[top=1.00in, bottom=1.00in, left=1.50in,right=0.50in]{geometry}
But I don't know what to do for the rest.
Best Answer
Summarizing and combining the comments that have been posted so far, the following setup may work for you. It assumes that you're using pdfLaTeX and that you have a reasonably current TeX distribution. (If you use XeLaTeX or LuaLaTeX, different instructions would apply for the font-loading portion of the preamble.)
There's one crucial piece of information missing in what you've provided so far: The size of the page. Is it A4, A5, US Letter, US Legal, or something else? You should provide this piece of information when loading the
geometry
package.By the way, do note that opinions vary greatly on what exactly "line spacing 1.5" means. In the code below, I suggest using
\setstretch{1.5}
. However,\onehalfspacing
(to be executed immediately after\begin{document}
) may in fact be more appropriate for you. I suggest checking back with your college to clarify what is required.It's also not clear to me what "Paragraph spacing 1.5" is supposed to mean. For now, I'm suggesting keeping interparagraph and intraparagraph line spacing the same. However, it may turn out that what's required is that interparagraph line spacing must be 50% larger than intraparagraph spacing; if that's the case, add the instruction
\setlength\parskip{0.5\baselineskip}
-- and prepare yourself for some really ugly-looking documents...