LaTeX Reference
Typeset Manuscripts with LaTeX
Download TeXworks
Select the TeXworks distribution for your machine
Open the installer and follow the instructions
Sample Code
% PREAMBLE
\documentclass[10pt,twoside,onecolumn,openany,extrafontsizes]{memoir} %ADD 'draft' TO
OPTIONS TO SEE OVERFULL LINES
% FONT OPTIONS
\usepackage[utf8x]{inputenc} %TIGHTEN FONT INPUT
\usepackage[T1]{fontenc} %SUPPORT FONT ENCODING
\usepackage{Alegreya} %USE ALEGREYA FONT
\renewcommand*\oldstylenums[1]{{\AlegreyaOsF #1}} %USE ALEGREYA OLD STYLE NUMBERS
% PACKAGES
\usepackage{microtype} %MANAGE WIDOWS AND MORE
\usepackage{setspace} %MANAGE SPACING AND MORE
\usepackage{lettrine} %INSERT DROPCAPS
\usepackage{graphicx} %INSERT GRAPHICS
\usepackage{fancyhdr} %MANAGE HEADERS AND FOOTERS
%\usepackage{lineno} %INSERT LINE NUMBERS
% CUSTOM COMMANDS
%CREATE SCENE BREAK COMMAND:
\newcommand{\scenebreak}[0]{\vspace{\baselineskip}\noindent\hfill\includegraphics
[height=11pt]{LogoWhite}\hfill\vspace{\baselineskip}}
%\newcommand{\chaptersytle}{article} %SET STYLE OF CHAPTER
% SPACING
\setlength{\parskip}{0em} %SET SPACE BETWEEN PARAGRAPHS
\linespread{1.09} %SET LINE SPACING
%\linenumbers %INSERT LINE NUMBERS
% AVOID WIDOW LINES
%\setlength{\topskip}{1.6\topskip}
%\checkandfixthelayout
%\sloppybottom
% PHYSICAL SETUP
\setstocksize{9in}{6in}
\settrimmedsize{9in}{6in}{*}
\setbinding{0.175in}
\setlrmarginsandblock{0.833in}{.9in}{*}
\setulmarginsandblock{0.8in}{1.2in}{*}
% AUTHOR, TITLE, PRESS
\title{Typesetting in \LaTeX}
\author{Author Name}
\newcommand{\ISBN}{000-0-0000000-0-0}
\newcommand{\press}{Your Press}
% SECOND TITLE PAGE
\makeatletter
\newcommand*\halftitlepage{\begingroup
\setlength\drop{0.1\textheight}
\begin{center}
\vspace*{\drop}
\rule{\textwidth}{0in}\par
{\Large\textsc\thetitle\par}
\rule{\textwidth}{0in}\par
\vfill
\end{center}
\endgroup}
\makeatother
% TITLE PAGE
\thispagestyle{empty}
\makeatletter
\newlength\drop
\newcommand*\titleM{\begingroup
\setlength\drop{0.15\textheight}
\begin{center}
\vspace*{\drop}
\rule{\textwidth}{0in}\par
{\HUGE\textsc\thetitle\par}
\rule{\textwidth}{0in}\par
{\Large\textit\theauthor\par}
\vfill
\includegraphics[height=24pt]{LogoWhite}\par
\vspace{12pt}
{\Large\scshape\press}
\end{center}
\endgroup}
\makeatother
% HEADERS AND FOOTERS
\nouppercaseheads
\headsep = 0.16in
\makepagestyle{mystyle}
\setlength{\headwidth}{\dimexpr\textwidth+\marginparsep+\marginparwidth\relax}
\makerunningwidth{mystyle}{\headwidth}
\makeevenhead{mystyle}{}{\footnotesize\scshape{\theauthor}}{}
\makeoddhead{mystyle}{}{\footnotesize\scshape{\thetitle}}{}
\makeevenfoot{mystyle}{}{\footnotesize\thepage}{}
\makeoddfoot{mystyle}{}{\footnotesize\thepage}{}
\makeatletter
\makepsmarks{mystyle}{
\createmark{chapter}{left}{nonumber}{\@chapapp\ }{.\ }}
\makeatother
\makepagestyle{plain}
\makerunningwidth{plain}{\headwidth}
\makeevenfoot{plain}{}{}{}
\makeoddfoot{plain}{}{}{}
\pagestyle{mystyle}
\def\blankpage{
\clearpage
\thispagestyle{empty}
\addtocounter{page}{-1}
\null
\clearpage}
% CONTENTS
\renewcommand\contentsname{\normalfont\scshape Contents}
\renewcommand\cftchapterfont{\normalfont}
\renewcommand{\cftchapterpagefont}{\normalfont}
\renewcommand{\printtoctitle}{\centering\Huge}
% LAYOUT
\checkandfixthelayout
\fixpdflayout
\begin{document}
\frontmatter
\pagestyle{empty}
% HALF TITLE PAGE
\halftitlepage
\clearpage
% TITLE PAGE
\titleM
\clearpage
% COPYRIGHT PAGE
\noindent{\small{This novel is entirely a work of fiction. BLAH, BLAH, BLAH.\par
\vfill\vspace{12pt}\noindent Edition info\\
ISBN\space\ISBN\space (ebook)\\
\copyright\space 2022\space\theauthor\\\par
\vspace{12pt}\noindent Other editions: ISBN 000-0-0000000-0-0 (paperback)---\\ISBN 000-
0-0000000-0-0 (hardcover)\par
\vspace{12pt}\noindent\theauthor\space asserts the moral right to be identified as the
author of this work. BLAH, BLAH, BLAH.\par}}
\clearpage
% DEDICATION
\begin{center}
\vspace*{144pt}
\noindent{\emph{For you}}
\vfill
\noindent{\tiny{Typset using \LaTeX.}}
\end{center}
% BEGIN FRONTMATTER PAGE NUMBERING
\pagestyle{mystyle}
\setcounter{page}{7}
% TABLE OF CONTENTS
\clearpage
\tableofcontents*
\mainmatter
%\noindent Hello world
\chapter{Lorem Ipsum}
\input{ch1}
\chapter{Dialogue}
\input{ch2}
\chapter{Drop Caps and Scene Breaks}
\input{ch3}
%\chapter*{Acknowledgments} %ADD A CHAPTER WITHOUT A CHAPTER NUMBER
%\addcontentsline{toc}{chapter}{Acknowledgments} %ADD AN UNNUMBERED CHAPTER TO THE TABLE
OF CONTENTS
%\input{} %INSERT FILENAME BETWEEN BRACKETS
%\chapter*{About the Author}
%\addcontentsline{toc}{chapter}{About the Author}
%\input{} %INSERT FILENAME BETWEEN BRACKETS
\end{document}
Helpful Resources
TeX files from the Chicon 8 workshop: main file, ch1, ch2, ch3
Levels from the Chicon 8 workshop:
Hello World, variables, commands, packages, documentclass
Physical setup and layout
Title page
Entering chapters (ch1)
Spacing
Fonts and font size
Dialogue (ch2)
Headers and footers, page numbering
Frontmatter
Dropcaps, scenebreaks
BONUS: table of contents
The LaTeX Project (definitive resource)
TeXworks (one of many TeX editors/compilers)
Overleaf (online LaTeX editor)