File: class-pressrelease.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 (145 lines) | stat: -rw-r--r-- 2,849 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# pressrelease class
# Matthew Bertucci 4/27/2022 for v1.0

#include:xkeyval
#include:etoolbox
#include:setspace
#include:geometry
#include:url
#include:refcount

#keyvals:\documentclass/pressrelease#c
10pt
11pt
12pt
letterpaper
a4paper
#endkeyvals

\PRset{options%keyvals}

#keyvals:\PRset#c,\documentclass/pressrelease#c
symbols#true,false
head=#above,below,center,left,right,above center,above left,above right,below center,below left,below right
smashlogo#true,false
logo=#left,right,above,below,above left,above right,below left,below right
releasealign=#center,left,right
ruled#true,false
topinfoalign=#center,left,right
bottominfoalign=#center,left,right
#endkeyvals

#keyvals:\PRset#c
topinfo=%<company/department/location/date%>
bottominfo=%<contact/address/hours/phone/email%>
#endkeyvals

#ifOption:symbols
#include:pressrelease-symbols
#endif
#ifOption:symbols=true
#include:pressrelease-symbols
#endif

\begin{pressrelease}
\end{pressrelease}
\begin{about}
\end{about}

\PRusevar{variable%keyvals}

#keyvals:\PRusevar#c
address
company
contact
date
department
email
encl
fax
headline
hours
location
logo
mobile
phone
release
subheadline
url
#endkeyvals

\PRheadline{text}
\PRsubheadline{text}
\PRrelease{text}
\PRlogo{logo}
\PRcompany{name%text}
\PRdepartment{name%text}
\PRlocation{place%text}
\PRcontact{name}
\PRaddress{text}
\PRphone{number}
\PRmobile{number}
\PRfax{number}
\PRurl{URL}#U
\PRemail{email%URL}#U
\PRemailformat{text}#*
\PRhours{times}
\PRencl{text}

\PRtagformat{text}#*
\PRinfotopline{tag}{details%text}#*
\PRinfobottomline{tag}{details%text}#*
\PRinfoline{tag}{details%text}#*
\PRinfoentry{details%text}#*
\PRenclformat{tag}{details%text}#*
\PRurlformat{tag}{URL}#*U

\PRcontacttext#*
\PRphonetext#*
\PRmobiletext#*
\PRemailtext#*
\PRurltext#*
\PRfaxtext#*
\PRcompanytext#*
\PRdepartmenttext#*
\PRaddresstext#*
\PRhourstext#*
\PRdatetext#*
\PRlocationtext#*
\PRencltext#*
\PRabouttext#*
\PRreleasetext#*
\PRnOfm{n}{m}#*

# not documented
\ifPRheadabove#*
\ifPRloadsymbols#*
\ifPRruled#*
\PRaboutposturlhook#*
\PRdohrule#*
\PRendsignal#*
\PRformatendsignal{arg}#*
\PRheadabovefalse#*
\PRheadabovetrue#*
\PRheadalign{arg}#*
\PRheaderfont{arg}#*
\PRheadformat{arg}#*
\PRinfobottomalign{arg}#*
\PRinfobottombeginhook#*
\PRinfobottomblock{arg1}{arg2}{arg3}{arg4}{arg5}{arg6}{arg7}{arg8}{arg9}#*
\PRinfobottomendhook#*
\PRinfotopalign{arg}#*
\PRinfotopbeginhook#*
\PRinfotopblock{arg1}{arg2}{arg3}{arg4}{arg5}{arg6}{arg7}{arg8}{arg9}#*
\PRinfotopendhook#*
\PRloadsymbolsfalse#*
\PRloadsymbolstrue#*
\PRlogoalign{arg}#*
\PRlogoformat{arg}#*
\PRreleasealign{arg}#*
\PRreleaseformat{arg}#*
\PRruledfalse#*
\PRruledtrue#*
\PRsubheadformat{arg}#*
\PRthelastpage#*
\thepressrelease#*