summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/finstrut/fstrutst.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/finstrut/fstrutst.tex')
-rw-r--r--Master/texmf-dist/source/latex/finstrut/fstrutst.tex57
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/finstrut/fstrutst.tex b/Master/texmf-dist/source/latex/finstrut/fstrutst.tex
new file mode 100644
index 00000000000..990c2affe09
--- /dev/null
+++ b/Master/texmf-dist/source/latex/finstrut/fstrutst.tex
@@ -0,0 +1,57 @@
+\ProvidesFile{fstrutst.tex}[2011/02/12 test/demo finstrut.sty (DA/UL)]
+\documentclass{article}
+\usepackage{readprov}
+\usepackage{array}
+\usepackage[full,show]{finstrut}[2011/02/12]
+\makeatletter
+ % with array.sty
+ \@ifpackageloaded{array}{%
+ \def\arraytest{%
+ \begin{tabular}{|l|b{2cm}|}\hline
+ b alignment & b alignment\par \\\hline
+ \end{tabular}
+ \nobreak\hfill
+ \begin{tabular}{|l|b{2cm}|}\hline
+ b alignment & b alignment \\\hline
+ \end{tabular}
+ \par\medskip\noindent
+ }%
+ }{\let\arraytest\relax}
+\makeatother
+\textheight=3.5in
+\begin{document}
+ \begin{center}
+ \bfseries
+ Trying \textsf{finstrut}
+ \UseVersionOf{finstrut.sty} as of \UseDateOf{finstrut.sty}
+ \end{center}
+% \edef\latexoutput{\the\output}
+% \output{\tracingonline=1 \showboxbreadth=10 \showboxdepth=1
+% \showbox\footins
+% \latexoutput
+% \global\output\expandafter{\latexoutput}}
+% \makeatletter \let\@finalstrut\@gobble \makeatother %% WITHOUT
+\begin{tabular}{|l|p{2cm}|}\hline
+ deep & $\displaystyle \int_j$\par \\\hline
+\end{tabular}
+ \nobreak\hfill
+\begin{tabular}{|l|p{2cm}|}\hline
+ deep & $\displaystyle \int_j$\\\hline
+\end{tabular}
+ \par\medskip\noindent
+\begin{tabular}{|l|p{2cm}|}\hline
+ bad prevdepth & Hello world\hrule \\\hline
+\end{tabular}
+ \nobreak\hfill
+\begin{tabular}{|l|p{2cm}|}\hline
+ bad prevdepth & Hello world \\\hline
+\end{tabular}
+ \par\medskip\noindent
+\arraytest
+O\footnote{\vrule depth22.22pt\par}
+A\footnote{x\par}
+B\footnote{y\par}
+O\footnote{\vrule depth22.22pt}
+A\footnote{x}
+B\footnote{y}
+\end{document}