Text Formatting ⇒ Typeset bold faced LaTeX commands
Typeset bold faced LaTeX commands
Please help!!!
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.
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.

Re: Typeset bold faced LaTeX commands
If you hadn't mentioned that it was for an exam, I'd be much more prone to want to help. I'm a professor. I don't like the idea of other people doing my students' homework, so I'm not going to help do yours.
Re: Typeset bold faced LaTeX commands
Exam is past now. I didn't get this comamnd on exam. I bag you to show me that command. Thanks anyway.
Typeset bold faced LaTeX commands
Your professor gave you an exam question where you were supposed to do this, but then refused to tell you the right answer even after the exam was turned in? That's extremely weird.
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:
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
Code, edit and compile here:
\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
I didn't get this question on exam,but i need to know that. Listen,i'm new in Latex(and i don't like him)
. We use only this packeges now:
\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.

\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
If all you want is a bolded \includegraphics, in the normal font, then simply use:
If you need to use the \verb command, then it's tricky. It's even trickier if you can't change the preamble, given the fact that the default LaTeX font doesn't even have boldface typewriter fonts. If you really can't change the preamble, I suppose you could locally change the default tt font to Latin Modern typewriter bold and then use \verb.
But that's just absurd. It would be far better practice to add the appropriate packages.
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
I think that is "\textbackslash" command is my option. In school we don't use packages that we not learn yet.
Can you tell me a diference in these commands:
"$"
"$$"
"\begin{equation} \end{equation}"
Use simple words.
Can you tell me a diference in these commands:
"$"
"$$"
"\begin{equation} \end{equation}"
Use simple words.

Typeset bold faced LaTeX commands
Sorry, but this whole thing is getting on my nerves. It seems like I'm doing your homework, and I want no part of it.
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.
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10