Changing Font Style in LaTeX

Within each typeface or font family, there are usually several different looks to the text used in a document. Following are teh type settings you can use in LaTeX environment.

Type styleCommandOutput
Bold\textbf{Changing Font Style in LaTeX}[latex]\textbf{Changing Font Style in LaTeX}[/latex]
Italic\textit{Changing Font Style in LaTeX}[latex]\textit{Changing Font Style in LaTeX}[/latex]
Slanted\textsl{Changing Font Style in LaTeX}[latex]\textsl{Changing Font Style in LaTeX}[/latex]
Small Capital\textsc{Changing Font Style in LaTeX}[latex]\textsc{Changing Font Style in LaTeX}[/latex]
Typewriter type\texttt{Changing Font Style in LaTeX}[latex]\texttt{Changing Font Style in LaTeX}[/latex]
Emphazise\emph{Changing Font Style in LaTeX}[latex]\emph{Changing Font Style in LaTeX}[/latex]
Underline\underline{Changing Font Style in LaTeX}[latex]\underline{Changing Font Style in LaTeX}[/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}

[latex]\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}[/latex]

Leave your queries in comment section below.

A. Sulthan

Author and Assistant professor in finance

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Damian Spelts Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Damian Spelts
Guest
Damian Spelts

You have remarked very interesting details ! ps decent website .