LaTeX Article (TEX source)
A small LaTeX article source with an abstract, a numbered equation (the Nyquist criterion), and a table — for testing LaTeX editors, syntax highlighters, and TeX-to-PDF pipelines.
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage[margin=1in]{geometry}
\title{A Short Note on Sampling}
\author{Novus Examples}
\date{January 2026}
\begin{document}
\maketitle
\begin{abstract}
This is a sample \LaTeX{} document for testing editors, linters, and TeX-to-PDF pipelines.
\end{abstract}
\section{Introduction}
Sampling converts a continuous signal into a discrete sequence. The Nyquist theorem
requires the sampling rate $f_s$ to satisfy
\begin{equation}
f_s > 2 f_{\max},
\end{equation}
where $f_{\max}$ is the highest frequency present in the signal.
\section{A Small Table}
\begin{tabular}{lr}
\hline
Rate (kHz) & Bits \\
\hline
44.1 & 16 \\
48.0 & 24 \\
96.0 & 24 \\
\hline
\end{tabular}
\section{Conclusion}
Choose $f_s$ and bit depth to match the signal and the use case.
\end{document}
Specifications
- Format
- LaTeX
- Documentclass
- article
- Features
- sections, equation, tabular
What is a .tex file?
TeX/LaTeX is a plain-text typesetting language widely used for scientific and technical documents. A .tex source file describes structure (sections, lists, tables), mathematics, and references with markup commands, and a TeX engine compiles it — usually to PDF. It is the standard in mathematics, physics, and academic publishing.
How to use this file
Use an example .tex file to test LaTeX editors and linters, syntax highlighting, and source parsing, or as input for a TeX-to-PDF or TeX-to-HTML conversion pipeline.
How to use this file for testing
“LaTeX Article (TEX source)” is a deterministic Novus Examples fixture for Editor testing, Conversion testing. Text-based files you can open, edit, and download directly in the browser editor.
Documented properties for this file: LaTeX. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
Document fixtures list their internal structure (pages, fields, tracked changes, embedded objects) in the spec table. Test extractors, converters, and OCR against that known structure, and compare searchable↔scanned or format-twin companions when present.
Code examples
pdflatex article.tex # -> PDF
tectonic article.tex # modern, self-containedRelated files
- adocAsciiDoc Guide (ADOC source)An AsciiDoc getting-started guide with source blocks, an admonition, and a table — for testing AsciiDoc renderers (Asciidoctor), editors, and conversion to HTML/PDF.

- rstreStructuredText Doc (RST source)A reStructuredText document with directives, a code block, a note admonition, and a table — for testing docutils/Sphinx rendering, reST parsers, and editors.

- assASS Subtitles (Advanced SSA)An Advanced SubStation Alpha (.ass) subtitle with a styles section and three timed Dialogue events — the styled format libass renders — carrying the same captions as the SRT/VTT twins.

- mdLegal Markdown — Accessibility StatementFictional SAMPLE legal/policy markdown (accessibility-statement) — not legal advice.

- mdLegal Markdown — Cookie Notice SampleFictional SAMPLE legal/policy markdown (cookie-notice-sample) — not legal advice.

- mdLegal Markdown — Dpa Definitions SampleFictional SAMPLE legal/policy markdown (dpa-definitions-sample) — not legal advice.

Generated by generation/docs_realworld.py. Free for any use, no attribution required — license.