summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/finstrut/fstrutst.tex
blob: 990c2affe09758a30d0a1dc853d722aa829c9813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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}