fonts included in the MikTeX 2.7 distribution

576 views
Skip to first unread message

tge...@gmail.com

unread,
May 28, 2010, 8:30:43 AM5/28/10
to LaTeX Users Group
Hello,

Can anyone supply a list of the fonts supplied with the MikTeX 2.7
distribution? I would like a sans serif font with a capital "I" which
is distinguishable from a lowercase "L": I vs l, get my point?

Also, how to call the font, ie. what to type after \usepackage{???},
would also be much appreciated.

Thanks

Peter Flynn

unread,
May 28, 2010, 10:33:45 AM5/28/10
to latexus...@googlegroups.com
On Fri, May 28, 2010 at 1:30 PM, tge...@gmail.com <tge...@gmail.com> wrote:
Hello,

Can anyone supply a list of the fonts supplied with the MikTeX 2.7
distribution?

Have you tried contacting them via their Contacts page (http://miktex.org/contact)?
 
I would like a sans serif font with a capital "I" which
is distinguishable from a lowercase "L": I vs l, get my point?

AFAIK the typefaces that come by default are Computer Modern and the Adobe "35". See the examples at http://latex.silmaril.ie/formattinginformation/chapter8.html#fontuse, the Font Sampler at http://www.ctan.org/tex-archive/info/fontsampler/sampler.pdf, the new sampler at http://latex.silmaril.ie/sampler/fontsampler-a3.pdf, and the LaTeX Font Catalogue at http://www.tug.dk/FontCatalogue/

Unfortunately, I don't think any of the sans-serif faces distributed by default fit your needs. However, Iwona, KP, Kourier, LX, and Optima all look as if they might. But you'll have to download and install them.
 
Also, how to call the font, ie. what to type after \usepackage{???},

In the  LaTeX Font Catalogue at http://www.tug.dk/FontCatalogue/ you can click on the typeface name to see this.

///Peter


tge...@gmail.com

unread,
May 31, 2010, 7:51:33 AM5/31/10
to LaTeX Users Group
Hello Peter,

Thanks for the information.

> Unfortunately, I don't think any of the sans-serif faces distributed by
> default fit your needs. However, Iwona, KP, Kourier, LX, and Optima all look
> as if they might. But you'll have to download and install them.

I have downloaded these fonts to my PC. I have copied the code from
the TeX Catalogue:
\usepackage[T1]{fontenc}
\usepackage[math]{kurier}
into the preamble and tried including "\normalfont" in both the
preamble and the document but it still doesn't work. LaTeX returns the
following:
------------
LaTeX Font Warning: Font shape `T1/cmss/b/n' undefined
(Font) using `T1/cmss/m/n' instead on input line 100.

("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1ztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omlztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omsztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omxztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1ptm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\base\ulasy.fd") [1{C:/
Documents and Set
tings/All Users/Application Data/MiKTeX/2.7/pdftex/config/pdftex.map}]
[2]
[3] (yaareport.aux)

LaTeX Font Warning: Some font shapes were not available, defaults
substituted.
------------
What am I doing wrong? I am a humble biologist with almost zero
experience in computer programing. This may as well be in Greek to me.

Thanks of the help and sorry to be such a bother.

Tyrone

Peter Flynn

unread,
May 31, 2010, 5:29:16 PM5/31/10
to latexus...@googlegroups.com
On Mon, May 31, 2010 at 12:51 PM, tge...@gmail.com <tge...@gmail.com> wrote:
Hello Peter,

Thanks for the information.

> Unfortunately, I don't think any of the sans-serif faces distributed by
> default fit your needs. However, Iwona, KP, Kourier, LX, and Optima all look
> as if they might. But you'll have to download and install them.

I have downloaded these fonts to my PC.

What did you download, exactly, and how did you install them?
 
I have copied the code from the TeX Catalogue:
\usepackage[T1]{fontenc}
\usepackage[math]{kurier}
into the preamble and tried including "\normalfont" in both the
preamble and the document but it still doesn't work.

We would need to see a minimal example that demonstrates this not working.
 
LaTeX returns the following:
------------
LaTeX Font Warning: Font shape `T1/cmss/b/n' undefined
(Font)              using `T1/cmss/m/n' instead on input line 100.

This means LaTeX is looking for the T1 encoding of Computer Modern Sans-Serif Bold which doesn't exist (CMSS only has Bold Extended), so it is substituting Computer Modern Sans-Serif Regular instead. You can change this by using the fix-cm package, which will make it substitute Bold Extended instead.

I am deducing from this that Kurier is not active because it isn't installed it yet, so when LaTeX looks for sans-serif, it's still using Computer Modern Sans-Serif.

("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1ztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omlztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omsztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\omxztmcm.fd")
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1ptm.fd")

Those are all font definition files for Times and Times Math. I'm not sure what they're doing here if you're testing Kurier, unless you want math as well.
 
("C:\Program Files\MiKTeX 2.7\tex\latex\base\ulasy.fd")

That's the LaTeX Symbol font.
 
What am I doing wrong?

I don't know: I'd need to know where you installed the font files and what the test file says.
 
I am a humble biologist with almost zero
experience in computer programing. This may as well be in Greek to me.

You don't need to know anything about programming, fortunately. Biology is also Greek to me — all I know how to do is make a dissected frog twitch by applying a voltage :-) You just need to know the rules for installing typefaces in LaTeX

But nothing in the above output referred to Kurier. Do you recall what files you downloaded, where you put them, and what you did next?

Kurier is very extensive, as the documentation makes clear, so the kurier.zip file which you can see linked at http://www.ctan.org/tex-archive/fonts/kurier/ is very large, and actually contains 412 distinct fonts. To install it, do the following;
  1. unzip kurier.zip to a temporary directory
  2. copy the contents to wherever your copy of TeX is installed
  3. update your TeX file database so that TeX can find stuff
  4. enable kurier.map so that your viewer and printer can find the files
In a GNU/Linux or Unix system, this means:
  1. cd /tmp; unzip kurier.zip
  2. cd /usr/local/share/texmf; tar c -C /tmp/kurier . | tar xvfp -
  3. texhash
  4. updmap --enable Map=kurier.map
On a Mac it's the same, except that you replace /usr/local/share/texmf with ~/Library/texmf

However, I'm not a Windows user, so what follows is largely guesswork. Perhaps some kind soul who understand Windows could tidy it up for me so that I can document it properly.
  1. You should have unzip somewhere on your system, so downloading kurier.zip ought to make your system ask you where you want it unzipped to. Pick somewhere like C:\Windows\temp if you have it, or maybe just use the desktop.
  2. Right-click My Computer and pick Explore. Open the folder where you unzipped kurier.zip and you will see the kurier subfolder it created. Open that. In the left-hand panel, find but do not open, C:\Program Files\MiKTeX 2.8\ (or whatever version number you have). Select the three subfolders doc, fonts, and tex in the kurier subfolder and drag and drop it onto the C:\Program Files\MiKTeX 2.8\ folder. This does the copying.
  3. In the MiKTeX Maintenance settings (look in your MiKTeX Program Group under Start|Programs), click on "Refresh FNDB". Instructions are at http://docs.miktex.org/manual/configuring.html#fndbupdate: this is the function that updates the database.
  4. Add the entry for kurier.map to the updmap configuration file following MikTeX's instructions at http://docs.miktex.org/manual/advanced.html#psfonts (I've never done this in MiKTeX — I assume it works).
(And people ask me why I don't use Windows :-)

Finally, create the following test file and process it. It worked OK for me just now:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{kurier}
\begin{document}
Kurier
\end{document}

///Peter
 

tge...@gmail.com

unread,
Jun 1, 2010, 5:45:37 AM6/1/10
to LaTeX Users Group
Hello Peter,

I did some checking, and saw that is was installed with my MikTeX
distribution, so I had the fonts installed already.

Your comments about math fonts enabled me to see something I hadn't
noticed before. I was using the "\usepackage{mathptmx}" command. This
must have been a leftover from some other code I had been using for
another document. Now it works perfectly.

Incidentally, the LX fonts and Computer Modern Sans Serif Quotation do
have an "I" which is distinguishable from a "l". It is, however, a
rather large font.

Thanks for all the help.
Reply all
Reply to author
Forward
0 new messages