Fonts & Character SetsHow does DeclareFontShape work?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
EigenGoofy
Posts: 42
Joined: Fri Jul 22, 2011 12:26 am

How does DeclareFontShape work?

Post by EigenGoofy »

http://tex.stackexchange.com/questions/ ... -wide?rq=1

Stefan posted a message on the link above with statement:

Code: Select all

  
  <13.82><16.59><10.8><23.89><28.66><34.4><41.28>% 
  ecltt8}{} 
I wonder
1, What do these numbers mean?
2, what does "ecltt8" mean?

Now, I am using a font package emerald and use the font called "Intimacy" with family name "fin", then how can I change font shape? My ultimate purpose: I wanna increase the vertical length and decrease the width of the font, so that every letter from this font become super-thin and long.

I have checked the file "tifin.fd" and find the following information:

Code: Select all

\DeclareFontFamily{T1}{fin}{}

\DeclareFontShape{T1}{fin}{m}{n}{
   <-> finmd8t
}{}
\DeclareFontShape{T1}{fin}{l}{n}{
   <-> finld8t
}{}
Why does not this file include those numbers as the previous case, like <13.82><16.59><10.8><23.89>......

So the follow code obviously does not work!

Code: Select all

\DeclareFixedFont{\pb}{T1}{fin}{m}{n}{2.5cm}
\renewcommand*\pb{fin}
\DeclareFontShape{T1}{fin}{m}{n}{%
<50><50><50><70><80><80><100>%
fin}{}
Thank you very much for anyone giving me answer!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How does DeclareFontShape work?

Post by localghost »

Take a look at the document »LaTeX2e Font Selection« (also known as the font guide).


Thorsten
EigenGoofy
Posts: 42
Joined: Fri Jul 22, 2011 12:26 am

How does DeclareFontShape work?

Post by EigenGoofy »

localghost wrote:Take a look at the document »LaTeX2e Font Selection« (also known as the font guide).


Thorsten
Thank you very much, Thorsten!

However, I came up with my question just after reading the document you indicated. The font guide is too concise, lack of examples to illustrate. I very like those documents for dummies with NUMEROUS examples, on which a COMPLETE source code is provided and with corresponding generated PDF file.
Post Reply