<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>AiutoSuFormattazione</title></articleinfo><section><title>Generale</title><itemizedlist><listitem><para>Utilizza una o più righe vuote per separare i paragrafi </para></listitem><listitem><para>Utilizza <code>&lt;&lt;BR&gt;&gt;</code> per andare a capo in un paragrafo. </para></listitem></itemizedlist></section><section><title>Tratto del Carattere</title><informaltable><tgroup cols="3"><colspec colname="col_0"/><colspec colname="col_1"/><colspec colname="col_2"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para><emphasis role="strong"> Nome/Esempio</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Formattazione</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Note</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <emphasis>corsivo</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <code>''corsivo''</code> </para></entry><entry colsep="1" rowsep="1"><para> Doppi apici. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <emphasis role="strong">grassetto</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <code>'''grassetto'''</code> </para></entry><entry colsep="1" rowsep="1"><para> Tripli apici. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>monospazio</code> </para></entry><entry colsep="1" rowsep="1"><para> <code>`monospazio`</code> </para></entry><entry colsep="1" rowsep="1"><para> Apici inversi. La formattazione wiki viene ignorata. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>codice</code> </para></entry><entry colsep="1" rowsep="1"><para> <code>{{{codice}}}</code> </para></entry><entry colsep="1" rowsep="1"><para> <link linkend="esempio_di_codice">Esempio.</link> La formattazione wiki viene ignorata. </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <emphasis role="underline">sottolineato</emphasis>  </para></entry><entry colsep="1" rowsep="1"><para> <code>__sottolineato__</code> </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <superscript>sovra</superscript>titolato  </para></entry><entry colsep="1" rowsep="1"><para> <code>^sovratitolato^</code> </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <subscript>sotto</subscript>titolato  </para></entry><entry colsep="1" rowsep="1"><para> <code>,,sottotitolato,,</code> </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <!--"~-smaller-~" is not applicable to DocBook-->piùstretto </para></entry><entry colsep="1" rowsep="1"><para> <code>~-piùstretto-~</code> </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <!--"~+bigger+~" is not applicable to DocBook-->piùlargo </para></entry><entry colsep="1" rowsep="1"><para> <code>~+piùlargo+~</code> </para></entry><entry colsep="1" rowsep="1"/></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <emphasis role="strikethrough">cancellato</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <code>--(cancellato)--</code> </para></entry><entry colsep="1" rowsep="1"/></row></tbody></tgroup></informaltable></section><section><title>Testo colorato</title><para>È possibile colorare il testo nelle tabelle senza l'aggiunta di macro (vedi <ulink url="http://www.ninux.org/AiutoSuFormattazione/AiutoSuTabelle#">AiutoSuTabelle</ulink>). </para><para>Vedi anche <ulink url="http://moinmaster.wikiwikiweb.de/HelpMiscellaneous/FrequentlyAskedQuestions#head-337b0c57eeb073c9550a2ed281d4ca6dda4f47e5">How can I colorize my text?</ulink> nelle FAQ. </para></section><section><title>Codice colorato (evidenziare la sintassi)</title><para>Esistono diversi modi per evidenziare il codice: </para><orderedlist numeration="arabic"><listitem><para>Inserisci un blocco di codice speciale che contenga il nome del formattatore: <code>{{{#!nomeformattatore</code> </para></listitem><listitem><para>Inserisci un file con un'estensione supportata (come <code>&quot;.py&quot;</code>) con il comando <code>{{attachment:prova.py}}</code> </para></listitem><listitem><para>Inserisci all'inizio di una pagina un'istruzione per processare quel formato: <code>#format nomeformattatore</code> </para></listitem></orderedlist><para><link linkend="SyntaxHighlighting">Esempio.</link> </para><para>Per conoscere l'elenco dei linguaggi supportati vedi <ulink url="http://www.ninux.org/AiutoSuFormattazione/AiutoSuProcessoriDiCodice#">AiutoSuProcessoriDiCodice</ulink>. </para><!--rule (<hr>) is not applicable to DocBook--></section><section><title>Esempi</title><section><title>Mischiare ''corsivo'' e '''grassetto'''</title><para><anchor id="italic_bold_example"/> </para><informaltable><tgroup cols="2"><colspec colname="col_0"/><colspec colname="col_1"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para><emphasis role="strong">Formattazione</emphasis>                       </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">Risultato</emphasis>                     </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>'''''Aggiungere''' al principio''</code>  </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis><emphasis role="strong">Aggiungere</emphasis> al principio</emphasis>  </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>'''''Aggiungere'' alla fine'''</code>  </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis role="strong"><emphasis>Aggiungere</emphasis> alla fine</emphasis>  </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>'''Aggiungere alla ''fine'''''</code>        </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis role="strong">Aggiungere alla <emphasis>fine</emphasis></emphasis>        </para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para> <code>''Aggiungere alla '''fine'''''</code>        </para></entry><entry colsep="1" rowsep="1"><para>  <emphasis>Aggiungere alla <emphasis role="strong">fine</emphasis></emphasis>        </para></entry></row></tbody></tgroup></informaltable></section><section><title>Codice</title><para><anchor id="SyntaxHighlighting"/> </para><para><code>{{{</code> </para><para> <code>10 PRINT &quot;Hello, world!&quot;</code> </para><para> <code>20 GOTO 10</code> </para><para> <code>}}}</code> </para><para>Risultato: </para><screen><![CDATA[10 PRINT "Hello, world!"
20 GOTO 10]]></screen></section><section><title>Sovratitolare e sottotitolare</title><para><code>Ti ricorderai, dalle lezioni di matematica, che ''a''^2^ </code>+<code> ''b''^2^ </code>=<code> ''c''^2^,</code> <code>a meno che la tua testa non sia piena di H,,2,,O.</code> </para><para>Risultato: </para><para>Ti ricorderai, dalle lezioni di matematica, che <emphasis>a</emphasis><superscript>2</superscript> <code>+</code> <emphasis>b</emphasis><superscript>2</superscript> <code>=</code> <emphasis>c</emphasis><superscript>2</superscript>,</para><para> a meno che la tua testa non sia piena di H<subscript>2</subscript>O. </para></section><section><title>Codice colorato, metodo #1</title><para><anchor id="color_code_example"/> </para><para><code>{{{#!python</code> </para><para> <code>from colors import palette</code> </para><para> <code>palette.colorize('python')</code> </para><para> <code>}}}</code> </para><para>Risultato: </para><programlisting format="linespecific" language="python" linenumbering="numbered" startinglinenumber="1"><token><![CDATA[from]]></token><![CDATA[ ]]><methodname><![CDATA[colors]]></methodname><![CDATA[ ]]><token><![CDATA[import]]></token><![CDATA[ ]]><methodname><![CDATA[palette]]></methodname>
<methodname><![CDATA[palette]]></methodname><![CDATA[.]]><methodname><![CDATA[colorize]]></methodname><![CDATA[(]]><phrase><![CDATA[']]></phrase><phrase><![CDATA[python]]></phrase><phrase><![CDATA[']]></phrase><![CDATA[)]]>
</programlisting></section></section></article>