summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/context/luatex-test.tex
blob: 1c423ec5b2b58d8578e6b47be58cb7345bbb14bd (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
43
44
45
46
47
%D \module
%D   [       file=luatex-test,
%D        version=2009.12.01,
%D          title=\LUATEX\ Support Macros,
%D       subtitle=Simple Test File,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright=public domain]

%D See \type {luatex-plain.tex} (or on my machine \type {luatex.tex}
%D for how to make a format.

\pdfoutput=1

\font\testa=file:lmroman10-regular                  at 12pt \testa \input tufte \par
\font\testb=file:lmroman12-regular:+liga;           at 24pt \testb effe flink fietsen \par
\font\testc=file:lmroman12-regular:mode=node;+liga; at 24pt \testc effe flink fietsen \par
\font\testd=name:lmroman10bold                      at 12pt \testd a bit bold \par

\font\oeps=[lmroman12-regular]:+liga at 30pt \oeps crap
\font\oeps=[lmroman12-regular]       at 40pt \oeps more crap

\font\oeps=cmr10

\font\testx=ptmr8t \testx abc

\font\cidtest=adobesongstd-light

\font\mathtest=cambria(math) {\mathtest 123}

% \font\testy=file:IranNastaliq.ttf:mode=node;script=arab;language=dflt;+calt;+ccmp;+init;+isol;+medi;+fina;+liga;+rlig;+kern;+mark;+mkmk at 14pt
% \testy این یک متن نمونه است با قلم ذر که درست آمده است.
% \font\testz=name:linlibertineo \testz

\setmplibformat{plain}

\mplibcode
    beginfig(1) ;
        draw fullcircle
            scaled 10cm
            withcolor red
            withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ;
    endfig ;
\endmplibcode

\end