Open main menu

Changes

79 bytes removed ,  16:12, 15 August 2017
m
Typos etc.
\stoptext
</context>
=== Other ways === Another way of typesetting URLs is the {{cmd|goto}}: \goto{#1}[#2] command. This expects the description text as first argument and the actual URL as the second one; note that it has to be wrapped in url(#2) to create a clickable link:<texcode>\goto{In Lua, array indices start from one.}[url(http://www.xkcd.com/163/)]</texcode>
=== Escaping of Special Characters ===
The method for escaping of special characters described above does not work with command
<textcode>\{{cmd|hyphenatedurl</textcode>}}, unfortunately. Escaping backslash will undesirably appear on the output.
In this case, all special characters must be rewritten to commands, see the following tablelist:
<table>
<tr><td><code>%</code></td><td> --><code>\{{cmd|letterpercent}}</code></td></tr><tr><td><code>#</code></td><td> --><code>\{{cmd|letterhash}}</code></td></tr>
</table>
</texcode>
These special commands can be used in other cases, like \{{cmd|useURL}}, too.
== Other ways ==
Another way of typesetting URLs is the {{cmd|goto}}: \goto{#1}[#2] command. This expects the description text as first argument and the actual URL as the second one; note that it has to be wrapped in url(#2) to create a clickable link:
<texcode>
\goto{In Lua, array indices start from one.}[url(http://www.xkcd.com/163/)]
</texcode>
== Setting color and style ==
58

edits