Improve build script for amsmath
[latex2e.git] / latex2e-20160201 / base / testfiles / tlb-hfloat-01.lvt
blob4c7da9489b9d7c281cafd08cb434c39e061867a0
1 \iffalse
3 Description of bug:
4 Bad interaction of \@addtocurcol with parskip stretch
5 http://tex.stackexchange.com/q/234089
6 http://tex.stackexchange.com/a/40363
7 the test result shows the unfixed result
8 see (reverted) svn r615 for partial fix.
10 \fi
13 \documentclass{book}
14 \usepackage[utf8]{inputenc}
15 \usepackage[T1]{fontenc}
18 % settings from scrbook
19 \textheight=595.8pt                       
20 \parskip=6.8pt plus 6.8pt
22 \input{test2e}
24 % for luatex > 0.80
25 \ifx\pdfsavepos\undefined
26   \let\pdfsavepos\savepos
27   \let\pdflastypos\lastypos
28 \fi
30 \begin{document}
32 \START
33 \AUTHOR{myo42}
36 \begin{figure}[th]
37 \fbox{\parbox[c][6cm]{7cm}{img 1}}
38     \caption{caption 1\pdfsavepos\write20{Caption1: \the\pdflastypos}}
39 \end{figure}
41 x\\x\\x\\x\\x\\x\\x\\x\\x\\x\\x\\x\\x
43 \begin{figure}[th]
44     \raggedleft
45     \fbox{\parbox[c][4cm]{5cm}{img 2}}
46     \caption{caption 2\pdfsavepos\write20{Caption2: \the\pdflastypos}}
47 \end{figure}
49 \section{A section}
50 y\\y\\y\\y\\y
52 \END