TeXipedia

diagup

Represents a diagonal forward slash symbol commonly used in mathematical notation and diagrams.

Overview

Provides a distinct diagonal line that serves multiple purposes in mathematical and technical documents:

  • Often used to indicate division or separation in mathematical expressions
  • Useful in creating custom notation or marking diagonal elements in matrices
  • Serves as an alternative to the standard forward slash when more precise positioning or styling is needed
  • Particularly valuable in mathematical typesetting where the exact placement and appearance of diagonal lines matter

Examples

Showing a diagonal slash in a set notation to indicate exclusion of a value.

{xR:x=0}\{x \in \mathbb{R} : x \diagup= 0\}
\{x \in \mathbb{R} : x \diagup= 0\}

Indicating non-parallel lines in geometry.

L1L2L_1 \diagup L_2
L_1 \diagup L_2

Representing non-divisibility in number theory.

pnp \diagup n
p \diagup n