summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/featpost/example/standard/labelconstruct.mp
blob: 4521332094215131a5167810ad8f1222b3cc9f9a (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
% labelconstruct.mp
% L. Nobre G. 
% 2004

%input featpost3Dplus2D;

% bash: export TEX=latex
% tcsh: setenv TEX latex

f := 1.1*(2,1,0.5);
ParallelProj := true;

verbatimtex
\documentclass{article} 
\usepackage{beton,concmath,ccfonts} 
\begin{document} 
etex

beginfig(1);
  kindofcube(false,true,(0,-0.5,0),90,0,0,1.2,0.1,0.4);
  kindofcube(false,true,(0,0,0),0,0,0,0.5,0.1,0.8);
  labelinspace(false,(0.45,0.1,0.65),(-0.4,0,0),(0,0,0.1),
    btex \framebox{\textsc{Label}} etex);
endfig;

verbatimtex 
\end{document} 
etex

end;