Text Emphasis

Text Emphasis #

Author: Er Hua

Keywords: Text Emphasis

In an article, we sometimes need to emphasize certain sentences or words.

The basic forms of emphasis are usually: italics, bold, underline.

They correspond to: \emph{text}, \textbf{text}, \underline{text}.

\documentclass[]{article}
\usepackage{ctex}
\usepackage{fontspec}
\newCJKfontfamily\qingsong{FZQKBYSJW--GB1-0}
\begin{document}
锦瑟无端五十弦,{\qingsong 一弦一柱思华年}\\
\underline{庄生晓梦迷蝴蝶},\emph{望帝春深托杜鹃}
\end{document}

We recommend using the following two packages for emphasis:


1. English environment package: \ulem

\documentclass[]{article}
\usepackage{ctex}
\usepackage{ulem}
\begin{document}
\uline{hello}
\uuline{hello}
\uwave{hello}
\sout{hello}
\end{document}
% In addition, it provides many other forms of emphasis

2. Chinese environment package: \CJKfntef

\documentclass[]{article}
\usepackage{ctex}
\usepackage{CJKfntef}
\begin{document}
\CJKunderline{测试}
\CJKunderdot{测试}
\CJKunderwave{测试}
\CJKsout{测试}
\end{document}