File: pgfmorepages.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (99 lines) | stat: -rw-r--r-- 2,249 bytes parent folder | download | duplicates (2)
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
98
99
# pgfmorepages package
# Matthew Bertucci 12/12/2021 for v1.20

# shared commands with pgfpages
#include:pgfcore
#include:calc

\pgfpagesuselayout{layout}
\pgfpagesuselayout{layout}[options%keyvals]

#keyvals:\pgfpagesuselayout
physical paper height=##L
physical paper width=##L
a0paper
a1paper
a2paper
a3paper
a4paper
a5paper
a6paper
letterpaper
legalpaper
executivepaper
landscape
border shrink=##L
odd numbered pages right
corner width=##L
second right
second left
second bottom
second top
#endkeyvals

\pgfpagesdeclarelayout{layout}{before actions}{after actions}#*

\pgfpagesphysicalpageoptions{options%keyvals}#*

#keyvals:\pgfpagesphysicalpageoptions
logical pages=%<integer%>
first logical shipout=%<first%>
last logical shipout=%<last%>
current logical shipout=%<current%>
physical height=##L
physical width=##L
#endkeyvals

\pgfpageslogicalpageoptions{logical page number}{options%keyvals}#*

#keyvals:\pgfpageslogicalpageoptions,\pgfpagessetdefaults
center=%<pgf point%>
resized width=##L
resized height=##L
original width=##L
original height=##L
scale=%<factor%>
xscale=%<factor%>
yscale=%<factor%>
rotation=%<degrees%>
copy from=%<logical page number%>
border shrink=##L
border code=%<code%>
corner width=##L
#endkeyvals

\pgfpagesshipoutlogicalpage{number}#*
\pgfpagescurrentpagewillbelogicalpage{number}#*
\pgfshipoutphysicalpage#*
\pgfhookintoshipout#*
\pgfsetupphysicalpagesizes#*
\ifpgfphysicalpageempty#*
\pgfphysicalpageemptytrue#*
\pgfphysicalpageemptyfalse#*
\pgfphysicalheight#*
\pgfphysicalwidth#*
\pgfpageoptionheight#*
\pgfpageoptionwidth#*
\pgfpageoptionborder#*
\pgfpageoptioncornerwidth#*
\pgfpageoptionfirstshipout#*
\pgfpageoptionfirstcenter#*
\pgfpageoptionsecondcenter#*
\pgfpageoptiontwoheight#*
\pgfpageoptiontwowidth#*

# commands specific to pgfmorepages
\ifpgfpagesship#*
\pgfpagesshiptrue#*
\pgfpagesshipfalse#*
\pgfactualpage#*
\pgfpageoptionbordercode#*
\pgfmorepagesloadextralayouts
\pgfpagesphysicalpage{number}{options}
\pgfpagessetdefaults{options%keyvals}
#keyvals:\pgfpagesuselayout
border code=%<code%>
#endkeyvals
#keyvals:\pgfpageslogicalpageoptions,\pgfpagessetdefaults
skip code=%<code%>
#endkeyvals