Debian Codegraph @

texmf-dist/doc/latex/vocaltract/vtLatex_FigureDemo.tex

raw
1 %==============================================
2 % Vocal Tract Figure Generator for PS or PDF
3 %==============================================
4 \documentclass{article}
5 \usepackage{VocalTract}
6 \pagestyle{empty}
7
8 \begin{document}
9 %\input{vtLatex_TimeParams} % In case u want to store coordinates to a file
10 % or Alternative Use the inside codebook of vector in ".sty" file
11 \def\IndexStepVocalTract{13} % 13 corresponds to f
12 \psset{yunit=2cm,xunit=2cm}
13 \begin{pspicture*}(0cm,0cm)(13cm,18cm)
14 \def\BreathType{0.5} % Normal Breathing [0.1 to 0.9]
15 \SetOscAmp{\IndexStepVocalTract}{\BreathType} % For Breath
16 \UpdateRespOscillation % For Breath
17 \UpdateVocalTract{\IndexStepVocalTract} % Update Vocal Tract in the respective time
18 \VocalChords % Show VCords
19 \StomachCompartment % Show Stomach Compartment
20 %\PlotDotsVocal % Show some movable vocal tract points
21 \rput(3cm,14cm){\ShowPhonemesGerman{\IndexStepVocalTract}} % Show the phonemes transcriptions
22 \ShowPressure{\IndexStepVocalTract} % Show Pressure as Red Space
23 \rput(3cm,0cm){\ShowLinearTubes{\IndexStepVocalTract}\VocalChords} % The linear model next to the human
24 \rput(3.5cm,0cm){\ShowParameters} % Explain the parameters
25 %------------ Grid and Axes Labels --------------
26 %\uput[45](0,8){$\times$ 10 cm}
27 %\uput[45](3,0){$\times$ 10 cm}
28 %\psgrid[gridcolor=blue,subgridcolor=gray,gridlabels=7pt,subgriddiv=10](0,0)(5,12) % subgriddiv=4,griddots=10,
29 %------------------------------------------------
30 \end{pspicture*}
31 \end{document}