summaryrefslogtreecommitdiff
path: root/macros/inrstex/texgraph/test_lat.tex
blob: 7be4ba281a973e6f5d1d1cb00e060598b9992361 (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
48
49
50
51
52
53
54
55
56
57
58
59
\documentstyle[texgraph]{article}

\begin{document}

\hrule
\centergraph{ \begin{TeXgraph}
               \lvec h:2 v:2 
              \end{TeXgraph}
            }
\hrule 

Now for some text. 
\bigskip 
\hrule 
\centerplotfile{ieeelogo.ps}
\hrule 
\bigskip 
\centergraph{ \begin{TeXgraph}
              \incscfile f:{ieeelogo.ps} sc:.3 d:45 
              \end{TeXgraph}}
\hrule
\vskip 1in
Now for the INRS Logo to demonstrate some of the \TeX Graph language.

\input inrslogo

\font\eightrm = cmr8

\inrslogoadd  h:-.5 v:0 



\centergraph{ \begin{TeXgraph}
              \move h:2 v:2 
              \rtext d:45 t:{--- ---  Some text at 45 degrees}
              \rtext d:90 t:{--- ---  Some text at 90 degrees}
              \rtext d:180 t:{--- ---  Some text at 180 degrees}
              \rtext d:270 t:{--- ---  Some text at 270 degrees}
              \vtext {\begin{TeXgraph}
                      \move h:-2 v:2 
                      \rtext d:45 t:{*** ***  Some text at 45 degrees +90}
                      \rtext d:90 t:{*** ***  Some text at 90 degrees +90}
                      \rtext d:180 t:{*** ***  Some text at 180 degrees +90}
                      \rtext d:270 t:{*** ***  Some text at 270 degrees +90}
                      \end{TeXgraph}}
             \move h:4 v:4 
             \end{TeXgraph}
     }

\end{document}