Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Malin Freeborn
config
Commits
963598c5
Verified
Commit
963598c5
authored
11 months ago
by
Malin Freeborn
Browse files
Options
Downloads
Patches
Plain Diff
actually fix bloody page numbers
parent
a6bf69cf
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
fold_back.tex
+4
-4
4 additions, 4 deletions
fold_back.tex
fold_front.tex
+5
-5
5 additions, 5 deletions
fold_front.tex
foldout.tex
+25
-5
25 additions, 5 deletions
foldout.tex
with
34 additions
and
14 deletions
fold_back.tex
+
4
−
4
View file @
963598c5
...
...
@@ -7,12 +7,12 @@
rows=2,
}
,
boxes =
{
colback=white,
fit,
fit basedim=10pt,
interior empty,
geometry nodes=true,
frame code=
{
\showPage
}
,
before upper=
{
\parindent
10pt
\noindent
}
,
after upper=
{
\showPage
}
,
frame code=
{}
,
}
,
]
...
...
@@ -64,12 +64,12 @@
\glsdesc
{
tn
}
.
}
%\setcounter{page}{1}
\togglefalse
{
countedPage
}
\posterbox
{
name=second,column=1,row=2,span=1,rowspan=1
}{
\input
{
config/start.tex
}
}
\toggletrue
{
countedPage
}
\setcounter
{
page
}{
15
}
\posterbox
{
name=fifteenth,column=2,row=2,span=1,rowspan=1
}{
\subsubsection
{
\Glsfmtplural
{
spell
}}
...
...
This diff is collapsed.
Click to expand it.
fold_front.tex
+
5
−
5
View file @
963598c5
...
...
@@ -7,12 +7,12 @@
rows=2,
}
,
boxes =
{
colback=white,
fit,
fit basedim=10pt,
interior empty,
geometry nodes=true,
before upper=
{
\parindent
10pt
\noindent
}
,
before upper=
{
\showPage
}
,
frame code=
{}
,
frame code=
{
\showPage
}
,
}
,
]
...
...
@@ -31,11 +31,11 @@
}
\setcounter
{
page
}{
5
}
\togglefalse
{
countedPage
}
\posterbox
[
%
tikz=
{
rotate=180
}
,
before upper=
{
\parindent
0pt
}
,
]
{
name=fifth,column=1,row=1,span=1,rowspan=1
}{
\togglefalse
{
countedPage
}
\label
{
skillChart
}
\begin{center}
\rotatebox
{
-90
}{
\noindent
\begin{minipage}
{
.5
\textheight
}
...
...
@@ -131,7 +131,7 @@
\toggletrue
{
countedPage
}
\setcounter
{
page
}{
13
}
\posterbox
[blankest]
{
name=thirteenth,column=2,row=2,span=1,rowspan=1
}{
\posterbox
{
name=thirteenth,column=2,row=2,span=1,rowspan=1
}{
\subsubsection
{
\Glsfmttext
{
projectiles
}}
\glsdesc
{
projectiles
}
.
\par
...
...
This diff is collapsed.
Click to expand it.
foldout.tex
+
25
−
5
View file @
963598c5
...
...
@@ -7,6 +7,9 @@
\settoggle
{
verbose
}{
false
}
\settoggle
{
genExamples
}{
false
}
\newtoggle
{
upsideDown
}
\settoggle
{
upsideDown
}{
true
}
\renewcommand\subsubsection
[1]
{{
\Large\scshape
#1
}}
\renewcommand
{
\labelitemi
}{
\small
---
}
%\setlength{\leftmargin}{-3em}
...
...
@@ -20,12 +23,29 @@
\textit
{
#1
}
}
\renewcommand
{
\footnoterule
}{}
\newcommand\showPage
{
%
\iftoggle
{
countedPage
}{
%
\footnotetext
{
\vfill\ifodd\thepage\flushright\fi
\outline
{
\thepage
}}
%
\iftoggle
{
countedPage
}{
\ifnum\thepage
>12
%
\ifodd\thepage
%
\node
at ([xshift=-2em]interior.south east)
{
\thepage
}
;
%
\else
%
\node
at ([xshift=2em]interior.south west)
{
\thepage
}
;
%
\fi
%
\else
%
\ifnum\thepage
<6
%
\ifodd\thepage
%
\node
at ([xshift=-2em]interior.south east)
{
\thepage
}
;
%
\else
%
\node
at ([xshift=2em]interior.south west)
{
\thepage
}
;
%
\fi
%
\else
%
\ifodd\thepage
%
\node
[rotate=180]
at ([xshift=22em]interior.south)
{
\thepage
}
;
%
\else
%
\node
[rotate=-180]
at ([xshift=2em]interior.south west)
{
\thepage
}
;
%
\fi
%
\fi
%
\fi
%
}{}
%
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment