Skip to content
Novus Examples
tex874 B

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.

Preview — first 36 linestex
\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.

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