cestina v metapostu
Leo Hadacz
hadacz at math.muni.cz
Thu May 20 15:32:09 CEST 1999
Zdravim,
zacinam pouzivat MetaPost a potreboval bych v nem delat popisky s ceskymi
znaky. Napr. bych chtel napsat retezec ,,muž(velký)``, ale vysledek vypada
asi jako ,,mu (v elk )``. Nevite nekdo, v cem je problem?
Mam napr. nasledujici zdrojak (n.mp):
----------------------------------------------------------------------
verbatimtex %&latex
\documentclass{article}
\usepackage[latin2]{inputenc}
\usepackage{czech}
\begin{document}
etex
prologues:=1;
beginfig(1);
u=1cm;
z615 = (13u,1u);
label.bot(btex muž(velký) etex, z615);
endfig;
end
----------------------------------------------------------------------
Vysledne soubory:
n.log
----------------------------------------------------------------------
This is MetaPost, Version 0.641 (Web2C 7.2) (mem=mpost 1998.5.19) 20 MAY 1999 15:23
**n.mp
(n.mp [1] )
1 output file written: n.1
----------------------------------------------------------------------
n.mpx
----------------------------------------------------------------------
% Written by DVItoMP, Version 0.64 (Web2C 7.2)
begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
string _n[];
vardef _s(expr _t,_f,_m,_x,_y)=
addto _p also _t infont _f scaled _m shifted (_x,_y); enddef;
_n0="csr10";
_s("m",_n0,1.00000,0.0000,0.0000);
_s("u"&char190&"(v",_n0,1.00000,8.0255,0.0000);
_s("elk"&char253&")",_n0,1.00000,26.8438,0.0000);
setbounds _p to (0,-2.4907)--(48.4296,-2.4907)--
(48.4296,7.4720)--(0,7.4720)--cycle;
_p endgroup
mpxbreak
----------------------------------------------------------------------
n.1
----------------------------------------------------------------------
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 344 15 393 26
%%Creator: MetaPost
%%CreationDate: 1999.05.20:1523
%%Pages: 1
%%DocumentFonts: csr10
/csr10 /csr10 def
/fshow {exch findfont exch scalefont setfont show}bind def
%%EndProlog
%%Page: 1 1
344.28906 17.87445 moveto
(m) csr10 9.96265 fshow
352.31456 17.87445 moveto
(u\276\(v) csr10 9.96265 fshow
371.13286 17.87445 moveto
(elk\375\)) csr10 9.96265 fshow
showpage
%%EOF
----------------------------------------------------------------------
Dekuji za pripadnou pomoc.
Leo
--
_ _ _ hadacz at math.muni.cz
| ____ ___ | | __ __ __ ___ ___ ("`-/")_.-"'``-._.:
| _ | \ |___ | \ \ \ \ \ . . `; -._ )-'
| | / \ | |_ \ | \ |_ \ / / (v_,)' _ )`-.\
|___ |__ \_ / | | \ |__ \ \ \_ /_ _.- _..-_/ / ((,'
| | / | | | / / | / / | ((,.-' ((,/
www: http://www.math.muni.cz/~hadacz/
More information about the csTeX
mailing list