diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-28.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-28.ltx | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-28.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-28.ltx new file mode 100644 index 00000000000..788700a60e8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/33-03-28.ltx @@ -0,0 +1,45 @@ +%% +%% A DANTE-Edition example +%% +%% Example 33-03-28 on page 700. +%% +%% Copyright (C) 2011 Herbert Voss +%% +%% 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. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{375.57637pt} +\setlength\parindent{0pt} + +\usepackage{pst-circ,pst-optexp,pst-func} + +\begin{document} +\begin{pspicture}(6.4,3.2) +\addtopsstyle{Fiber}{linecolor=red} +\pnode(2.3,2.3){Lin} +\pnode([Xnodesep=0.5]Lin){Lout} +\pnode([Xnodesep=1.5]Lout){EAMout} +\pnode([Xnodesep=1.5]EAMout){Det} +\optbox[fiber,labeloffset=-0.2,endbox,compname=L,extnode=b](Lout)(Lin){% + \psGauss[yunit=0.03,sigma=0.03]{-0.5}{0.5}} +\optbox[fiber,labeloffset=0,optboxwidth=1,compname=EAM,extnode=b](Lout)(EAMout){EAM} +\optfiber[labeloffset=0.3](EAMout)(Det){fibre} +\optdetector(EAMout)(Det){OSA} +\pnode([Xnodesep=-1,offset=-1]LExtNode){Osc} +\pnode(LExtNode|Osc){PSin} +\pnode(EAMExtNode|Osc){PSout} +\oscillator[output=right](Osc){10\,GHz}{} +\phaseshifter[labeloffset=-0.7](PSin)(PSout){$\tau$} +\wire(LExtNode)(PSin) +\wire(EAMExtNode)(PSout) +\end{pspicture} +\end{document} |