I am on the elusive trail of font family names for use with \fontfamily{}
I have discovered after much googling that possibly the only real way
to get the required name sometimes is to look in the
specific-font's.sty file as any documentation often doesn't mention
it, or perhaps the .fd files
I am on MiKTeX 2.8 so describe my tree from that point.
\MiTeX 2.8.3541 Portabe\dvips\config\psfonts_t1.map
I find references to abbreviations like for example
artemisiarg9r GFSArtemisia-Regular " artemisiaec ReEncodeFont "
<artemisiaec.enc <GFSArtemisia-Regular.pfb
artemisiab8r GFSArtemisia-Bold " artemisia ReEncodeFont "
<artemisia.enc <GFSArtemisia-Bold.pfb
Are artemisiaec and artemisia then both valid fontfamily fontname abbreviations?
Can artemisiab8r be directly used for anything connected with
selecting fonts in a LaTeX document? Or is that only to bridge LaTeX
to TeX?
This is also found in the gfsartemisia.map file in \MiTeX 2.8.3541
Portabe\fonts\map\dvips\gfsartemisia
So I guess that when MiKTeX's databases are updated, that all thses
Map files are united into the appropriate file like psfonts_t1.map ?
From the .sty I look insode and can see \fontfamily{artemisia} so I
know I can use that.
So I look deepeer in to the .fd files and see that each encoding has a
file like ot or t1artemisia.fd
And of course uses \DecalreFontFamily
Have I now come to the grail quest destination of discovering the
source of definitive font names?
With the encoding OT1/T1 etc, and the TeX name like artemisiarg8a I
can then look in the .map and get some sort of human readiblk fonat
name?
Well I can not find artemisiarg8a in any file.
Any help or hints much appreciated please,
Paul
Hopefully there is some sort of way forward on this.
Paul
> --
> You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
> To post to this group, send email to latexus...@googlegroups.com.
> To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.
>
>
Hi,
I am on the elusive trail of font family names for use with \fontfamily{}
I have discovered after much googling that possibly the only real way
to get the required name sometimes is to look in the
specific-font's.sty file as any documentation often doesn't mention
it, or perhaps the .fd files
I am on MiKTeX 2.8 so describe my tree from that point.
\MiTeX 2.8.3541 Portabe\dvips\config\psfonts_t1.map
I find references to abbreviations like for example
artemisiarg9r GFSArtemisia-Regular " artemisiaec ReEncodeFont "
<artemisiaec.enc <GFSArtemisia-Regular.pfb
artemisiab8r GFSArtemisia-Bold " artemisia ReEncodeFont "
<artemisia.enc <GFSArtemisia-Bold.pfb
Are artemisiaec and artemisia then both valid fontfamily fontname abbreviations?
Can artemisiab8r be directly used for anything connected with
selecting fonts in a LaTeX document? Or is that only to bridge LaTeX
to TeX?
This is also found in the gfsartemisia.map file in \MiTeX 2.8.3541
Portabe\fonts\map\dvips\gfsartemisia
So I guess that when MiKTeX's databases are updated, that all thses
Map files are united into the appropriate file like psfonts_t1.map ?
From the .sty I look insode and can see \fontfamily{artemisia} so I
know I can use that.
So I look deepeer in to the .fd files and see that each encoding has a
file like ot or t1artemisia.fd
And of course uses \DeclareFontFamily
Have I now come to the grail quest destination of discovering the
source of definitive font names?
With the encoding OT1/T1 etc, and the TeX name like artemisiarg8a I
can then look in the .map and get some sort of human readiblk fonat
name?
Well I can not find artemisiarg8a in any file.
I am still a bit confused, is it the .fd that sets the font name
abbreviation? Do all such .fd assigned names work in \fontname?
Is it useful or necessary to load the packages of wanted font familes
in a sequence where the last one is the main document font package? Or
does the last one just over-write everything from the previous one(s)?
What stops conflict of font name abbreviations? Is there a central
registry or does the algorithm for making these assure their freedom
from conflict?
I notice that MikTeX (and no doubt TeXlive) can find and use a font
when its abbreviation is used in
\fontname, so I guess I am wanting to walk backwards through that path
to find the relationship between the font longnames and their
abbreviations.
Then hopefully write a script for TeXworks to handle it for different
people needing it (http://twscript.paulanorman.com/downloads/
http://tug.org/texworks/)
>I still don't know why you want to do this. \fontfamily names are not human-readable: they >are designed to be machine-readable.
>Package names are for humans.
Needing to ocassionally (some times often) jump out of the run of a
font package.
And using \fontname\selectfont is recommended in a number of web
sites, manuals, faqs, books etc, but it is frequently left uncertain
as to how you obtain the needed font name abbreviation :)
Sometimes you need, for display or logical emphasis purposes, to
include a very different font for a series of headings, or to tie in
with styles used in a graphic, there are occasional areas in a
publication where judicious use of a totally contrasting font is very
effective, and even times for more than one font.
I use/need fontnames for setting macros for specific kinds of blocks
of text, certain types of quotes in fact.
e.g. in compressed quote blocks this can work nicely against
\usepackage{charter} as the main package:
\fontfamily{anttl}\fontsize{10.5pt}{11.25pt}\selectfont
When I quote Scripture I use this as one available macro
%: \indentBible* with extra right edge background -
#1}\hspace{0.05\columnwidth}
% suffix package
\WithSuffix\newcommand\indentBible*[1]{% indents and leaves a bit at
end of block
\noindent\colorbox{bibleBack}{\hspace{0.05\columnwidth}\parbox{0.87\columnwidth}{\fontfamily{anttl}\fontsize{10.5pt}{11.25pt}\selectfont
#1\vspace*{0.007\columnwidth}}\hspace{0.025\columnwidth}}%
\vspace{-0.85mm}}
%
Or other types of quotes,
%: \indentPlain
\newcommand{\indentPlain}[1]{% indents and leaves a bit at end of block
\vspace*{1mm}%
\noindent\colorbox{plainBack}{\hspace{0.05\columnwidth}\parbox{0.87\columnwidth}%gfsartemisia-euler
ptm ppl
{\fontfamily{ptm}\fontsize{10.5pt}{11.75pt}\selectfont
#1\vspace*{0.007\columnwidth}}\hspace{0.025\columnwidth}}%
\vspace{-0.85mm}}
%
And in doing this kind of thing need the use of fonts from different
sources, sometimes from a similar font family background but not
always in the same released package.
In Corel Ventura Publisher 8/10 I would simply have written new tags
and assigned the necessary font(s) . We've moved across completely to
LaTeX in the last few years, but this has remained a major
mystery/problem so far - and this week is font week for me - hopefully
getting LaTeX font-ing and web page equivalents sorted out.
Over those years I've noticed a lot of questions on Latex fontname
abbreviations around the web, quite a demand for them.
Paul
In there I see that the 'technician' can choose to use Karl Berry's
naming system, but is still effectively making their own font name
abbreviation up.
Looks like this issue will live on for as long as pdflatex still needs
to be used, it seems XeTeX may be still be not working with a number
of packages for a while into the future?
Paul
Thanks for walking me through that Peter,
I am still a bit confused, is it the .fd that sets the font name
abbreviation? Do all such .fd assigned names work in \fontname?
Is it useful or necessary to load the packages of wanted font familes
in a sequence where the last one is the main document font package? Or
does the last one just over-write everything from the previous one(s)?
What stops conflict of font name abbreviations?
Is there a central registry or does the algorithm for making these assure their freedom from conflict?
I notice that MikTeX (and no doubt TeXlive) can find and use a font when its abbreviation is used in
\fontname, so I guess I am wanting to walk backwards through that path to find the relationship between the font longnames and their
abbreviations.
Then hopefully write a script for TeXworks to handle it for different
people needing it (http://twscript.paulanorman.com/downloads/
http://tug.org/texworks/)
>I still don't know why you want to do this. \fontfamily names are not human-readable: they are designed to be machine-readable.Needing to ocassionally (some times often) jump out of the run of a
>Package names are for humans.
font package.
And using \fontname\selectfont is recommended in a number of web
sites, manuals, faqs, books etc, but it is frequently left uncertain
as to how you obtain the needed font name abbreviation :)
Sometimes you need, for display or logical emphasis purposes, to
include a very different font for a series of headings, or to tie in
with styles used in a graphic, there are occasional areas in a
publication where judicious use of a totally contrasting font is very
effective, and even times for more than one font.
I use/need fontnames for setting macros for specific kinds of blocks
of text, certain types of quotes in fact.
e.g. in compressed quote blocks this can work nicely against
\usepackage{charter} as the main package:
\fontfamily{anttl}\fontsize{10.5pt}{11.25pt}\selectfont
When I quote Scripture I use this as one available macro
And in doing this kind of thing need the use of fonts from different
sources, sometimes from a similar font family background but not
always in the same released package.
In Corel Ventura Publisher 8/10 I would simply have written new tags
and assigned the necessary font(s) .
We've moved across completely to
LaTeX in the last few years, but this has remained a major
mystery/problem so far - and this week is font week for me - hopefully
getting LaTeX font-ing and web page equivalents sorted out.
Over those years I've noticed a lot of questions on Latex fontname
abbreviations around the web, quite a demand for them.