Let
X
Journal
Category Archive

LATEX

·2 min read

Fix 'Missing $ Inserted' & Math-Mode Errors in LaTeX

'Missing $ inserted' means you used a math command outside math mode. Wrap the expression in $...$ or fix an unclosed dollar sign. Full causes and fixes inside.

latexerrors
Open →
·2 min read

Fix Overfull & Underfull \hbox Warnings in LaTeX

An 'Overfull \hbox' warning means a line is too wide to break cleanly, often a long word or URL. Fix it with hyphenation hints, microtype, or rewording.

latexwarnings
Open →
·2 min read

How to Write Chemistry Formulas in LaTeX (mhchem)

To typeset chemical formulas in LaTeX, load mhchem and write \ce{H2O} or \ce{2H2 + O2 -> 2H2O}. It handles subscripts, charges, and reaction arrows.

latexchemistry
Open →
·2 min read

How to Color Text & Tables in LaTeX (xcolor)

To color text in LaTeX, load the xcolor package and use \textcolor{red}{text}. Color table rows, cells, and define custom colors with HTML hex codes.

latexcolor
Open →
·2 min read

Write a Cover Letter & Academic Email in LaTeX

To write a cover letter in LaTeX, use the letter class or moderncv's letter mode for an address block, date, salutation, and signature. Templates inside.

latexcover-letter
Open →
·3 min read

Fix Common LaTeX Errors: Undefined Control Sequence

'Undefined control sequence' means LaTeX hit a command it doesn't recognize — usually a typo or a missing package. Here's the fix, plus the top 15 LaTeX errors.

latexerrors
Open →
·2 min read

How to Change Fonts in LaTeX (fontspec & packages)

To change fonts in LaTeX, load a font package like lmodern or newtxtext with pdfLaTeX, or use fontspec with XeLaTeX/LuaLaTeX to load any system OpenType font.

latexfonts
Open →
·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 →
·2 min read

Numbered & Bulleted Lists in LaTeX (enumitem)

Make lists in LaTeX with the itemize and enumerate environments; use the enumitem package to customize labels, spacing, and numbering. Copy-paste examples inside.

latexlists
Open →
·2 min read

LaTeX Page Layout: Margins with geometry

To set margins in LaTeX, load the geometry package and specify them, e.g. \usepackage[margin=1in]{geometry}. Control paper size, binding offset, and more.

latexlayout
Open →
·2 min read

How to Add an Appendix in LaTeX

To add an appendix in LaTeX, use the \appendix command before your appendix sections — it switches numbering to A, B, C automatically. Full setup inside.

latexappendix
Open →
·2 min read

hyperref: Clickable Links, Bookmarks & PDF Metadata

Load the hyperref package last to make every \ref, \cite, and URL clickable in the PDF, add bookmarks, and set document metadata. Setup and options inside.

latexhyperref
Open →
·2 min read

How to Add Footnotes & Margin Notes in LaTeX

To add a footnote in LaTeX, use \footnote{text} where the mark should appear. Use \marginpar or the marginnote package for notes in the margin.

latexfootnotes
Open →
·2 min read

Two-Column Layout in LaTeX (multicol & twocolumn)

For a two-column LaTeX layout, use the twocolumn class option for the whole document or the multicol package for balanced columns in part of a page.

latexlayout
Open →
·2 min read

How to Write Algorithms & Pseudocode in LaTeX

To typeset pseudocode in LaTeX, use the algorithm float with algpseudocode (algorithmicx) or the algorithm2e package. Copy-paste templates for both inside.

latexalgorithms
Open →
·2 min read

LaTeX for Data Science: Tables From CSV & pandas

Generate LaTeX tables from data automatically: use pandas df.to_latex() or the csvsimple package to import a CSV directly, so your tables update with your data.

latexdata-science
Open →
·2 min read

Multi-File LaTeX Projects: \input vs \include

Use \input{file} to insert content inline and \include{file} for chapters on a new page with selective compilation via \includeonly. Here's when to use each.

latexstructure
Open →
·2 min read

Why Researchers Are Leaving Overleaf in 2026

In 2026, researchers are leaving Overleaf for editors with faster real-time collaboration and AI assistance. Here's an honest look at the shift and your options.

latexoverleaf
Open →
·3 min read

AI LaTeX Editor: Write Papers Faster With AI (2026)

An AI LaTeX editor autocompletes equations, suggests citations, and fixes compile errors as you write. Here's what AI adds to LaTeX in 2026 — and its limits.

latexai
Open →
·2 min read

Track Changes & Comments in Collaborative LaTeX

Collaborative LaTeX tools let co-authors comment and track changes inline, like Google Docs for papers. Use changes, latexdiff, or live comments — here's how.

latexcollaboration
Open →
·2 min read

Collaborative LaTeX for Universities & Research Labs

Universities use collaborative LaTeX so students and supervisors co-write theses and papers in real time. Here's how to roll it out across a lab or department.

latexuniversities
Open →
·2 min read

Springer LaTeX Template: sn-jnl Setup Guide (2026)

Springer Nature journals use the sn-jnl class. Set \documentclass[pdflatex]{sn-jnl} with the right reference style, and avoid the #1 cause of compile failures.

latexspringer
Open →
·3 min read

How to Submit a LaTeX Paper to arXiv (2026)

To submit to arXiv, flatten your project to one folder, include the pre-compiled .bbl file, embed all fonts, and upload the source — arXiv compiles with pdfLaTeX.

