<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.digitalmedievalist.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Underlined text - Revision history</title>
		<link>http://www.digitalmedievalist.org/wiki/index.php?title=Underlined_text&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-2squeeze1</generator>
		<lastBuildDate>Thu, 20 Jun 2013 09:17:41 GMT</lastBuildDate>
		<item>
			<title>DominiqueS:&amp;#32;Created page with &quot;'''Underlined''' is not a structural category. Most markup languages (including strict XHTML 1.0/HTML 4.0, and TEI), therefore, do not have an '''underline''' eleme…&quot;</title>
			<link>http://www.digitalmedievalist.org/wiki/index.php?title=Underlined_text&amp;diff=106&amp;oldid=prev</link>
			<guid>http://www.digitalmedievalist.org/wiki/index.php?title=Underlined_text&amp;diff=106&amp;oldid=prev</guid>
			<description>&lt;p&gt;Created page with &amp;quot;&amp;#39;&amp;#39;&amp;#39;Underlined&amp;#39;&amp;#39;&amp;#39; is not a structural category. Most markup languages (including strict &lt;a href=&quot;/wiki/index.php?title=XHTML&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;XHTML (page does not exist)&quot;&gt;XHTML 1.0/HTML 4.0&lt;/a&gt;, and &lt;a href=&quot;/wiki/index.php?title=TEI&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;TEI (page does not exist)&quot;&gt;TEI&lt;/a&gt;), therefore, do not have an &amp;#39;&amp;#39;&amp;#39;underline&amp;#39;&amp;#39;&amp;#39; eleme…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Underlined''' is not a structural category. Most markup languages (including strict [[XHTML|XHTML 1.0/HTML 4.0]], and [[TEI]]), therefore, do not have an '''underline''' element.&amp;lt;sup&amp;gt;[[note-1|1]&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Source documents==&lt;br /&gt;
&lt;br /&gt;
===Print documents===&lt;br /&gt;
&lt;br /&gt;
In print documents, '''underlined''' type in print sources is commonly used to represent one of the following structural categories:&lt;br /&gt;
&lt;br /&gt;
* italics (especially in typescript)&lt;br /&gt;
* emphasis (especially in typescript)&lt;br /&gt;
* book/journal/serial titles (especially in typescript)&lt;br /&gt;
* hypertext links&lt;br /&gt;
* low level headings (e.g. level four or five).&lt;br /&gt;
&lt;br /&gt;
===Manuscripts===&lt;br /&gt;
&lt;br /&gt;
In manuscripts, '''underlining''' is commonly used to indicate&lt;br /&gt;
&lt;br /&gt;
* deletions&lt;br /&gt;
&lt;br /&gt;
See [[Punctum_delens]].&lt;br /&gt;
&lt;br /&gt;
==Structural encoding==&lt;br /&gt;
&lt;br /&gt;
===[[XML|(X)HTML]]===&lt;br /&gt;
&lt;br /&gt;
In [[XML|Strict (X)HTML]], underlined text in print sources is commonly encoded using the following structural elements:&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;h4&amp;amp;gt;: Fourth level headings&lt;br /&gt;
 &amp;amp;lt;h5&amp;amp;gt;: Fifth level headings&lt;br /&gt;
 &amp;amp;lt;em&amp;amp;gt;: Emphasis headings&lt;br /&gt;
 &amp;amp;lt;cite&amp;amp;gt;: Citation headings&lt;br /&gt;
 &amp;amp;lt;a href=&amp;quot;URL&amp;quot;&amp;amp;gt;: Hyperlinks&lt;br /&gt;
