Document · 1 file
Sample LaTeX File
LaTeX source for scientific and technical typesetting. This standalone document compiles with pdflatex, xelatex or lualatex.
LaTeX · 8.2 KB
LaTeX document
Standalone LaTeX source with sections, lists, a table and a code listing. Compile with pdflatex or xelatex.
CC0 · free for any use · Verified by an independent tool · Report a problem
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
\documentclass[
english,
]{article}
\usepackage{xcolor}
\usepackage{amsmath,amssymb}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math} % this also loads fontspec
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}File details
Download from the command line
curl -L -o sample.tex https://files.samplefiles.com/document/tex/sample.texwget https://files.samplefiles.com/document/tex/sample.texhttps://files.samplefiles.com/document/tex/sample.texprintf '%s %s\n' e984280af678015fcbd514e34a13eabeb81cd271e72f8086d57928afe53a7da8 sample.tex | shasum -a 256 -cOr check the download in your browser with the checksum calculator.