\documentclass{article}, define the title block and abstract, divide the body with \section and \subsection, and add figures, tables, and a bibliography. Standard article handles papers, essays, and preprints without extra setup.
Step 1: Set article class options
Without options, \documentclass{article} defaults to letterpaper, 10pt, oneside, onecolumn, and final. Pass comma-separated options in square brackets to adjust the base layout:
For custom margins or page dimensions beyond these defaults, load the
geometry package.
Step 2: Build the title block and abstract
Declare\title{...}, \author{...}, and \date{...} in the preamble, then print them inside the document body with \maketitle:
- Separate multiple authors with
\andand add line breaks for affiliations with\\. - Attach a footnote (such as a corresponding-author email) with
\thanks{...}. - Pass
\date{}to omit the date, or omit\dateentirely to print today’s date. - When several authors share numbered affiliations, load
\usepackage{authblk}and use\author[1]{Name}with\affil[1]{Institution}. - Place
\begin{abstract}...\end{abstract}right after\maketitle.
title-block.tex
Ready to use this syntax? Continue in the browser editor when you want to adapt the example in a real project.Open LaTeX Cloud Studio
Step 3: Divide the body into sections
Inarticle, \section is the top numbered heading level (\chapter is not defined and raises ! Undefined control sequence.). Subdivide with \subsection, \subsubsection, and \paragraph, use starred forms (\section*{Acknowledgments}) for unnumbered headings, and switch to lettered appendix sections with \appendix. For full numbering rules (secnumdepth, tocdepth, and short titles), see Sections and chapters. For inline and display equations, see LaTeX math basics.
Step 4: Add a figure, a table, and citations
Most articles combine four standard building blocks:- Figures: Load
\usepackage{graphicx}and wrap\includegraphicsinside afigureenvironment with\captionand\label(always place\labelafter\caption). See Inserting images and Figure positioning. - Tables: Load
\usepackage{booktabs}for\toprule,\midrule, and\bottomruleinsidetableandtabular. See Creating tables. - Cross-references: Refer to labels with
Figure~\ref{fig:flow}andTable~\ref{tab:peaks}(the~prevents a line break before the number). See Cross-referencing. - Citations: Store references in
references.bib, cite them with\cite{key}, and print the list with BibTeX (\bibliographystyleand\bibliography) or BibLaTeX. See Bibliography management with BibTeX and BibLaTeX guide.
Step 5: Compile the complete short article
This two-file example brings every step together—title block, abstract, sections, figure, table, cross-references, and a BibTeX reference list—using TeX Live’s built-inexample-image-a placeholder image:
main.tex
references.bib
pdflatex main, bibtex main, pdflatex main, pdflatex main) or latexmk -pdf main.tex. In LaTeX Cloud Studio, the compiler runs TeX Live 2026 (full distribution) with latexmk, so the bibliography and reference passes run automatically during a full compile.
Submitting to a journal
Many journals provide their own document class (such asIEEEtran, acmart, or elsarticle) along with author guidelines for class options, citation styles, and figure formats. Keep your draft in standard article until you choose a venue, then switch to the journal’s supplied class and follow its current instructions. For a broader academic paper workflow, see Writing a research paper.
Related guides
- Sections and chapters
- Inserting images
- Creating tables
- Bibliography management with BibTeX
- Writing a research paper
main.tex with the complete example, and add references.bib to the project.