/
tlb-varioref-005.lvt
97 lines (48 loc) · 1.99 KB
/
tlb-varioref-005.lvt
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
% hyperref + space (implicit) with rollback
\RequirePackage[2020-10-01]{latexrelease} % in old release some of the optional args didn't exist
% we can't roll back earlier than 2020-10 with hyperref
\documentclass{article}
\input{test2e}
\setlength\textheight{15\baselineskip}
\usepackage{hyperref}
\usepackage{varioref}
\labelformat{section}{sect: #1}
\showoutput
\begin{document}
\START
\section{A-head}\label{A}
This is the \vpageref{A}.
And this is the \vpageref*{B}. % space dropped
(\vpageref*{A})
(\vpageref{A})
Now vref: \vref{A}. (\vref*{A})
Now Vref: \Vref{A}. (\Vref*{A})
Now Vref: \Vref{B}. (\Vref*{B})
This is the \vpageref*[above section][section]{A}.
This is the \vpageref[above section][section]{A}.
(\vpageref*[above section][section]{A})
(\vpageref[above section][section]{A})
Now vref: \vref[above]{A}. % not supported by old versions
(\vref*[above]{A}) % not supported by old versions
%Now Vref: \Vref[above]{A}. (\Vref*[above]{A}) % not supported by old versions
%Now Vref: \Vref[below]{B}. (\Vref*[below]{B}) % not supported by old versions
\newpage
This is the \vpageref[above section][section]{A}.
(\vpageref*[above section][section]{A})
(\vpageref[above section][section]{A})
Now vref: \vref[above]{A}. (\vref*[above]{A}) % not supported by old versions
Now Vref: \Vref[above]{A}. (\Vref*[above]{A}) % not supported by old versions
Now Vref: \Vref[below]{B}. (\Vref*[below]{B}) % not supported by old versions
\newpage
This is the \vpageref[above section][section]{A}.
(\vpageref*[above section][section]{A})
(\vpageref[above section][section]{A})
Now vref: \vref[above]{A}. (\vref*[above]{A})
Now Vref: \Vref[below]{B}. (\Vref*[below]{B})
\newpage
\section{B-head}\label{B}
Now Vref: \Vref[above]{A}. (\Vref*[above]{A})
(\Vref[above]{A} non-star form)
Now Vref: \Vref[above]{B}. (\Vref*[above]{B})
(\Vref[above]{B} non-star form)
\end{document}