summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-13 22:39:05 +0000
committerKarl Berry <karl@freefriends.org>2012-03-13 22:39:05 +0000
commit649d975f9fdc7400e017fe94445d9faf338fa8df (patch)
treed282681dbe272cb6fd771f33b8bcc62259fab99b /Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex
parentb92609b93bc7e9649fd001bd7a0c9585da130691 (diff)
new pstricks package vocaltract (13mar12)
git-svn-id: svn://tug.org/texlive/trunk@25629 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex')
-rw-r--r--Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex b/Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex
new file mode 100644
index 00000000000..2359725be64
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex
@@ -0,0 +1,31 @@
+%==============================================
+% Vocal Tract Figure Generator for PS or PDF
+%==============================================
+\documentclass{article}
+\usepackage{VocalTract}
+\pagestyle{empty}
+
+\begin{document}
+%\input{vtLatex_TimeParams} % In case u want to store coordinates to a file
+% or Alternative Use the inside codebook of vector in ".sty" file
+\def\IndexStepVocalTract{13} % 13 corresponds to f
+\psset{yunit=2cm,xunit=2cm}
+\begin{pspicture*}(0cm,0cm)(13cm,18cm)
+\def\BreathType{0.5} % Normal Breathing [0.1 to 0.9]
+\SetOscAmp{\IndexStepVocalTract}{\BreathType} % For Breath
+\UpdateRespOscillation % For Breath
+\UpdateVocalTract{\IndexStepVocalTract} % Update Vocal Tract in the respective time
+\VocalChords % Show VCords
+\StomachCompartment % Show Stomach Compartment
+%\PlotDotsVocal % Show some movable vocal tract points
+\rput(3cm,14cm){\ShowPhonemesGerman{\IndexStepVocalTract}} % Show the phonemes transcriptions
+\ShowPressure{\IndexStepVocalTract} % Show Pressure as Red Space
+\rput(3cm,0cm){\ShowLinearTubes{\IndexStepVocalTract}\VocalChords} % The linear model next to the human
+\rput(3.5cm,0cm){\ShowParameters} % Explain the parameters
+%------------ Grid and Axes Labels --------------
+%\uput[45](0,8){$\times$ 10 cm}
+%\uput[45](3,0){$\times$ 10 cm}
+%\psgrid[gridcolor=blue,subgridcolor=gray,gridlabels=7pt,subgriddiv=10](0,0)(5,12) % subgriddiv=4,griddots=10,
+%------------------------------------------------
+\end{pspicture*}
+\end{document} \ No newline at end of file