[metapost] \leqslant does NOT work in metapost

Dehua Xu schedulingresearch at gmail.com
Sun Sep 12 03:43:31 CEST 2010


Dear metapost fans,

I found that \leqslant does not work in metapost under MikTex 2.8.
The codes are as follows.

u:=0.5cm;
beginfig(1);

draw (-11,8.1)*u--(11,8.1)*u;
draw (-11,6.9)*u--(11,6.9)*u;
draw (-7,9.3)*u--(-7,6.9)*u;

%%%the following line works well
label (btex $\leq u$ etex,(-1,8.7)*u);

%%%the following line does not work
%label (btex $\leqslant u$ etex,(-1,8.7)*u);

drawarrow (-1.8,8.7)*u--(-7,8.7)*u;
drawarrow (-0.2,8.7)*u--(5,8.7)*u;
draw (5,9.3)*u--(5,6.9)*u;

endfig;
end;



And, it still does not work in MikTex 2.8 even if I start the .mp file
with the following codes.

verbatimtex
%&latex
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
etex

However, this method works in MikTex 2.4.



Kind regards,

Dehua Xu


More information about the metapost mailing list