&lt;br /&gt;
Underlining in manuscript contexts (when used to indicate deletion) is encoded using&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;del&amp;amp;gt;: deletion&lt;br /&gt;
&lt;br /&gt;
See [[Punctum_delens]].&lt;br /&gt;
&lt;br /&gt;
Commercial browsers do ''not'' display most of these elements as '''underlined''' by default (the exception is &amp;amp;lt;a href&amp;amp;gt;. If your electronic document must display text as '''underlined''', this must be controlled by external (e.g. [[CSS]]) stylesheets.&lt;br /&gt;
&lt;br /&gt;
===[[TEI]]===&lt;br /&gt;
&lt;br /&gt;
In [[TEI]] [[XML]] [[TEI|(P4)]], underlined text from print sources is commonly encoded using the following structural elements:&lt;br /&gt;
&lt;br /&gt;
 [[Tei:head|&amp;amp;lt;head&amp;amp;gt;]]: Headings (particularly fifth- and&lt;br /&gt;
        sixth-level headings (i.e. &amp;amp;lt;div5&amp;amp;gt;&amp;amp;lt;head&amp;amp;gt;/&amp;amp;lt;div6&amp;amp;gt;&amp;amp;lt;head&amp;amp;gt;&lt;br /&gt;
        or &amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;head&amp;amp;gt; or&lt;br /&gt;
        &amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;div&amp;amp;gt;&amp;amp;lt;head&amp;amp;gt;).&lt;br /&gt;
 [[Tei:emph|&amp;amp;lt;emph&amp;amp;gt;]]: Emphasis&lt;br /&gt;
 [[Tei:title|&amp;amp;lt;title level=&amp;quot;m&amp;quot;&amp;amp;gt;]]: Monographic titles.&lt;br /&gt;
 [[Tei:title|&amp;amp;lt;title level=&amp;quot;j&amp;quot;&amp;amp;gt;]]: Journal titles.&lt;br /&gt;
 [[Tei:title|&amp;amp;lt;title level=&amp;quot;s&amp;quot;&amp;amp;gt;]]: Serial titles.&lt;br /&gt;
 [[Tei:xref|&amp;amp;lt;xref&amp;amp;gt;]]: eXternal Links.&lt;br /&gt;
 [[Tei:xptr|&amp;amp;lt;xptr&amp;amp;gt;]]: eXternal Pointers.&lt;br /&gt;
 [[Tei:ref|&amp;amp;lt;ref&amp;amp;gt;]]: Links.&lt;br /&gt;
 [[Tei:ptr|&amp;amp;lt;ptr&amp;amp;gt;]]: Pointers.&lt;br /&gt;
&lt;br /&gt;
In manuscript sources, underlining (when used to indicate deletion) is encoded:&lt;br /&gt;
&lt;br /&gt;
 [[Tei:del|&amp;amp;lt;del&amp;amp;gt;]]: Deletion&lt;br /&gt;
&lt;br /&gt;
Most commercial browsers do not have a default stylesheet for these (or any other) TEI elements. Text-decoration (and other display characteristics) of the elements must be controlled by stylesheets, either directly (i.e. using a formatting stylelanguage such as [[CSS]] or [[XSL-FO]]), or indirectly, after conversion to [[XHTML]] for display.&lt;br /&gt;
&lt;br /&gt;
==Stylesheets==&lt;br /&gt;
&lt;br /&gt;
===[[CSS]]===&lt;br /&gt;
&lt;br /&gt;
Text-decoration (including '''underline''') is contolled in [[CSS]] using the text-decoration [[CSS#property| property]]. All textual elements can be assigned a [[CSS#value|value]] for this property. Relevant values for '''underlined''' text are&lt;br /&gt;
&lt;br /&gt;
 underline: Suitable for most occurrences in print sources&lt;br /&gt;
 line-through: Strikethrough (commonly used to indicate deletions).&lt;br /&gt;
&lt;br /&gt;
Other allowable values include&lt;br /&gt;
&lt;br /&gt;
 overline: text is displayed with a line above each letter&lt;br /&gt;
 blink: text flashes on and off&lt;br /&gt;
 &amp;quot;string&amp;quot;: text is aligned to the supplied string&amp;lt;sup&amp;gt;[[#note-2|2]&amp;lt;/sup&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
 em {&lt;br /&gt;
 text-decoration: underline;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 del {&lt;br /&gt;
 text-decoration: line-through;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
===[[XSLT]]===&lt;br /&gt;
&lt;br /&gt;
There is no relevant category in [/dmorgwiki/index.php/XSLT XSLT].&lt;br /&gt;
&lt;br /&gt;
===[[XSL-FO]]===&lt;br /&gt;
&lt;br /&gt;
(Unknown)&lt;br /&gt;
&lt;br /&gt;
===[[LaTeX]]===&lt;br /&gt;
&lt;br /&gt;
To underline text in LaTeX, simply use the \underline command.&lt;br /&gt;
&lt;br /&gt;
For more information on \underline, http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-336.html.&lt;br /&gt;
&lt;br /&gt;
For more on LaTeX, see Hypertext Help with LaTeX at http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/index.html.&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
\underline{This is underlined.} This is not.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup id=&amp;quot;note-1&amp;quot;&amp;gt;1&amp;lt;/sup&amp;gt; Early versions of HTML used the element &amp;amp;lt;u&amp;amp;gt; to encode underlined text. This usage is now [[XHTML#depreciated|deprecated]] in [[XHTML#transitional|transitional]] versions of [[XHTML| XHTML 1.0/HTML 4.0]] and forbidden by the [[XHTML#strict|strict]] [[DTD]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Primer]]&lt;/div&gt;</description>
			<pubDate>Sun, 19 Feb 2012 14:52:07 GMT</pubDate>			<dc:creator>DominiqueS</dc:creator>			<comments>http://www.digitalmedievalist.org/wiki/index.php/Talk:Underlined_text</comments>		</item>
	</channel>
</rss>