| 1 |
%% |
| 2 |
%% This is file `title.mp', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% synthslant.dtx (with options: `title') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Copyright (C) 2024, 2025 by Ch. L. Spiel |
| 12 |
%% |
| 13 |
%% This work may be distributed and/or modified under the conditions |
| 14 |
%% of the LaTeX Project Public License, either version 1.3c of this |
| 15 |
%% license or (at your option) any later version. The latest version |
| 16 |
%% of this license is in |
| 17 |
%% https://www.latex-project.org/lppl.txt |
| 18 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 19 |
%% version 2003/12/01 or later. |
| 20 |
%% |
| 21 |
%% This work has the LPPL maintenance status `maintained'. |
| 22 |
%% |
| 23 |
%% The Current Maintainer of this work is Ch. L. Spiel. |
| 24 |
%% |
| 25 |
%% This work consists of the files synthslant.dtx and synthslant.ins |
| 26 |
%% and the derived files synthslant.sty, synthslant-gauge.tex, |
| 27 |
%% shear-transform.mp, and title.mp. |
| 28 |
%% |
| 29 |
%% |
| 30 |
prologues := 3; |
| 31 |
|
| 32 |
string roman_font; |
| 33 |
roman_font := "pplr8r"; % URW Palladio L - Roman |
| 34 |
|
| 35 |
string italic_font; |
| 36 |
italic_font := "pplri8r"; % URW Palladio L - Italic |
| 37 |
|
| 38 |
string sample_text; |
| 39 |
sample_text := "fga"; |
| 40 |
|
| 41 |
u := 70; |
| 42 |
|
| 43 |
font_scale := 7; |
| 44 |
|
| 45 |
color light_gray; |
| 46 |
light_gray := .8 white; |
| 47 |
|
| 48 |
color original_color, slanted_color; |
| 49 |
original_color := light_gray; |
| 50 |
slanted_color := black; |
| 51 |
|
| 52 |
pair loc[]; |
| 53 |
loc[1] := (0, 0); % roman |
| 54 |
loc[2] := (1.9u, 0); % italic |
| 55 |
loc[3] := (2.03u, 1.1u); % slanted roman |
| 56 |
loc[4] := (-.1u, -1.1u); % upright italic |
| 57 |
|
| 58 |
picture roman; |
| 59 |
roman := thelabel.rt(sample_text infont roman_font scaled font_scale, loc[1]); |
| 60 |
|
| 61 |
picture italic; |
| 62 |
italic := thelabel.rt(sample_text infont italic_font scaled font_scale, loc[2]); |
| 63 |
|
| 64 |
picture slanted_roman; |
| 65 |
slanted_roman := thelabel.rt(sample_text infont roman_font scaled font_scale slanted .2, loc[3]); |
| 66 |
|
| 67 |
picture upright_italic; |
| 68 |
upright_italic := thelabel.rt(sample_text infont italic_font scaled font_scale slanted -.2, loc[4]); |
| 69 |
|
| 70 |
beginfig(1); |
| 71 |
draw roman withcolor original_color; |
| 72 |
draw italic withcolor original_color; |
| 73 |
draw slanted_roman withcolor slanted_color; |
| 74 |
draw upright_italic withcolor slanted_color; |
| 75 |
endfig; |
| 76 |
end |