latexarxiv
Open →
·2 min read

From Markdown to LaTeX: Convert & Publish Sci Docs

Convert Markdown to LaTeX with Pandoc using pandoc -o out.tex in.md, then refine and compile to a polished PDF. Full command reference and workflow inside.

latexmarkdown
Open →
·2 min read

Manage References With LetX: Zotero → Bibliography

Export a .bib file from Zotero and cite it in LaTeX with \cite{} for an auto-formatted bibliography. Here's the full Zotero-to-LaTeX workflow, step by step.

latexzotero
Open →
·2 min read

BibTeX vs BibLaTeX: Which to Use and How

BibLaTeX is the modern successor to BibTeX, offering Unicode and flexible styles via biber. Here's a clear decision guide and working setup for both.

latexbibtex
Open →
·2 min read

LaTeX vs Word for Scientific Writing: When Each Wins

LaTeX beats Word for math, references, and long structured documents; Word wins for quick prose and tracked-changes review. Here's an honest decision guide.

latexword
Open →
·2 min read

How to Compile LaTeX Online (No Install Needed)

You can compile LaTeX online in the browser with LetX — paste your source, get an instant PDF, no TeX install. Here's how online compiling works vs a local setup.

latexcompile
Open →
·2 min read

Best Overleaf Alternatives in 2026

The best Overleaf alternatives in 2026 are online LaTeX editors like LetX that add faster real-time collaboration. Here's how the options compare on what matters.

latexoverleaf
Open →
·2 min read

Real-Time Collaboration in LaTeX: Write Together

Real-time collaborative LaTeX lets multiple authors edit the same document live with shared compile. Here's how it works and how to co-write a paper.

latexcollaboration
Open →
·3 min read

LetX vs Overleaf: Real-Time Collaborative LaTeX

LetX is a real-time collaborative LaTeX editor and Overleaf alternative with instant compile and live co-editing. Here is an honest feature-by-feature comparison.

latexoverleaf
Open →
·2 min read

LaTeX Beamer: Make Presentation Slides Like a Pro

Beamer turns LaTeX into slides: use \documentclass{beamer} and one frame environment per slide. Add themes, overlays, and columns for polished talks.

latexbeamer
Open →
·2 min read

How to Write a Lab/Engineering Report in LaTeX

A LaTeX lab report uses sections for aim, method, results with tables and figures, and references. Copy this template and checklist to write reports fast.

latexreport
Open →
·2 min read

How to Write an IEEE Conference Paper in LaTeX

Use the IEEEtran class for IEEE papers: set \documentclass[conference]{IEEEtran} for the two-column format, add your sections, and cite with the IEEE style.

latexieee
Open →
·2 min read

How to Create a Resume/CV in LaTeX (Templates)

To build a LaTeX résumé, start from a CV class like moderncv or a clean custom template, fill in your sections, and compile to a polished PDF. Templates inside.

latexresume
Open →
·2 min read

LaTeX Thesis Template: Format Your Dissertation Fast

A LaTeX thesis uses the report or book class with front matter, numbered chapters, and a bibliography. Copy this structure to format your dissertation fast.

latexthesis
Open →
·2 min read

Add a Table of Contents, List of Figures in LaTeX

To add a table of contents in LaTeX, place \tableofcontents after your title and compile twice. Add \listoffigures and \listoftables the same way.

latexstructure
Open →
·2 min read

How to Typeset Matrices & Vectors in LaTeX

To write a matrix in LaTeX, use the pmatrix, bmatrix, or vmatrix environment from amsmath. Vectors use \vec or \mathbf. Copy-paste templates for both inside.

latexmath
Open →
·2 min read

How to Draw Diagrams in LaTeX With TikZ

TikZ is LaTeX's native drawing package. Draw inside a tikzpicture using coordinates, nodes, and edges to make flowcharts, graphs, and plots that scale perfectly.

latextikz
Open →
·3 min read

LaTeX Math Symbols: The Complete Reference

The complete LaTeX math symbol reference: Greek letters, operators, relations, arrows, sets, and accents — with the exact command for each, ready to copy.

latexmath
Open →
·2 min read

LaTeX for Beginners: Your First Document in 10 Min

LaTeX is a typesetting system for technical documents. Your first file needs \documentclass and a document environment. Build a complete page in ten minutes.

latexbeginners
Open →
·2 min read

How to Write Math Equations in LaTeX (Cheat Sheet)

Write math in LaTeX with inline $...$ or display \[...\]; use the align environment for multi-line equations. Full symbol and operator cheat sheet inside.

latexmath
Open →
·2 min read

How to Insert and Position Images in LaTeX

To add an image in LaTeX, load graphicx and use \includegraphics inside a figure environment. Control placement with float specifiers h, t, b, and p.

latexfigures
Open →
·2 min read

How to Make Tables in LaTeX (Complete Guide)

To make a table in LaTeX, use the tabular environment with column specifiers, and add booktabs rules for clean lines. Copy-paste templates for every table type.

latextables
Open →
·3 min read

How to Add Citations and a Bibliography in LaTeX

To cite in LaTeX, store references in a .bib file and use \cite{key} with BibLaTeX or BibTeX, then print the list with \printbibliography. Full setup inside.

latexbibtex
Open →
·3 min read

How to Write a Research Paper in LaTeX (2026 Guide)

To write a research paper in LaTeX, start from \documentclass{article}, structure with sections, cite with BibLaTeX, and compile to PDF in LetX for instant preview.

latexresearch
Open →