Bold, italic and emphasis
تحتاج هذه الصفحة إلى متصفح حديث (يدعم SharedArrayBuffer). يرجى تحديث Chrome أو Edge أو Firefox أو Safari إلى أحدث إصدار.
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.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Make the word important bold with \textbf{...}, and the word gently italic with \textit{...}. Then Run to see the styles.
اضغط تشغيل لتركيب وعرض ملف PDF.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Use the right tool for the job. Mark really with \emph{...} (emphasis that flips smartly), and show the file name report.tex في \texttt{...} (typewriter font).
اضغط تشغيل لتركيب وعرض ملف PDF.
الصعوبة 1/5 · 100 عملة + مكافأة صغيرة عند الإنجاز الأول اليوم
Commands can be nested. Make the words very important both bold and italic: \textbf{\textit{very important}}.
اضغط تشغيل لتركيب وعرض ملف PDF.