Let
X
Journal
Continuing Transmissions

Journal Archive — Page 3

·2 min read

Headers & Footers in LaTeX with fancyhdr

To customize headers and footers in LaTeX, load the fancyhdr package, set the page style to fancy, and define left/center/right content for each. Full setup inside.

latexheaders
Open →
·2 min read

Insert PDF Pages into a LaTeX Document (pdfpages)

To insert PDF pages into LaTeX, load the pdfpages package and use \includepdf[pages=-]{file.pdf}. Select pages, add them to the TOC, and scale to the layout.

latexpdf
Open →
·2 min read

How to Add Code Listings in LaTeX (listings & minted)

To add syntax-highlighted code in LaTeX, use the listings package or minted (which calls Pygments). Set the language, import files, and caption code blocks.

latexcode
Open →
·2 min read

Cross-Referencing in LaTeX with \label and \ref

To cross-reference in LaTeX, mark targets with \label{key} and cite with \ref{key} for the number or \pageref{key} for the page. cleveref adds the type word.

latexcross-reference
Open →
·2 min read

Custom Commands & Macros in LaTeX (\newcommand)

Define custom commands in LaTeX with \newcommand to save typing and keep notation consistent. Add arguments, defaults, and environments — full guide inside.

latexmacros
Open →
·2 min read

Line Spacing & Double Spacing in LaTeX (setspace)

To double-space a LaTeX document, load the setspace package and use \doublespacing, or \onehalfspacing for 1.5. Apply spacing to the whole document or a section.

latexspacing
Open →