<title>Example of crossreferences and footnotes</title>
<para>To reference another section or table is pretty easy. For example: see <xreflinkend="table_label"/> for how tables look.</para>
<para>Lists are shown in <xreflinkend="list_example_label"/> and if you need to make a footnote
<footnotexml:id="foot_id"><para>The footnote text goes here and can reference something like <xreflinkend="figure_label"/> for additional explanation.</para></footnote>
For clarification that is easy. Of course you might want an additional reference to the footnote <footnotereflinkend="foot_id"/> which can also be done easily.</para>
<para>Lastly you probably want to mark text by making it <emphasis>italic text example</emphasis> or <emphasisrole='bold'>Bold Text Example</emphasis>.</para>
</section>
<section>
<title>Example of code citations and user input</title>
<para>When showing user input, you want a nice sceen-looking layout, a prompt, monospace text, and a way to differentiate input from output. Here's an example:
<para>Docbook also allows for formatting and display of common languages, allowing for whitespace
and line returns just as they are written. Here's a sample snippet of C code with line numbering enabled:<programlistinglinenumbering="numbered"><![CDATA[#include<stdio.h>
main()
{
printf("Hello world\n");
}]]></programlisting></para>
<para>If code formatting is not quite what you need, simply displaying text "literally" may suffice as follows: <literal>This is my literal
<para>Text color can be controlled using <literal><phrase role="color:</literal><emphasis>color_name</emphasis><literal>"></literal>
tag where <emphasis>color_name</emphasis> contains the color setting. For example, this
text:<programlisting><![CDATA[<para role="color:red">A red sentence contains a <phrase role="color:blue">blue</phrase> word.</para>]]></programlisting> produces this sentence:</para>
<pararole="color:red">A red sentence contains a <phraserole="color:blue">blue</phrase> word.</para>
and <literal>yellow</literal>. Additionally, RGB values can be <literal>#nnnnnn</literal> where <literal>nnnnnn</literal> is a hexidecimal color value or
text:<programlisting><![CDATA[<para>A page break</para> <?hard-pagebreak?> <para>Between two paragraphs</para>]]></programlisting> produces this output:</para>
tag where <emphasis>size</emphasis> contains a size value such as "6pt" or "50%" or "1.5em".</para>
<para>For example, a paragraph can be made to be 6 point as follows:<programlisting><![CDATA[<para>A sentence that contains some <phraserole="font-size:6pt">6pt font</phrase>,
<phraserole="font-size:50%">50% font</phrase>, and
<phraserole="font-size:1.5em">1.5em font</phrase> in it.</para>]]></programlisting> produces this output:</para>
<para>A sentence that contains some <phraserole="font-size:6pt">6pt font</phrase>,
<phraserole="font-size:50%">50% font</phrase>, and <phraserole="font-size:1.5em">1.5em font</phrase> in it.</para>
<para>This tag has also been implemented on the following tags: <literal><para></literal>,
<literal><thead></literal>, <literal><tbody></literal>, and <literal><tfoot></literal>.</para>
<warning><para>This parameter should only be used for tags listed above.</para></warning>
</simplesect>
<simplesectxml:id="symbol_font">
<title>Using additional symbols</title>
<para>If you find that the Arimo and Cousine fonts do not contain the special symbol you need
for your document, you may use the additional symbol font provided for document (STIX Two Math).
Due to an unimplemented feature in the Apach FO Processor, selection of this
font needs to be explicitly performed using the
<literal><symbol role="symbolfont"></literal> wrapper around your symbol value.</para>
<para>For example, the symbol coding of <programlisting><![CDATA[⨁]]></programlisting> should produce
a circle with a cross in here "⨁", but instead creates a "Glyph...not available in font 'Arimo'" error
on document build and the PDF renders as a "#".</para>
<para>Re-coding this to use <programlisting><![CDATA[<symbol role="symbolfont">⨁</symbol>]]></programlisting> produces
the correct symbole here "<symbolrole="symbolfont">⨁</symbol>".</para>
<para>If this still does not provide the symbol you expected, double check the code and the font maps found at