textdollar
Renders a typographically correct dollar sign within text mode, ensuring proper spacing and font consistency.
Overview
Essential for typesetting financial amounts, prices, and currency-related content in professional documents and academic papers.
- Preferred over the direct $ symbol when writing actual currency amounts in text.
- Maintains consistent font styling with surrounding text.
- Particularly useful in business documents, economic papers, and financial reports.
- Avoids potential confusion with LaTeX's math mode delimiters.
Examples
Displaying currency in an equation with a dollar amount.
\text{Total cost = }\text{\textdollar}25.99 + xShowing price ranges in mathematical expressions.
\text{\textdollar}10 \leq p \leq \text{\textdollar}50Representing financial calculations with dollar symbols.
\text{Revenue} = \text{\textdollar}100x - \text{\textdollar}500