Changing Font Style in LaTeX

2527

In LaTeX, there is a wide choice of formatting is available for a font style. Within each typeface or font family, there are usually several different looks to the text used in a document. Following are the type settings you can use in the LaTeX environment.

Type style Command Output
Bold \textbf{Changing Font Style in LaTeX} \(\textbf{Changing Font Style in LaTeX}\)
Italic \textit{Changing Font Style in LaTeX} \(\textit{Changing Font Style in LaTeX}\)
Slanted \textsl{Changing Font Style in LaTeX} \(\textsl{Changing Font Style in LaTeX}\)
Small Capital \textsc{Changing Font Style in LaTeX} \(\textsc{Changing Font Style in LaTeX}\)
Typewriter type \texttt{Changing Font Style in LaTeX} \(\texttt{Changing Font Style in LaTeX}\)
Emphazise \emph{Changing Font Style in LaTeX} \(\emph{Changing Font Style in LaTeX}\)
Underline \underline{Changing Font Style in LaTeX} \(\underline{Changing Font Style in LaTeX}\)

Example

\textit{The woods are lovely dark and deep. But \textbf{I have promises to keep, And miles to go before I sleep, And miles to go before I sleep.}} - \underline{Robert Frost}

\(\textit{The woods are lovely dark and deep. But \textbf{I have promises to keep, And miles to go before I sleep, And miles to go before I sleep.}} – \underline{Robert Frost}\)

Leave your queries in comment section below.

Previous articleWho Uses Accounting information?
Next articleCommon Knowledge and General Knowledge Series #17
A.Sulthan, Ph.D.,
Author and Assistant Professor in Finance, Ardent fan of Arsenal FC. Always believe "The only good is knowledge and the only evil is ignorance - Socrates"
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments