New monospaced font on CTAN: Inconsolata
The Inconsolata font package has been released on CTAN yesterday. Inconsolata is a monospaced (“typewriter”) font designed for code listings and the like by Raph Levien. It’s supporting several encodings including T1, OT1 and LY1.
The font can be used by loading inconsolata.sty. The package provides a font scaling option [scaled=X] and would redefine the typewriter font obtained by texttt. Here’s a small example from the documentation, showing both how to load the font and how it’s looking:
More information can be obtained here:
- Inconsolata Homepage,
- Inconsolata on CTAN,
- documentation by Karl Berry including font tables,
- adding straight single and double quotes to Inconsolata,
- Portrait of the font designer Raph Levien.
Please, can you give me some info for how to install in a Debian system from CTAN files?
Hi,
copy the files where TeX would be able to find them and run texhash or mktexlsr. If you want to follow the TeX directory structure read its documentation (texdoc tds). I suggest copying the inconsolata files to TEXMFHOME (kpsewhich –var-value=TEXMFHOME), perhaps ~/texmf. It could look like:
Then run texhash or mktexlsr.
Further modify the map files, using updmap or the like. A quick hack could be editing pdftex.map, inserting the lines of fi4.map, for instance
rm-inconsolata Inconsolata "fi4OT1TypewriterEncoding ReEncodeFont" < [fi4-ot1tt.enc
for the OT1 encoding.
Afterwards pdflatex should be able to compile a tex file using inconsolata.
Stefan
Pingback: ????? Inconsolata ??? LaTeX | Cholwich's blog
This is a good font. But unfortunately
the package does not support bold and italic.
Hello, I followed your installation instruction in the comment, but I get this error:
“”"!pdfTeX error: pdflatex (file rm-inconsolata): Font rm-inconsolata at 480 not f
ound”"”
Do you know how to fix that? I’d really like to use inconsolata in my thesis.
Thank you.
Never mind. I had an old ~/.texmf-var that was conflicting somehow. Removed the directory, solved the problem.