Bold, italic and emphasis
Trang này cần trình duyệt gần đây (hỗ trợ SharedArrayBuffer). Vui lòng cập nhật Chrome, Edge, Firefox hoặc Safari lên phiên bản mới nhất.
English
Styling words
- To change how words look, you wrap them in a command:
\textbf{bold} and \textit{italic} and \texttt{typewriter}
\textbf= bold,\textit= italic,\texttt=code-like.

English
Emphasis the smart way
\emph{...}means "emphasise this" — usually italic, but it flips smartly inside italic text.- Prefer
\emphfor meaning, and\textitwhen you specifically want italic shapes.
English
A note on quotes and dashes
- Type opening quotes with two backticks and closing with two apostrophes:
like this'' ``. - A dash in a range is
--(en-dash, like 10--20); a pause in a sentence is---(em-dash). - These little touches are what make LaTeX documents look professional.
English
Common mistakes
- A missing
}. In\textbf{boldthe rest of the file is swallowed. LaTeX reportsRunaway argument?and! File ended while scanning use of \textbf. - Straight double quotes.
"word"prints two closing quotes. Write``word''instead. - A hyphen for a range.
10-20uses a short hyphen; a range is10--20.
Độ khó 1/5 · 100 xu + phần thưởng nhỏ khi hoàn thành lần đầu tiên hôm nay
Make the word important bold with \textbf{...}, and the word gently italic with \textit{...}. Then Run to see the styles.
Nhấn Chạy để biên dịch và xem trước PDF.
Độ khó 1/5 · 100 xu + phần thưởng nhỏ khi hoàn thành lần đầu tiên hôm nay
Use the right tool for the job. Mark really with \emph{...} (emphasis that flips smartly), and show the file name report.tex in \texttt{...} (typewriter font).
Nhấn Chạy để biên dịch và xem trước PDF.
Độ khó 1/5 · 100 xu + phần thưởng nhỏ khi hoàn thành lần đầu tiên hôm nay
Commands can be nested. Make the words very important both bold and italic: \textbf{\textit{very important}}.
Nhấn Chạy để biên dịch và xem trước PDF.