gemini-2.5-flash| input-price: 0.3 output-price: 2.5 max-context-length: 128_000 (cost: $0.02) · Anfrage: 2025-09-13T08:47:31.050371
Generated by rs-summarizer Version unbekannt
Abstract:
This presentation, titled "LaTeX for Latex Fetishists," is a comprehensive guide by Hans Schülerin on proper LaTeX typesetting, with a strong emphasis on adhering to established style guides for both mathematical notation and general text. The speaker, a self-proclaimed lover of rules, details numerous common LaTeX mistakes and offers typographically correct solutions, often leveraging specific packages and commands. Key areas covered include the correct use of multiplication symbols, operators, units, punctuation, quotation marks, dashes, table formatting, and image placement, alongside practical package recommendations to enhance document quality and consistency. The overarching message encourages users to consult and follow their respective style guides rather than relying on default LaTeX behaviors.
Summarizing LaTeX for Latex Fetishists: Mastering Typographical Precision
\cdot (center dot) should be used instead of a simple asterisk (*) to ensure correct typographic appearance, with options for spacing.\theta vs. \vartheta) and choose intentionally. Lowercase Greek letters are typically italic, while uppercase are often upright in standard LaTeX.\log, \sin) should use dedicated LaTeX commands or be defined with \DeclareMathOperator to ensure correct spacing and upright text.M), while identifiers, labels, and physical constants (e.g., "Earth" in M_{\text{Earth}}, e, i, \pi in some contexts) should be upright. Use \mathrm or custom commands like \newcommand{\e}{\mathrm{e}} for consistency.\text{...} to apply the document's text font and ensure correct spacing, as opposed to \mathrm which uses the math font.\vec) or in bold (\mathbf). The DIN 80000-2 standard is cited for specific rules on scalars (italic, lowercase), vectors (bold or arrow), and matrices/tensors (capital, italic, bold or double arrow).\left and \right to automatically scale brackets around large expressions. For manual control or consistent sizing across different expressions, \big, \Big, \bigg, \Bigg commands are available. The modify_left_right package can fix spacing issues with \left/\right.siunitx Package: The siunitx package is highly recommended for typesetting numbers and units correctly. It ensures proper spacing between numbers and units, uses upright units, handles prefixes (e.g., kHz), and is highly configurable.V [m/s] to denote units, as [Q] mathematically represents the unit of quantity Q. Instead, use V / (m/s) or t / s for clarity in graphs and text.siunitx allows setting output-decimal-marker = {comma} for consistent output.\times (e.g., \qtyproduct{210 x 297}{mm}) from siunitx for correct representation and spacing, not the letter 'x'.siunitx package's \qty command for degrees and Celsius (e.g., \qty{36}{\celsius}) to ensure correct spacing (no space before \deg, a small space before \degC).d in Integrals: The differential d in integrals should be upright (\mathrm{d}). Packages like physics or diffcoeff provide commands for this, or it can be a custom operator. Style guides often demand a small space between d and the variable.T (e.g., \mathrm{T} in a \transposed new command) in the superscript, rather than a simple italic T, to clearly distinguish it as an operator.\begin{align} and \begin{split} from the amsmath package for multi-line equations. split is for equations that should be numbered once as a single entity, while align allows individual numbering per line.$$...$$ for Display Equations: Never use $$...$$ (plain TeX primitive) for display equations in LaTeX documents. Instead, use \begin{equation} (for numbered equations) or \[...\] (for unnumbered equations) for correct spacing, numbering, and package compatibility.$...$ for inline mathematical expressions to ensure correct formatting and italicization.Dr.\ Jones (backslash before the space) to prevent LaTeX from interpreting the period after an abbreviation as the end of a sentence, which would cause an extra-wide space.\usepackage[utf8]{inputenc} (for PDFLaTeX) or preferably XeLaTeX or LuaLaTeX to directly input Unicode characters (e.g., umlauts) into your source file." quotation marks. Use ,, and '' (or \glqq and \grqq for German) for typographically correct "curly" quotes, or directly insert Unicode characters. The csquotes package can automate this with \enquote.\dots or \textellipsis to produce a single, properly spaced character instead of three individual periods. Style guides vary on spacing around ellipses.-- or –) for ranges (e.g., "4–8 years") and an em-dash (--- or —) for parenthetical phrases (in English, usually without spaces; in German, with spaces around –). Avoid using a simple minus sign -.\usepackage[english]{babel} or \usepackage[ngerman]{babel} to enable correct hyphenation, quotation marks, and other language-specific typesetting rules.\emph{...} for emphasis instead of \textbf{...}. \emph typically produces italics and allows global style changes later if desired. Bold text should be used sparingly.booktabs package (\toprule, \midrule, \bottomrule) for clean, professional-looking tables without vertical lines. Avoid bold text within tables for better readability.[t] or [b] float specifiers) rather than in the middle of text flow or far from their reference. This improves readability and layout flexibility.\widowpenalty=10000 and \clubpenalty=10000 or the nowidows package.\textsc{...} (small caps) and \oldstylenums{...} (old-style numerals) can enhance typographic aesthetics by making abbreviations and numbers blend more smoothly with surrounding text.tikz-plotlib: Generate LaTeX code for Matplotlib figures, making them searchable, vector-based, and consistent with document fonts.menukeys: Nicely display keyboard shortcuts, menu paths, and file paths.bitfield: Create formatted packet diagrams (e.g., TCP/IP headers).cleveref: Smartly reference figures, equations, and sections (e.g., "Figure 15", "Sections 1.1 to 1.3").todonotes: Add side notes/to-do items and placeholders for missing figures (\missingfigure).siunitx: (Reiterated) Comprehensive package for units, numbers, and scientific tables.New Computer Modern): The speaker uses New Computer Modern font, a thicker variant of the default Computer Modern, which he finds more readable, especially on screens, and offers better Unicode support.latexindent: A tool for automatically indenting LaTeX files, improving code readability and consistency, especially for environments and tables.listings (LaTeX-native, consistent) and pygments (more powerful Python-based, but external dependency) are recommended. The speaker prefers listings for consistency.