ertza

software librea eta lokalizazioaren arteko ertzean.

Archive for the ‘from the edge’


Customizing verbatim text in LaTeX

Recently, when writing a document using LaTeX, I’ve often mixed normal text with verbatim text. Sadly, text written using \verb macro was printed in a larger size than the normal text, so things were misplaced.

A solution: the fancyvrb package. Using fancyvrb it’s possible to customize the printing of this kind of text. Now you can also use verbatim text in footnotes, just putting \VerbatimFootnotes on your document.

The only thing you have to care about is using \Verb and \Verbatim instead of the usual \verb and \verbatim (note the case difference).

Now, to set an option in a global manner, it’s enough using \fvset and passing the fancyvrb package options between braces.

First post in English

This is my first post in English. I’ve setup the blog in multiple languages using Gengo for WordPress, mainly because I’m taking part in this years Summer of Code and I want to share my project progress and experience with everyone.

Welcome.

Oh, and probably you’re wondering what the hell ertza is; ertza means edge in Basque.

Tags: