-
Notifications
You must be signed in to change notification settings - Fork 24
/
template.html
277 lines (252 loc) · 12.9 KB
/
template.html
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<!DOCTYPE html>
<!--
Basic RASH template - Version 1.1, December 31, 2016
by Silvio Peroni
This work is licensed under a Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).
You are free to:
* Share - copy and redistribute the material in any medium or format
* Adapt - remix, transform, and build upon the material
for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
* Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-->
<html
xmlns="http://www.w3.org/1999/xhtml"
prefix="
schema: http://schema.org/
prism: http://prismstandard.org/namespaces/basic/2.0/">
<head>
<!-- Visualisation requirements (mandatory for optimal reading) -->
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/rash.css"/>
<script src="js/jquery.min.js"> </script>
<script src="js/bootstrap.min.js"> </script>
<script src="js/rash.js"> </script>
<!-- MathJax for multi-browser support of LaTeX formulas and MathML -->
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_HTMLorMML"> </script>
<!-- /END Visualisation requirements (mandatory for optimal reading) -->
<!-- Metadata -->
<title property="dcterms:title">Title -- Subtitle</title>
<!-- Author's data (one or more) -->
<meta about="#author-1" name="dc.creator" content="John Doe"/>
<meta about="#author-1" property="schema:email" content="john.doe@example.com"/>
<link about="#author-1" property="schema:affiliation" href="#organization-1"/>
<meta about="#author-2" name="dc.creator" content="Jane Doe"/>
<meta about="#author-2" property="schema:email" content="jane.doe@example.com"/>
<link about="#author-2" property="schema:affiliation" href="#organization-1"/>
<link about="#author-2" property="schema:affiliation" href="#organization-2"/>
<!-- Affiliations -->
<meta about="#organization-1" property="schema:name" content="My own company, UK"/>
<meta about="#organization-2" property="schema:name" content="Your own company, USA"/>
<!-- Paper keywords (one or more) -->
<meta property="prism:keyword" content="keyword 1"/>
<meta property="prism:keyword" content="keyword 2"/>
<meta property="prism:keyword" content="keyword 3"/>
<!-- ACM category (one or more) -->
<meta name="dcterms.subject" content="Applied computing,Document management and text processing,Document preparation,Markup languages"/>
<meta name="dcterms.subject" content="Applied computing,Document management and text processing,Document preparation,Annotation"/>
<!-- /END Metadata -->
</head>
<body>
<!-- Abstract -->
<section role="doc-abstract">
<h1>Abstract</h1>
<p>The text of the abstract.</p>
<p>Even if multiple paragraphs.</p>
</section>
<!-- Sections -->
<section id="first_section">
<h1>First level title</h1>
<p>A paragraph.</p>
<p>Another paragraph.</p>
<section>
<h1>Second level title</h1>
<pre><code>A listing block.</code></pre>
<section>
<h1>Third level title</h1>
<blockquote><p>This is a block quotation.</p></blockquote>
<section>
<h1>Fourth level title</h1>
<ul>
<li><p>An item in an unordered list</p></li>
<li><p>Another item in an unordered list</p></li>
</ul>
</section>
</section>
</section>
<section>
<h1>Another second level title</h1>
<ol>
<li><p>An item in an ordered list</p></li>
<li><p>Another item in an ordered list</p></li>
</ol>
</section>
</section>
<section id="textualelements">
<h1>Inline elements</h1>
<p>We can define:</p>
<ul>
<li><p><em>emphasis</em></p></li>
<li><p><strong>strong emphasis</strong></p></li>
<li><p><q>inline quotations</q></p></li>
<li><p><sup>superscripts</sup></p></li>
<li><p><sub>subscripts</sub></p></li>
<li><p><code>inline source code</code></p></li>
<li><p>images, like <img src="https://avatars0.githubusercontent.com/u/3869247?v=3&s=20" alt="alternative text" /></p></li>
<li><p>SVG images, like <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="8" cy="8" r="7" stroke="green" stroke-width="1" fill="yellow" /></svg></p></li>
<li><p>MathML formulas, like
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mi>π<!-- π --></mi>
<mo><!-- ⁢ --></mo>
<msup>
<mi>r</mi>
<mn>2</mn>
</msup>
</math>
</p></li>
<li><p>LaTeX formulas, like <span role="math">\pi r^2</span></p></li>
<li><p>AsciiMath formulas, like <span role="math">pi r^2</span></p></li>
<li><p><a href="https://en.wikipedia.org/wiki/Hyperlink">hyperlinks</a></p></li>
</ul>
</section>
<section id="floatings">
<h1>Boxes for figures, tables, formulas and listings</h1>
<figure id="figure_1">
<p>
<img src="https://rawgit.com/essepuntato/rash/master/documentation/img/rash.png" alt="alternative text" />
</p>
<figcaption>Caption of the figure inserted through the element <code>img</code>.</figcaption>
</figure>
<figure id="figure_2">
<p>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="540" height="200" viewBox="0 0 270 100">
<defs>
<radialGradient id="radial" cx="50%" cy="50%" fx="25%" fy="25%">
<stop offset="0%" stop-color="#60bafc" />
<stop offset="50%" stop-color="#409adc" />
<stop offset="100%" stop-color="#005a9c" />
</radialGradient>
<path id="curve" d="M18,60 C100,10 180,110 264,60" fill="none"/>
</defs>
<circle cx="138" cy="50" r="38" fill="url(#radial)" stroke="#005a9c" />
<text font-family="Verdana" font-size="20" fill="#ff9900">
<textPath xlink:href="#curve" method="stretch" style="visibility: visible;">
Scalable <tspan fill="white">Vector</tspan> Graphics
</textPath>
</text>
</svg>
</p>
<figcaption>Caption of the figure inserted through the element <code>svg</code>.</figcaption>
</figure>
<figure id="table_1">
<table>
<tr>
<th rowspan="1" colspan="1">Heading cell 1</th>
<th rowspan="1" colspan="1">Heading cell 2</th>
</tr>
<tr>
<td rowspan="1" colspan="1"><p>Data cell 1</p></td>
<td rowspan="1" colspan="1"><p>Data cell 2</p></td>
</tr>
<tr>
<td rowspan="1" colspan="1">
<p>Data cell 3</p>
<p>With multiple paragraphs</p>
</td>
<td rowspan="1" colspan="1"><p>Data cell 4</p></td>
</tr>
</table>
<figcaption>Caption of the table.</figcaption>
</figure>
<figure id="formula_1">
<p>
<img role="math" src="https://rawgit.com/essepuntato/rash/master/documentation/img/formula.png" alt="[a + b]^260 + {a + b}_i"/>
</p>
</figure>
<figure id="formula_2">
<p>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msup>
<mfenced open="[" close="]">
<mrow>
<mi>a</mi>
<mo>+</mo>
<mi>b</mi>
</mrow>
</mfenced>
<mn>260</mn>
</msup>
<mo>+</mo>
<msub>
<mfenced open="{" close="}">
<mrow>
<mi>a</mi>
<mo>+</mo>
<mi>b</mi>
</mrow>
</mfenced>
<mi>i</mi>
</msub>
</mrow>
</math>
</p>
</figure>
<figure id="formula_3">
<p>
<span role="math">[a + b]^{260} + \{a + b\}_i</span>
</p>
</figure>
<figure id="formula_4">
<p>
<span role="math">[a + b]^260 + {a + b}_i</span>
</p>
</figure>
<figure id="listing_1">
<pre><code>
<define name="listingbox">
<element name="figure">
<ref name="attributes_html_element_no_role" />
<ref name="pre" />
<ref name="caption" />
</element>
</define></code></pre>
<figcaption>Caption of the listing.</figcaption>
</figure>
</section>
<section id="referencing">
<h1>Referencing things</h1>
<p>All the sections (e.g., <a href="#first_section"></a>), figures (e.g., <a href="#figure_1"></a>), tables (e.g., <a href="#table_1"></a>), formulas (e.g., <a href="#formula_1"></a>), listings (e.g., <a href="#listing_1"></a>), bibliographic references (e.g., <a href="#Per2014"></a>), footnotes (e.g., <a href="#fn1"></a>) and even multiple footnotes (e.g., <a href="#fn2"></a><a href="#fn3"></a>, that will be automatically separated through a <q><sup>,</sup></q>) can be referenced within the text by using the <strong>empty</strong> element <code>a</code>.</p>
</section>
<!-- Acknowledgements -->
<section role="doc-acknowledgements">
<h1>Acknowledgments</h1>
<p>The acknowledgements of a document.</p>
</section>
<!-- References -->
<section id="bibreflist" role="doc-bibliography">
<h1>References</h1>
<ol>
<li id="Per2014" role="doc-biblioentry"><p>Peroni, S. (2014). Research Articles in Simplified HTML (RASH). <a href="https://rawgit.com/essepuntato/rash/master/grammar/rash.rng">https://rawgit.com/essepuntato/rash/master/grammar/rash.rng</a></p></li>
<li id="ParagraphWikipedia" role="doc-biblioentry"><p>Wikipedia entry <q>Paragraph</q>. <a href="https://en.wikipedia.org/wiki/Paragraph">https://en.wikipedia.org/wiki/Paragraph</a> (last visited, December 17, 2014).</p></li>
</ol>
</section>
<!-- Footnotes -->
<section id="fnlist" role="doc-endnotes">
<section id="fn1" role="doc-endnote">
<p>Footnote 1.</p>
</section>
<section id="fn2" role="doc-endnote">
<p>Footnote 2.</p>
</section>
<section id="fn3" role="doc-endnote">
<p>Footnote 3.</p>
</section>
</section>
</body>
</html>