Text Formatting ⇒ Typeset bold faced LaTeX commands
Typeset bold faced LaTeX commands
How to write a BOLDED latex command(i don
t want to latex recognize it):" \icludegraphics "...
I try it with:" \verb \textbf{\includegraphics} " -that didn't worked.
i try it with:" \textbf{ \verb \includegraphics) } " -nothing. :/
Help,i need for exam.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Typeset bold faced LaTeX commands
Re: Typeset bold faced LaTeX commands
Typeset bold faced LaTeX commands
Well, it depends a lot on what packages you want to use, and in what context you want the code to appear in. That's why the Board Rules ask for a minimal working example and not just a snippet. You also need to make sure that the typewriter font you're using actually has bold characters, since a lot them don't. But you can do it for example, with fancyvrb and the beramono font:
Code: Select all
\documentclass[a4paper,twoside]{report}
\usepackage[T1]{fontenc}
\usepackage{fancyvrb}
\usepackage{beramono}
\begin{document}
\begin{Verbatim}[fontseries=b]
\includegraphics
\end{Verbatim}
\end{document}
Re: Typeset bold faced LaTeX commands

\documentclass[11pt,twocolumn]{article}
\usepackage[cp1250]{inputenc}
\usepackage[serbian]{babel}
\usepackage{amsmath,amssymb,amsfonts}
\begin{document}
I can't use \verb and \textbf in same line. :/ i tried with verbatim,but i didn't succed.
I need to write on the same line this:
"Using a packet \textbf{graphicx}, command (i need a bolded "\includegraphics") and environment \textbf{figure} in document we can insert images " last.
Sorry on my bad english,i'm from Montenegro.

Typeset bold faced LaTeX commands
Code: Select all
\textbf{\textbackslash includegraphics}
Code: Select all
{\renewcommand{\encodingdefault}{T1}\renewcommand{\seriesdefault}{b}\renewcommand{\ttdefault}{lmtt} \verb|\includegraphics|}
Re: Typeset bold faced LaTeX commands
Can you tell me a diference in these commands:
"$"
"$$"
"\begin{equation} \end{equation}"
Use simple words.

Typeset bold faced LaTeX commands
Besides, if you don't know the difference between $, $$ and \begin{equation}, then you have no business using LaTeX at all. These are beginner topics, which would be covered in any introduction to LaTeX. See the resources for beginners.
You should know however, that $$ is considered obsolete. See l2tabu. Use \[ and \] instead.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Typeset bold faced LaTeX commands
Please don't mix several range of subjects in one thread. You switch from a subject related to »Text Formatting« to one in »Math & Science«. frabjous already pointed you to some useful stuff for beginners. I recommend to follow the advice and do some basic reading.Sasaman wrote:[…] Can you tell me a diference in these commands:
"$"
"$$"
"\begin{equation} \end{equation}"
Use simple words. […]
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10