Tagged Questions
5
votes
3answers
79 views
Use sans-serif in a verbatim environment?
What is the right way get fancyvrb’s verbatim environment (or any other variation) to use \textsf as the font?
I can do it with:
\begin{Verbatim}[commandchars=\\\{\}]
\textsf{Here’s some textsf.}
...
6
votes
3answers
114 views
verbatim and CJK
I'm not familiar with chinese characters and fonts. But I have to type some characters into a document. XeLaTeX may be an option, but I'm looking for a solution with pdflatex. Here is my MWE, which I ...
2
votes
1answer
138 views
Polyglossia and Verbatim problem
After having some hyphenation problems with my text (in greek and english) I changed some of my packages. In the beggining I was using:
\usepackage{mathspec}
\usepackage{xgreek}
...
11
votes
1answer
176 views
Escaped characters in typewriter font
I know a number of ways to fix this (e.g. \usepackage[T1]{fontenc}), but I want to understand what's happening in the following example.
\documentclass{article}
\begin{document}
\noindent
\$ \% ...
2
votes
1answer
129 views
dvips: warning: no config file for `amz'
I have submitted a PDF manuscript to a conference and I get the feedback that my fonts in the verbatim environment either look hideous or they are not rendered at all. The manuscript looks nice on my ...
8
votes
2answers
826 views
How to change color of some particular environment for entire document
I want to change color of particular environment in document.
For example wherever I found verbatim environment or equation environment appears in my tex file. With some global settings, I want to ...
0
votes
2answers
694 views
How can I fix the path to LaTeX fonts?
I'm using LaTeX on osx via TexLive 2011 and the TextMate bundle.
Currently I'm trying to list some code in a document (using verbatim),
but I get this error:
! I can't find file `pcrr7t'.
! ...
2
votes
1answer
448 views
Verbatim text can't be shown correctly in pdf
I try to change the font of verbatim text as below
% Used by @verbatim ... @endverbatim
\newenvironment{DoxyVerb}{%
\verbatim%
\fontencoding{OT1}\fontfamily{ptm}\fontseries{m}\fontshape{n}%
...
2
votes
1answer
880 views
Change font of Verbatim slide in Beamer
I have several slides in a beamer presentation where i'm presenting some programming code. However, the font ends up being too large and isn't fully featured on the slide. How can I change the font on ...
3
votes
1answer
271 views
fancyvrb, helvetica and underscore… is it just me?
Ran into some weirdness with fancyvrb, helvetica and _. Here's a MWE (for me):
\documentclass{article}
\usepackage{fancyvrb}
\begin{document}
\begin{Verbatim}[fontfamily=helvetica]
Oh no! It's a ...
5
votes
3answers
334 views
Display “.\integrate blah” in monospaced font (like \texttt and \verb)
I'm trying to display the following:
.\integrate blah
in a monospaced font.
For everything else I've wanted to put in a monospace font, \texttt or \verb has worked fine, but it doesn't with this. ...