summaryrefslogtreecommitdiff
path: root/macros/plain/formats/lollipop/tex/lollipop-fontdefs.tex
blob: 1d10a3d411a145f5e1ba871e454ab8149ae6eeec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
% lollipop-fontdefs.tex copyright 2014--2016 Vafa Khalighi
%
%
%    This program is free software: you can redistribute it and/or modify
%    it under the terms of the GNU General Public License as published by
%    the Free Software Foundation, either version 3 of the License, or
%    (at your option) any later version.
%
%    This program is distributed in the hope that it will be useful,
%    but WITHOUT ANY WARRANTY; without even the implied warranty of
%    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%    GNU General Public License for more details.
%
%    You should have received a copy of the GNU General Public License
%    along with this program.  If not, see <http://www.gnu.org/licenses/>.
%
%
%\noeol
% good (?) old Computer Modern
\DefineTypeface{ComputerModern}{cm}%
    {roman:r; slant:sl; italic:ti; mitalic:mi; bold:bx; typewriter:tt;
     default:r;}%
    {<6:5; <7:6; <8:7; <9:8; <10:9; <11:10; <12:10 \sc@led\magstephalf;
     <14:10 \sc@led\magstep1; <16:10 \sc@led\magstep2;
     <20:10 \sc@led\magstep3; >19:10 \sc@led\magstep4;
     default:10;}%
    [\ifStyle:italic \ifnum\Fsize<7 ti7\fi\fi
     \ifStyle:typewriter \ifnum\Fsize<8 tt8\fi\fi]
\DefineTypeface{ComputerSans}{cmss}%
    {roman:; italic:i; mitalic:i; bold:bx; demiboldcondensed:dc;
     default:;}%
    {<9:8; <10:9; <11:10; <12:10 \sc@led\magstephalf;
     <14:10 \sc@led\magstep1; <16:10 \sc@led\magstep2;
     <20:10 \sc@led\magstep3; >19:10 \sc@led\magstep4;
     default:10;}%
    [\ifStyle:bold \ifnum\Fsize<10 bx10\fi\fi]


\endinput

% 2016/04/13 Removed \DefineTypeface definitions for fonts
%                    not in TeXLive