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.
Related 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.

- sbvSBV Captions (YouTube)A YouTube SBV caption file — start,end timestamp lines followed by caption text — carrying the same three captions, for testing SBV parsers and YouTube caption import.

- ssaSSA Subtitles (SubStation Alpha)A SubStation Alpha (.ssa) subtitle — the predecessor of ASS — with a V4 styles section and timed Dialogue events, carrying the same captions, for testing SSA parsers and SSA-to-ASS upgrades.

- ttmlTTML Captions (DFXP)A TTML (Timed Text Markup Language / DFXP) caption document — timed XML paragraphs with a styling region — carrying the same captions, for testing XML caption parsers and IMSC players.

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