3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Document To Test Formatting
</title>
5 <link rel=
"stylesheet" href=
"../../../doc/src/boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.75.2">
7 <link rel=
"home" href=
"index.html" title=
"Document To Test Formatting">
8 <link rel=
"next" href=
"document_to_test_formatting/code_blocks.html" title=
"Code Blocks">
10 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF">
11 <table cellpadding=
"2" width=
"100%"><tr>
12 <td valign=
"top"><img alt=
"Boost C++ Libraries" width=
"277" height=
"86" src=
"../../../boost.png"></td>
13 <td align=
"center"><a href=
"../../../index.html">Home
</a></td>
14 <td align=
"center"><a href=
"../../../libs/libraries.htm">Libraries
</a></td>
15 <td align=
"center"><a href=
"http://www.boost.org/users/people.html">People
</a></td>
16 <td align=
"center"><a href=
"http://www.boost.org/users/faq.html">FAQ
</a></td>
17 <td align=
"center"><a href=
"../../../more/index.htm">More
</a></td>
20 <div class=
"spirit-nav"><a accesskey=
"n" href=
"document_to_test_formatting/code_blocks.html"><img src=
"../../../doc/src/images/next.png" alt=
"Next"></a></div>
22 <div class=
"titlepage">
24 <div><h2 class=
"title">
25 <a name=
"document_to_test_formatting"></a>Document To Test Formatting
</h2></div>
26 <div><div class=
"authorgroup">
27 <div class=
"author"><h3 class=
"author">
28 <span class=
"firstname">John
</span> <span class=
"surname">Maddock
</span>
30 <div class=
"author"><h3 class=
"author">
31 <span class=
"firstname">Joel
</span> <span class=
"surname">de Guzman
</span>
33 <div class=
"author"><h3 class=
"author">
34 <span class=
"firstname">Eric
</span> <span class=
"surname">Niebler
</span>
36 <div class=
"author"><h3 class=
"author">
37 <span class=
"firstname">Matias
</span> <span class=
"surname">Capeletto
</span>
40 <div><p class=
"copyright">Copyright
© 2007 John Maddock, Joel de Guzman, Eric Niebler and Matias
42 <div><div class=
"legalnotice">
43 <a name=
"id759728"></a><p>
44 Distributed under the Boost Software License, Version
1.0. (See accompanying
45 file LICENSE_1_0.txt or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt" target=
"_top">http://www.boost.org/LICENSE_1_0.txt
</a>)
52 <p><b>Table of Contents
</b></p>
54 <dt><span class=
"section"><a href=
"index.html#document_to_test_formatting.introduction">Introduction
</a></span></dt>
55 <dt><span class=
"section"><a href=
"document_to_test_formatting/code_blocks.html">Code Blocks
</a></span></dt>
57 <dt><span class=
"section"><a href=
"document_to_test_formatting/code_blocks.html#document_to_test_formatting.code_blocks.embedded_code">Embedded
59 <dt><span class=
"section"><a href=
"document_to_test_formatting/code_blocks.html#document_to_test_formatting.code_blocks.code_with_a_very_long_line">Code
60 With a Very Long Line
</a></span></dt>
61 <dt><span class=
"section"><a href=
"document_to_test_formatting/code_blocks.html#document_to_test_formatting.code_blocks.imported_code_and_callouts">Imported
62 code and callouts
</a></span></dt>
63 <dt><span class=
"section"><a href=
"document_to_test_formatting/code_blocks.html#document_to_test_formatting.code_blocks.larger_example">Larger
64 example
</a></span></dt>
66 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html">Basic Formatting
</a></span></dt>
68 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.font_styles">Font
69 Styles
</a></span></dt>
70 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.replaceable_text">Replaceable
72 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.quotations">Quotations
</a></span></dt>
73 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.inline_code">Inline
75 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.links">Links
</a></span></dt>
76 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.footnotes">Footnotes
</a></span></dt>
77 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.blockquote">Blockquote
</a></span></dt>
78 <dt><span class=
"section"><a href=
"document_to_test_formatting/basic_formatting.html#document_to_test_formatting.basic_formatting.headings">Headings
</a></span></dt>
80 <dt><span class=
"section"><a href=
"document_to_test_formatting/blurbs.html">Blurbs
</a></span></dt>
82 <dt><span class=
"section"><a href=
"document_to_test_formatting/blurbs.html#document_to_test_formatting.blurbs.preformatted_text">Preformatted
84 <dt><span class=
"section"><a href=
"document_to_test_formatting/blurbs.html#document_to_test_formatting.blurbs.admonishments">Admonishments
</a></span></dt>
85 <dt><span class=
"section"><a href=
"document_to_test_formatting/blurbs.html#document_to_test_formatting.blurbs.blurbs">Blurbs
</a></span></dt>
87 <dt><span class=
"section"><a href=
"document_to_test_formatting/lists_and_tables.html">Lists and
88 Tables
</a></span></dt>
90 <dt><span class=
"section"><a href=
"document_to_test_formatting/lists_and_tables.html#document_to_test_formatting.lists_and_tables.lists">Lists
</a></span></dt>
91 <dt><span class=
"section"><a href=
"document_to_test_formatting/lists_and_tables.html#document_to_test_formatting.lists_and_tables.variable_lists">Variable
93 <dt><span class=
"section"><a href=
"document_to_test_formatting/lists_and_tables.html#document_to_test_formatting.lists_and_tables.tables">Tables
</a></span></dt>
95 <dt><span class=
"section"><a href=
"document_to_test_formatting/images.html">Images
</a></span></dt>
96 <dt><span class=
"section"><a href=
"document_to_test_formatting/test.html"> test HTML4 symbols
</a></span></dt>
98 <dt><span class=
"section"><a href=
"document_to_test_formatting/test.html#document_to_test_formatting.test.test_greek_and_math_symbols">test
99 Greek and Math symbols
</a></span></dt>
100 <dt><span class=
"section"><a href=
"document_to_test_formatting/test.html#document_to_test_formatting.test.test_latin1_symbols">test
101 Latin1 symbols
</a></span></dt>
103 <dt><span class=
"section"><a href=
"document_to_test_formatting/remez.html"> Sample Article (The
104 Remez Method)
</a></span></dt>
105 <dt><span class=
"section"><a href=
"document_to_test_formatting/array.html"> Array Example Boostbook
106 XML Documentation
</a></span></dt>
108 <dt><span class=
"section"><a href=
"document_to_test_formatting/array.html#array.intro">Introduction
</a></span></dt>
109 <dt><span class=
"section"><a href=
"document_to_test_formatting/array.html#id772287">Reference
</a></span></dt>
110 <dt><span class=
"section"><a href=
"document_to_test_formatting/array.html#array.rationale">Design Rationale
</a></span></dt>
111 <dt><span class=
"section"><a href=
"document_to_test_formatting/array.html#array.more.info">For more information...
</a></span></dt>
112 <dt><span class=
"section"><a href=
"document_to_test_formatting/array.html#array.ack">Acknowledgements
</a></span></dt>
114 <dt><span class=
"section"><a href=
"document_to_test_formatting/accumulators.html"> Accumulators
115 Example Doxygen Documentation
</a></span></dt>
116 <dd><dl><dt><span class=
"section"><a href=
"document_to_test_formatting/accumulators.html#statistics_library_reference">Statistics Library Reference
</a></span></dt></dl></dd>
119 <div class=
"section">
120 <div class=
"titlepage"><div><div><h2 class=
"title" style=
"clear: both">
121 <a name=
"document_to_test_formatting.introduction"></a><a class=
"link" href=
"index.html#document_to_test_formatting.introduction" title=
"Introduction">Introduction
</a>
122 </h2></div></div></div>
124 This document is purely a test case to test out HTML and PDF generation and
128 This is some body text.
130 <pre class=
"programlisting"><span class=
"keyword">int
</span> <span class=
"identifier">main
</span><span class=
"special">()
</span>
131 <span class=
"special">{
</span>
132 <span class=
"keyword">double
</span> <span class=
"identifier">d
</span> <span class=
"special">=
</span> <span class=
"number">2.345</span><span class=
"special">;
</span>
133 <span class=
"keyword">return
</span> <span class=
"identifier">d
</span><span class=
"special">;
</span>
134 <span class=
"special">}
</span>
137 We can count in Greek too:
α,
β,
γ.
140 Try some superscrips and subscripts: x
<sup>2</sup>, x
<sub>i
</sub><sup>3</sup>,
α<sup>2</sup>,
β<sup>α</sup>,
⌊x
⌋,
⌊α⌋,
⌈a
⌉.
144 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
145 <td align=
"left"><p><small>Last revised: July
22,
2010 at
21:
58:
58 GMT
</small></p></td>
146 <td align=
"right"><div class=
"copyright-footer"></div></td>
149 <div class=
"spirit-nav"><a accesskey=
"n" href=
"document_to_test_formatting/code_blocks.html"><img src=
"../../../doc/src/images/next.png" alt=
"Next"></a></div>