File: titleps.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 (121 lines) | stat: -rw-r--r-- 3,308 bytes parent folder | download
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# titleps package
# Matthew Bertucci 12/3/2021 for v2.14

#keyvals:\usepackage/titleps#c
psfloats
outermarks
topmarks
botmarks
innermarks
extramarks
nopatches
#endkeyvals

\newpagestyle{name}{commands}#s#%titlepspagestyle
\newpagestyle{name}[global-style]{commands}
\renewpagestyle{name}{commands}
\renewpagestyle{name}[global-style]{commands}

#keyvals:\pagestyle#c
%titlepspagestyle
#endkeyvals

\sethead{odd-left}{odd-center}{odd-right}
\sethead[even-left][even-center][even-right]{odd-left}{odd-center}{odd-right}
\sethead*{odd-left}{odd-center}{odd-right}
\setfoot{odd-left}{odd-center}{odd-right}
\setfoot[even-left][even-center][even-right]{odd-left}{odd-center}{odd-right}
\setfoot*{odd-left}{odd-center}{odd-right}

\parttitle#*
\chaptertitle#*
\sectiontitle#*
\subsectiontitle#*
\subsubsectiontitle#*
\paragraphtitle#*
\subparagraphtitle#*
\ifthepart{true}{false}#*
\ifthechapter{true}{false}#*
\ifthesection{true}{false}#*
\ifthesubsection{true}{false}#*
\ifthesubsubsection{true}{false}#*
\iftheparagraph{true}{false}#*
\ifthesubparagraph{true}{false}#*

\settitlemarks{level-name,sublevel-name,...}
\settitlemarks*{level-name,sublevel-name,...}

\headrule
\footrule
\setheadrule{length}
\setfootrule{length}
\makeheadrule#*
\makefootrule#*

\setmarkboth{code}
\resetmarkboth

\widenhead{odd-left}{odd-right}
\widenhead[even-left][even-right]{odd-left}{odd-right}
\widenhead*{even-right/odd-left}{even-left/odd-right}
\setheadindent#S

\TitlepsPatchSection{level}#*
\TitlepsPatchSection*{level}#*

\bottitlemarks
\toptitlemarks
\firsttitlemarks
\nexttoptitlemarks
\outertitlemarks
\innertitlemarks

\newtitlemark{command}
\newtitlemark*{variable}

\pretitlemark{level}{text}
\pretitlemark*{level}{text}

\ifsamemark{group}{command}{true}{false}#*

#ifOption:psfloats
\setfloathead{odd-left}{odd-center}{odd-right}{extra}
\setfloathead[even-left][even-center][even-right]{odd-left}{odd-center}{odd-right}{extra}[floats]
\setfloathead*{odd-left}{odd-center}{odd-right}{extra}
\setfloatfoot{odd-left}{odd-center}{odd-right}{extra}
\setfloatfoot[even-left][even-center][even-right]{odd-left}{odd-center}{odd-right}{extra}[floats]
\setfloatfoot*{odd-left}{odd-center}{odd-right}{extra}
\nextfloathead{odd-left}{odd-center}{odd-right}{extra}
\nextfloathead[even-left][even-center][even-right]{odd-left}{odd-center}{odd-right}{extra}[floats]
\nextfloathead*{odd-left}{odd-center}{odd-right}{extra}
\nextfloatfoot{odd-left}{odd-center}{odd-right}{extra}
\nextfloatfoot[even-left][even-center][even-right]{odd-left}{odd-center}{odd-right}{extra}[floats]
\nextfloatfoot*{odd-left}{odd-center}{odd-right}{extra}
#endif

#ifOption:extramarks
\newshortmark{command}
\botshortmark{command}
\firstshortmark{command}
\nexttopshortmark{command}
\preshortmark{command}
\shortmark{command}
\topshortmark{command}
\newmarkset{markset}
\newextramark{markset}{command}
\newextramark*{markset}{command}
\botextramarks{markset}
\topextramarks{markset}
\firstextramarks{markset}
\nexttopextramarks{markset}
\outerextramarks{markset}
\innerextramarks{markset}
\extramark{counter}
\preextramark
\preshortmark
\settitlemarks*{level-name,sublevel-name,...}
#endif

\iftitle{arg}#*
\usepage#S
\setmarks#S