summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex')
-rw-r--r--Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex246
1 files changed, 246 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex b/Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex
new file mode 100644
index 00000000000..a68a5ed8724
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/struktex/struktex-test-3.tex
@@ -0,0 +1,246 @@
+%%
+%% This is file `struktex-test-3.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% struktex.dtx (with options: `example4')
+%%
+%%
+\documentclass{article}
+
+\usepackage{struktxp,struktxf}
+
+\nofiles
+
+\begin{document}
+
+\pLanguage{Pascal}
+\section*{Default values (Pascal):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{yes}{no}-:
+
+{\obeylines
+\pBoolValue{yes}{no}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\pLanguage{C}
+\pBoolValue{\texttt{WAHR}}{\texttt{FALSCH}}
+\section*{Default values (C):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{\texttt{yes}}{\texttt{no}}-:
+
+{\obeylines
+\pBoolValue{\texttt{yes}}{\texttt{no}}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\pLanguage{Java}
+\pBoolValue{\texttt{WAHR}}{\texttt{FALSCH}}
+\section*{Default values (Java):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{\texttt{yes}}{\texttt{no}}-:
+
+{\obeylines
+\pBoolValue{\texttt{yes}}{\texttt{no}}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\pLanguage{Python}
+\pBoolValue{\texttt{WAHR}}{\texttt{FALSCH}}
+\section*{Default values (Python):}
+
+{\obeylines
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{After changing the boolean values with}
+\verb-\pBoolValue{\texttt{yes}}{\texttt{no}}-:
+
+{\obeylines
+\pBoolValue{\texttt{yes}}{\texttt{no}}
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\sffamily\bfseries}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\sffamily\bfseries}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}-:
+
+{\obeylines
+\pFonts{\ttfamily}{\ttfamily\bfseries}{\ttfamily\slshape}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+}
+
+\paragraph{after changing the fonts with}
+\verb-\pFonts{\itshape}{\bfseries\itshape}{}-:
+
+{\obeylines
+\pFonts{\itshape}{\bfseries\itshape}{}
+Variables: \pVar{iV_g}, \sVar{zV^}, \pVariable{&i}
+Keywords: \pKeyword{begin}, \pKey{while}, \sKey{__CPP__}
+in math mode: \(\pVar{a}+\pVar{iV_g}\)
+boolean values: \sTrue, \sFalse, \pTrue, \pFalse
+
+\vspace{15pt}
+Without \textit{italic correction}:
+ M \pVar{M} M \pKey{M} M. \pVar{M}. M. \pKey{M}. M.
+}
+
+\end{document}
+%%
+%% End of file `struktex-test-2.tex'.
+%%
+%%
+%% End of file `struktex-test-3.tex'.