Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What are the possible values for \fontseries and \fontshape? I'm aware of

\fontseries{m}
\fontseries{bx}

\fontshape{n}
\fontshape{it}

But I'm sure there're more of them.

share|improve this question
6  
There's really no fixed set. The possible values depend on what's set up in the .fd file for the encoding-family pair. –  egreg Aug 25 '12 at 15:26
    
@egreg Now I've found (opening the .fd file) that my font has l for "light", and even it has itsc for italic small caps... –  tohecz Aug 25 '12 at 15:46

2 Answers 2

up vote 20 down vote accepted

Series, any combination of weight and width is [in theory] possible:

weight                    width
Ultra Light       ul      Ultra Condensed     uc    
Extra Light       el      Extra Condensed     ec    
Light             l       Condensed            c      
Semi Light        sl      Semi Condensed      sc    
Medium (normal)   m
Semi Bold         sb      Semi Expanded       sx    
Bold              b       Expanded             x 
Extra Bold        eb      Extra Expanded      ex 
Ultra Bold        ub      Ultra Expanded      ux

Shape:

upright (normal)   n 
italic             it
slanted/oblique    sl 
small caps         sc
upright italic     ui
outline            ol 

It depends to the definition of the font, if there are less or more ... For the current TL 2012 we get the following values for the series:

b,bc,bm,bux,bx,c,cl,d,db,dbuc,eb,ebc,ebx,el,f,g,i,l,lc,lux,lx,m,mb,mc,muc,mx,n,nx,
ny,o,s,sb,sbc,sbx,sl,ub,ubc,ubx,ux,w,x,xl,z

and for the shape:

a,ac,b,bc,bl,bx,cal,crml,ds,fic,fr,fsc,g,gi,gu,i,ic,Iit,in,In,Isc,Isl,it,itsc,iv,jm,Jm,
kfn,l,li,n,na,ns,o,oi,oj,ol,os,out,p,r,ro,rs,s,sc,scit,sco,scsl,scui,sf,si,sk,sl,slsc,
so,sr,st,ta,tabnums,textdenomnums,textnumnums,tt,u,ui,uv,w

See comment below where Heiko lists some fonts which refer to the given values.

share|improve this answer
4  
SERIES: sbx (kpfonts), db (romande), dbuc/mc/muc/mux (venturissans), mb (venturis2), sbc/lc (chextras), mx (venturissans2), z/d/o/s (libertine-legacy), ebc/ubc/lx/ebx (kurier), cl (opensans), k (allrunes). SHAPE: scsl (kpfonts), si (venturissans), scit (tex-gyre), ic/bc (libertine-legacy), ac (frcursive), oi (boisik), gu/gi (gillcm), sco/cal/kfn (kerkis), tabnums/textnumnums/textdenomnums (gfsartemisia), Jm/jm/ds/ta/oj/so/sr/sk/fr/crml/s (arabtex), itsc/slsc (bengali), t/r/q/m (allrunes) –  Heiko Oberdiek Aug 25 '12 at 19:49
2  
SHAPE: In/Isl/Iit (cyrillic). –  Heiko Oberdiek Aug 25 '12 at 19:50
    
I also use the shape bl for two chessfonts (berlin and alpha in the enpassant package) to access black figurines. –  Ulrike Fischer Aug 26 '12 at 11:17
    
@Ulrike: is that package on TL? –  Herbert Aug 26 '12 at 11:44
1  
Great Answer! Good to see that a lot more is going on internally than \bfseries (which should really be called \bxseries) and \itshape might make you believe :-) –  Stephan Lehmke Aug 26 '12 at 13:16

The standard manual for such questions are fntguide LaTeX2ε font selection

Here you can find the following hint:

The most common values for the font series are:

m             Medium
b             Bold
bx            Bold extended
sb            Semi-bold
c             Condensed

The most common values for the font shape are:

n              Normal (that is ‘upright’ or ‘roman’)
it             Italic 
sl             Slanted (or ‘oblique’)
sc             Caps and small caps

You can select what you want as long as the font file exist.

share|improve this answer
2  
This is not completely true. As egreg mentioned, the .fd file defines which fonts exist. That is, there could be font files which are not referred in the .fd and are thus never used. –  Stephan Lehmke Aug 25 '12 at 15:57
    
@StephanLehmke: I know. The list is longer. However this are the standard ones. –  Marco Daniel Aug 25 '12 at 16:48
    
Sorry for not being clear. What I meant is it can well be that the font file exists, but you still cannot select it because the .fd file doesn't list it. –  Stephan Lehmke Aug 25 '12 at 17:28
    
@StephanLehmke: Indeed. –  Marco Daniel Aug 25 '12 at 18:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.