Tagged Questions
2
votes
2answers
38 views
How do I get selective bold in Verbatim? [duplicate]
I previously wrote a computer professional book in which I showed what the user typed on the console and the computer's resultant output. The way I liked to do this was with everything in courier and ...
7
votes
1answer
2k views
Boldface and subscripts in verbatim mode?
How do I create boldface and subscripts in verbatim mode? I've seen mention of a fancyvrb package that might be able to help. Can anyone provide working LaTeX code, either with or without fancyvrb?
5
votes
3answers
891 views
How to put \verb command inside of \textbf{} block?
It looks like you can't use \verb|...| inside of \textbf{...}. I tried the following:
\textbf{Be very careful when using \verb|-i| as it's destructive and it's not reversible!}
And got this error:
...
12
votes
1answer
2k views
fancy verbatim - bold letters for the first 4 columns
I am writing a book on Python and IPython. I want to insert in this book code listings of Python and IPython.
For the code itself I have no problem customizing listings for my intents.
Including ...