Use the LaTeX default command to print dollar in text mode and math mode without any package



\mathdollar

Write the dollar symbol in different fonts

Negrita

\textbf{$} Roman \textrm{$}
Enfático

\textem{$} Itálica \textit{$}
Slanted

\textsl{$} Sans Serif \textsf{$}
Small Caps

\textsc{$} Typewriter \texttt{$}

\textbf{$} Write the dollar symbol in different sizes {\tiny$}

{\scriptsize $} {\footnotesize$}

{\small $} {\normalsize$}

{\large $} {\Large$}

{\huge $} { \Huge$}

Using different packages to print the dollar sign

At this time, use the fontawesome package to print the dollar sign

\usepackage{fontawesome}

\faUsd

use the marvosym package by adding the package to your document

\usepackage{marvosym}

\EyesDollar

Add the textcomp package to your document to use the below dollar symbol

\usepackage{textcomp}

\textdollar

\textdollaroldstyle

### Mohammed Anees

Hey there, welcome to aneescraftsmanship I am Mohammed Anees an independent developer/blogger. I like to share and discuss the craft with others plus the things which I have learned because I believe that through discussion and sharing a new world opens up