-
Notifications
You must be signed in to change notification settings - Fork 177
/
xmarks-006.lvt
65 lines (37 loc) · 1.05 KB
/
xmarks-006.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
%
% testing \leftmark in two column --- nothing to do with xmarks really
%
\documentclass[twoside]{article}
\pagestyle{headings}
\show\sectionmark
\show\subsectionmark
\input{regression-test}
%\usepackage{xmarks}
%\tracingmarks=0
\makeatletter
\def\@oddhead{\rightmark\hfil\thepage\protected@xdef\XXX{===Odd======|left=\leftmark |right=\rightmark|}}
\def\@evenhead{\leftmark\hfil\thepage\protected@xdef\XXX{==Even======|left=\leftmark |right=\rightmark|}}
\makeatother
%\showoutput
\begin{document}
\section{A test}
\subsection*{A subtest}
Get some fonts loaded without generating log entries (for uptex and friends)
And for the running header: {\slshape \MakeUppercase{\thesection slanted}}.
\newpage X ... \newpage Y ...
\newpage back on odd ... \newpage
\START
\typeout{\XXX}
\section{A} Some text
\subsection{A-1} text
\section{B} Some text
\subsection{B-1} text
\newpage
\section{C} Some text
\subsection{C-1} text
\subsection{C-2} text
\subsection{C-3} text
\newpage
\typeout{\XXX}
\OMIT % avoid font stuff in some engines
\end{document}