<p>

The <p> tag represents a paragraph, which can contain text and a wide variety of inline tags and functions much like the <p> tag in HTML. This tag is extremely common and most PreTeXt documents contain many <p> tags, because documents typically contain many paragraphs.

Syntax

Variants

There are 2 variants of <p>.

Examples

Our first example shows a paragraph in isolation, containing only plain text, plus one small math expression and one emphasized word.

But because paragraphs are typically the immediate children of other blocks (including sections, subsections, theorems, etc.) we also include an example in which a few paragraphs sit inside a theorem block.