BakalářkoTeX
This commit is contained in:
parent
37c8ec4e2e
commit
48e34eaf8e
1 changed files with 45 additions and 9 deletions
|
@ -6,6 +6,21 @@
|
|||
\ucwmodule{link}
|
||||
\clickablefalse
|
||||
|
||||
\pdfglyphtounicode{summationtext}{2211}
|
||||
\pdfglyphtounicode{summationdisplay}{2211}
|
||||
\pdfglyphtounicode{summation}{2211}
|
||||
|
||||
\pdfglyphtounicode{parenleftbig}{0028}
|
||||
\pdfglyphtounicode{parenrightbig}{0029}
|
||||
\pdfglyphtounicode{parenleftBig}{0028}
|
||||
\pdfglyphtounicode{parenrightBig}{0029}
|
||||
\pdfglyphtounicode{parenleftbigg}{0028}
|
||||
\pdfglyphtounicode{parenrightbigg}{0029}
|
||||
\pdfglyphtounicode{parenleftBigg}{0028}
|
||||
\pdfglyphtounicode{parenrightBigg}{0029}
|
||||
|
||||
\pdfglyphtounicode{radicalbig}{221A}
|
||||
|
||||
|
||||
\input minim-xmp.tex
|
||||
\startmetadata
|
||||
|
@ -14,9 +29,15 @@
|
|||
stopmetadata
|
||||
|
||||
|
||||
\pdfcompresslevel=0
|
||||
\pdfobjcompresslevel=0
|
||||
% \pdfobj{/Alternate /DeviceRGB}
|
||||
|
||||
\input glyphtounicode.tex
|
||||
\pdfgentounicode=1
|
||||
|
||||
|
||||
|
||||
|
||||
%Create an OutputIntent in order to correctly specify colours
|
||||
\immediate\pdfobj stream attr{/N 3} file{sRGB.icc}
|
||||
|
@ -66,9 +87,7 @@
|
|||
\def\underline#1{FIXME: Underline not implemented}
|
||||
|
||||
|
||||
% Math (compatibility with KaTeX)
|
||||
\font\mft=msbm10
|
||||
\def\mathbb#1{\hbox{\mft #1}}
|
||||
\def\mathbb#1{\hbox{\bb #1}}
|
||||
|
||||
|
||||
|
||||
|
@ -80,7 +99,20 @@
|
|||
qplbi;;%
|
||||
}
|
||||
|
||||
% TODO: doporučen je horní, dolní a pravý okraj 25 mm, levý okraj 40 mm.
|
||||
% doporučen je horní, dolní a pravý okraj 25 mm, levý okraj 40 mm.
|
||||
% Protože doba tisknutí prací je už pryč, my máme tejně velkou stránku uprostřed papíru
|
||||
\voffset 25mm
|
||||
|
||||
\hoffset 32.5mm
|
||||
|
||||
\vsize\pdfpageheight
|
||||
\advance\vsize -2\voffset
|
||||
|
||||
\hsize\pdfpagewidth
|
||||
\advance\hsize -2\hoffset
|
||||
|
||||
\advance\voffset -\pdfvorigin
|
||||
\advance\hoffset -\pdfhorigin
|
||||
|
||||
\def\MSfeat#1{:mode=node;script=latn;+tlig}
|
||||
\registertfm qplr - file:texgyrepagella-regular.otf\MSfeat{}
|
||||
|
@ -88,13 +120,17 @@
|
|||
\registertfm qpli - file:texgyrepagella-italic.otf\MSfeat{}
|
||||
\registertfm qplbi - file:texgyrepagella-bolditalic.otf\MSfeat{}
|
||||
|
||||
\setfonts[Pagella/10]
|
||||
\def\h{\it} % hint
|
||||
\def\bh{\bi} % bold hint
|
||||
%\setfonts[Pagella/10]
|
||||
%\def\h{\it} % hint
|
||||
%\def\bh{\bi} % bold hint
|
||||
|
||||
\def\N{{\mathbb N}}
|
||||
\def\R{{\mathbb R}}
|
||||
\def\N{{\bb N}}
|
||||
\def\R{{\bb R}}
|
||||
\def\E{{\bb E}}
|
||||
\def\O{{\cal O}}
|
||||
\def\SYM{{\rm SYM}}
|
||||
\def\frac#1#2{{{#1} \over {#2}}}
|
||||
|
||||
\def\mod{\mathrel{\rm mod}}
|
||||
|
||||
\settextsize{12}
|
||||
|
|
Loading…
Reference in a new issue