next up previous
Next: 11. Efficiency aspects: Up: A Short Beginner-User's Guide Previous: 9. Printing quality -

10. Fancy things for screen version:

The aspect of the document can be modified to be "more beautiful" when processed by LaTeX2HTML and displayed at screen. Here follows a short list of the simplest things which can be done to improve the appearance at screen.


Lists

The item marks for a itemized list can be specified in a more graphic way than in the paper version. Some basic marks can be accessed directly by their mnemonic name, but more generally, any GIF image can constitute an item mark. To use this facility, you must specify \usepackage{htmllist} in the header of your source file. The mnemonics for default item marks are like ColorBall, where Color is in Blue, Red, Green, Orange, Pink, Purple, White, Yellow

The syntax for these lists is:

\begin{htmllist}
\htmlitemmark{GreenBall}
\item[Item 1:] Text of Item 1 
\item[Item 2:] Text of Item 2
\end{htmllist}


Here is the result with the software you use:

* Item 1:
Text of Item 1
* Item 2:
Text of Item 2

In the paper version, this is a normal list, while in the electronic version, this is a list with green balls.



rules

It is possible to insert horizontal rules in the HTML document by:

\rawhtml 
<HR>
\endrawhtml

In the paper version, there is nothing.



frames

It is possible to include some text in a frame in the HTML document by:

\rawhtml 
<TABLE border=4 cellpadding=10 width=50\%><TR><TD>
\endrawhtml

The text to enclose in the frame ...

\rawhtml 
</TR></TABLE>
\endrawhtml

This generates a Table with only one row and only one cell. The parameters border and width are tunable to modify the visual aspect.

When processed by LaTeX the text enclosed will appear normally since the raw HTML directives are ignored by LaTeX.

Here is an example (on screen only) of framed text:

Some framed text, with: border=1 cellpadding=0

Some framed text with: border=4 cellpadding=10

Some framed text with: border=4 cellpadding=30


next up previous
Next: 11. Efficiency aspects: Up: A Short Beginner-User's Guide Previous: 9. Printing quality -
Pierre BENARD
2002-06-19