| 1 | initial version |
In the notebook, you can display text using HTML instead of LaTeX:
text = """
Late at night, guards on the battlements of Denmark's Elsinore castle<br>
are met by Horatio, Prince <strong>Hamlet</strong>'s friend from school.<br>
The guards describe a ghost they have seen that resembles <strong>Hamlet</strong>'s father,<br>
the recently-deceased king. At that moment, the Ghost reappears,<br>
and the guards and Horatio decide to tell <strong>Hamlet</strong>.
"""
show(html(text))
This allows a better formatting using HTML and CSS. Note, for example, in the above text, that each instance of "Hamlet" is displayed in boldface.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.