summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luaintro/05-02-1.lualtx3
blob: 496ba4bac25f6578311d61be5873404c12fa786c (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
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  1. Auflage
%% 
%%  Beispiel 05-02-1 auf Seite 103.
%% 
%%  Copyright (C) 2013 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
\nopagenumbers
%StartShownPreambleCommands
\def\OverBrace{\Umathaccent 0 0 "23DE}% new definition
\input luaotfload.sty
\font\testA={name:TG Pagella Math:mode=base;script=math} at 12pt
\font\testB={name:XITS Math:mode=base;script=math} at 12pt
%StopShownPreambleCommands
\relax
\textfont0=\testA
Pagella: $\Umathaccent 0 0 "0307 {\Umathchar 0 0 "1D434}$
$\Umathaccent 0 0 "0308 {\Umathchar 0 0 "1D434}$
$\OverBrace{f}$ \par  \textfont0=\testB XITS:~~
$\Umathaccent 0 0 "0307 {\Umathchar 0 0 "1D434}$
$\Umathaccent 0 0 "0308 {\Umathchar 0 0 "1D434}$
$\OverBrace{f}$
\bye