summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/2-3-11.ltx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/lgc2/2-3-11.ltx
Initial commit
Diffstat (limited to 'info/examples/lgc2/2-3-11.ltx')
-rw-r--r--info/examples/lgc2/2-3-11.ltx39
1 files changed, 39 insertions, 0 deletions
diff --git a/info/examples/lgc2/2-3-11.ltx b/info/examples/lgc2/2-3-11.ltx
new file mode 100644
index 0000000000..58d4b2f9f4
--- /dev/null
+++ b/info/examples/lgc2/2-3-11.ltx
@@ -0,0 +1,39 @@
+%%
+%% The LaTeX Graphics Companion, 2ed (first printing May 2007)
+%%
+%% Example 2-3-11 on page 48.
+%%
+%% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss
+%%
+%% It may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%%
+%% See http://www.latex-project.org/lppl.txt for details.
+%%
+
+\documentclass{ttctexa}
+\pagestyle{empty}
+\setcounter{page}{6}
+\setlength\textwidth{207.83385pt}
+
+\StartShownPreambleCommands
+\usepackage{xcolor,pict2e,curve2e}
+\StopShownPreambleCommands
+\begin{document}
+\setlength\unitlength{1cm}
+\begin{picture}(6.6,3)(0,-1.5)
+ \put(0,-1.5){\vector(0,3){3}}
+ \put(0,0){\Vector(6.6,0)}
+ \put(6.3,0.1){$\theta$}
+ \put(0.05,-0.3){$0$}% 0
+ \put(2.9,-0.3){$\pi$}% pi
+ \put(6.23,-0.3){$2\pi$}% 2 pi
+ \color{red}\put(0.1,1.1){$\cos\theta$}
+ \Curve(0,1)<1,0>(1.570796,0)<1,-1>%
+ (3.1415924,-1)<1,0>(6.283185,1)<1,0>%
+ \color{blue}\put(1.65,1.1){$\sin\theta$}
+ \Curve(0,0)<1,1>(1.570796,1)<1,0>%
+ (4.712389,-1)<1,0>(6.283185,0)<1,1>%
+\end{picture}
+\end{document}