[latexrefman-commits] [SCM] latexrefman updated: r609 - trunk

jimhefferon at gnu.org.ua jimhefferon at gnu.org.ua
Mon Mar 5 00:44:29 CET 2018


Author: jimhefferon
Date: 2018-03-05 01:44:29 +0200 (Mon, 05 Mar 2018)
New Revision: 609

Modified:
   trunk/ChangeLog
   trunk/Makefile
   trunk/latex2e.html
   trunk/latex2e.info
   trunk/latex2e.pdf
   trunk/latex2e.texi
Log:
Creat chapter for color package

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2018-02-24 23:07:27 UTC (rev 608)
+++ trunk/ChangeLog	2018-03-04 23:44:29 UTC (rev 609)
@@ -1,3 +1,12 @@
+2018-03-04  Jim Hefferon  <jhefferon at smcvt.edu>
+
+	* latex2e.texi (Color): Create.  Include all commands and
+	options from grfguide.pdf.
+	* latex2e.css (code) Create file, so in HTML inside of @math{} the
+	code elements will be in monotype.
+	* Makefile Include CSS file in texi2html line; put in dependence
+	to css file in %.html line.
+
 2018-02-22  Jim Hefferon  <jhefferon at smcvt.edu>
 
 	* latex2e.texi (\spacefactor): Create.  Describe the space factor

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2018-02-24 23:07:27 UTC (rev 608)
+++ trunk/Makefile	2018-03-04 23:44:29 UTC (rev 609)
@@ -24,7 +24,7 @@
 #
 makeinfo = makeinfo
 texi2docbook = $(makeinfo) --docbook
-texi2html = $(makeinfo) --html --no-split $(texi2html_top)
+texi2html = $(makeinfo) --html --no-split --css-include=latex2e.css $(texi2html_top)
 texi2info = $(makeinfo) --no-split
 texi2txt = $(makeinfo) --plaintext --no-split
 texi2xml = $(makeinfo) --xml
@@ -39,7 +39,7 @@
 #
 %.dbk: %.texi
 	$(texi2docbook) -o $@ $<
-%.html: %.texi
+%.html: %.texi %.css
 	$(texi2html) $<
 %.info: %.texi
 	$(texi2info) $<

Modified: trunk/latex2e.html
===================================================================
--- trunk/latex2e.html	2018-02-24 23:07:27 UTC (rev 608)
+++ trunk/latex2e.html	2018-03-04 23:44:29 UTC (rev 609)
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <html>
 <!-- This document is an unofficial reference manual for LaTeX, a
-document preparation system, version of February 2018.
+document preparation system, version of March 2018.
 
 This manual was originally translated from LATEX.HLP v1.0a in
 the VMS Help Library.  The pre-translation version was written by
@@ -34,16 +34,16 @@
 
 Permission is granted to copy and distribute translations of this manual
 into another language, under the above conditions for modified versions. -->
-<!-- Created by GNU Texinfo 6.1, http://www.gnu.org/software/texinfo/ -->
+<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
 <head>
-<title>LaTeX2e unofficial reference manual (February 2018)</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>LaTeX2e unofficial reference manual (March 2018)</title>
 
-<meta name="description" content="LaTeX2e unofficial reference manual (February 2018)">
-<meta name="keywords" content="LaTeX2e unofficial reference manual (February 2018)">
+<meta name="description" content="LaTeX2e unofficial reference manual (March 2018)">
+<meta name="keywords" content="LaTeX2e unofficial reference manual (March 2018)">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="Generator" content="makeinfo">
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <link href="#Top" rel="start" title="Top">
 <link href="#Concept-Index" rel="index" title="Concept Index">
 <link href="#SEC_Contents" rel="contents" title="Table of Contents">
@@ -73,6 +73,7 @@
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
 ul.no-bullet {list-style: none}
+code {font-style: normal; font-family: monospace}
 -->
 </style>
 
@@ -80,7 +81,7 @@
 </head>
 
 <body lang="en">
-<h1 class="settitle" align="center">LaTeX2e unofficial reference manual (February 2018)</h1>
+<h1 class="settitle" align="center">LaTeX2e unofficial reference manual (March 2018)</h1>
         
 
 
@@ -114,12 +115,13 @@
 <li><a name="stoc-Page-styles-1" href="#toc-Page-styles-1">18 Page styles</a></li>
 <li><a name="stoc-Spaces-1" href="#toc-Spaces-1">19 Spaces</a></li>
 <li><a name="stoc-Boxes-1" href="#toc-Boxes-1">20 Boxes</a></li>
-<li><a name="stoc-Special-insertions-1" href="#toc-Special-insertions-1">21 Special insertions</a></li>
-<li><a name="stoc-Splitting-the-input-1" href="#toc-Splitting-the-input-1">22 Splitting the input</a></li>
-<li><a name="stoc-Front_002fback-matter-1" href="#toc-Front_002fback-matter-1">23 Front/back matter</a></li>
-<li><a name="stoc-Letters-1" href="#toc-Letters-1">24 Letters</a></li>
-<li><a name="stoc-Terminal-input_002foutput-1" href="#toc-Terminal-input_002foutput-1">25 Terminal input/output</a></li>
-<li><a name="stoc-Command-line-1" href="#toc-Command-line-1">26 Command line</a></li>
+<li><a name="stoc-Color-1" href="#toc-Color-1">21 Color</a></li>
+<li><a name="stoc-Special-insertions-1" href="#toc-Special-insertions-1">22 Special insertions</a></li>
+<li><a name="stoc-Splitting-the-input-1" href="#toc-Splitting-the-input-1">23 Splitting the input</a></li>
+<li><a name="stoc-Front_002fback-matter-1" href="#toc-Front_002fback-matter-1">24 Front/back matter</a></li>
+<li><a name="stoc-Letters-1" href="#toc-Letters-1">25 Letters</a></li>
+<li><a name="stoc-Terminal-input_002foutput-1" href="#toc-Terminal-input_002foutput-1">26 Terminal input/output</a></li>
+<li><a name="stoc-Command-line-1" href="#toc-Command-line-1">27 Command line</a></li>
 <li><a name="stoc-Document-templates-1" href="#toc-Document-templates-1">Appendix A Document templates</a></li>
 <li><a name="stoc-Concept-Index-1" href="#toc-Concept-Index-1">Concept Index</a></li>
 <li><a name="stoc-Command-Index-1" href="#toc-Command-Index-1">Command Index</a></li>
@@ -385,53 +387,65 @@
     <li><a name="toc-_005csbox_007b_005cboxcmd_007d_007btext_007d" href="#g_t_005csbox">20.8 <code>\sbox{<var>\boxcmd</var>}{<var>text</var>}</code></a></li>
     <li><a name="toc-_005cusebox_007b_005cboxcmd_007d" href="#g_t_005cusebox">20.9 <code>\usebox{<var>\boxcmd</var>}</code></a></li>
   </ul></li>
-  <li><a name="toc-Special-insertions-1" href="#Special-insertions">21 Special insertions</a>
+  <li><a name="toc-Color-1" href="#Color">21 Color</a>
   <ul class="no-bullet">
-    <li><a name="toc-Reserved-characters-1" href="#Reserved-characters">21.1 Reserved characters</a></li>
-    <li><a name="toc-Upper-and-lower-case-1" href="#Upper-and-lower-case">21.2 Upper and lower case</a></li>
-    <li><a name="toc-Symbols-by-font-position-1" href="#Symbols-by-font-position">21.3 Symbols by font position</a></li>
-    <li><a name="toc-Text-symbols-1" href="#Text-symbols">21.4 Text symbols</a></li>
-    <li><a name="toc-Accents-1" href="#Accents">21.5 Accents</a></li>
-    <li><a name="toc-Additional-Latin-letters-1" href="#Additional-Latin-letters">21.6 Additional Latin letters</a></li>
-    <li><a name="toc-_005crule-1" href="#g_t_005crule">21.7 <code>\rule</code></a></li>
-    <li><a name="toc-_005ctoday-1" href="#g_t_005ctoday">21.8 <code>\today</code></a></li>
+    <li><a name="toc-Color-package-options-1" href="#Color-package-options">21.1 Color package options</a></li>
+    <li><a name="toc-Color-models-1" href="#Color-models">21.2 Color models</a></li>
+    <li><a name="toc-Commands-1" href="#Commands">21.3 Commands</a>
+    <ul class="no-bullet">
+      <li><a name="toc-Define-colors-1" href="#Define-colors">21.3.1 Define colors</a></li>
+      <li><a name="toc-Colored-text-1" href="#Colored-text">21.3.2 Colored text</a></li>
+      <li><a name="toc-Colored-boxes-1" href="#Colored-boxes">21.3.3 Colored boxes</a></li>
+      <li><a name="toc-Colored-pages-1" href="#Colored-pages">21.3.4 Colored pages</a></li>
+    </ul></li>
   </ul></li>
-  <li><a name="toc-Splitting-the-input-1" href="#Splitting-the-input">22 Splitting the input</a>
+  <li><a name="toc-Special-insertions-1" href="#Special-insertions">22 Special insertions</a>
   <ul class="no-bullet">
-    <li><a name="toc-_005cinclude-1" href="#g_t_005cinclude">22.1 <code>\include</code></a></li>
-    <li><a name="toc-_005cincludeonly-1" href="#g_t_005cincludeonly">22.2 <code>\includeonly</code></a></li>
-    <li><a name="toc-_005cinput-1" href="#g_t_005cinput">22.3 <code>\input</code></a></li>
+    <li><a name="toc-Reserved-characters-1" href="#Reserved-characters">22.1 Reserved characters</a></li>
+    <li><a name="toc-Upper-and-lower-case-1" href="#Upper-and-lower-case">22.2 Upper and lower case</a></li>
+    <li><a name="toc-Symbols-by-font-position-1" href="#Symbols-by-font-position">22.3 Symbols by font position</a></li>
+    <li><a name="toc-Text-symbols-1" href="#Text-symbols">22.4 Text symbols</a></li>
+    <li><a name="toc-Accents-1" href="#Accents">22.5 Accents</a></li>
+    <li><a name="toc-Additional-Latin-letters-1" href="#Additional-Latin-letters">22.6 Additional Latin letters</a></li>
+    <li><a name="toc-_005crule-1" href="#g_t_005crule">22.7 <code>\rule</code></a></li>
+    <li><a name="toc-_005ctoday-1" href="#g_t_005ctoday">22.8 <code>\today</code></a></li>
   </ul></li>
-  <li><a name="toc-Front_002fback-matter-1" href="#Front_002fback-matter">23 Front/back matter</a>
+  <li><a name="toc-Splitting-the-input-1" href="#Splitting-the-input">23 Splitting the input</a>
   <ul class="no-bullet">
-    <li><a name="toc-Tables-of-contents-1" href="#Tables-of-contents">23.1 Tables of contents</a>
+    <li><a name="toc-_005cinclude-1" href="#g_t_005cinclude">23.1 <code>\include</code></a></li>
+    <li><a name="toc-_005cincludeonly-1" href="#g_t_005cincludeonly">23.2 <code>\includeonly</code></a></li>
+    <li><a name="toc-_005cinput-1" href="#g_t_005cinput">23.3 <code>\input</code></a></li>
+  </ul></li>
+  <li><a name="toc-Front_002fback-matter-1" href="#Front_002fback-matter">24 Front/back matter</a>
+  <ul class="no-bullet">
+    <li><a name="toc-Tables-of-contents-1" href="#Tables-of-contents">24.1 Tables of contents</a>
     <ul class="no-bullet">
-      <li><a name="toc-_005caddcontentsline-1" href="#g_t_005caddcontentsline">23.1.1 <code>\addcontentsline</code></a></li>
-      <li><a name="toc-_005caddtocontents-1" href="#g_t_005caddtocontents">23.1.2 <code>\addtocontents</code></a></li>
+      <li><a name="toc-_005caddcontentsline-1" href="#g_t_005caddcontentsline">24.1.1 <code>\addcontentsline</code></a></li>
+      <li><a name="toc-_005caddtocontents-1" href="#g_t_005caddtocontents">24.1.2 <code>\addtocontents</code></a></li>
     </ul></li>
-    <li><a name="toc-Glossaries-1" href="#Glossaries">23.2 Glossaries</a></li>
-    <li><a name="toc-Indexes-1" href="#Indexes">23.3 Indexes</a></li>
+    <li><a name="toc-Glossaries-1" href="#Glossaries">24.2 Glossaries</a></li>
+    <li><a name="toc-Indexes-1" href="#Indexes">24.3 Indexes</a></li>
   </ul></li>
-  <li><a name="toc-Letters-1" href="#Letters">24 Letters</a>
+  <li><a name="toc-Letters-1" href="#Letters">25 Letters</a>
   <ul class="no-bullet">
-    <li><a name="toc-_005caddress-1" href="#g_t_005caddress">24.1 <code>\address</code></a></li>
-    <li><a name="toc-_005ccc-1" href="#g_t_005ccc">24.2 <code>\cc</code></a></li>
-    <li><a name="toc-_005cclosing-1" href="#g_t_005cclosing">24.3 <code>\closing</code></a></li>
-    <li><a name="toc-_005cencl-1" href="#g_t_005cencl">24.4 <code>\encl</code></a></li>
-    <li><a name="toc-_005clocation-1" href="#g_t_005clocation">24.5 <code>\location</code></a></li>
-    <li><a name="toc-_005cmakelabels-1" href="#g_t_005cmakelabels">24.6 <code>\makelabels</code></a></li>
-    <li><a name="toc-_005cname-1" href="#g_t_005cname">24.7 <code>\name</code></a></li>
-    <li><a name="toc-_005copening-1" href="#g_t_005copening">24.8 <code>\opening</code></a></li>
-    <li><a name="toc-_005cps-1" href="#g_t_005cps">24.9 <code>\ps</code></a></li>
-    <li><a name="toc-_005csignature-1" href="#g_t_005csignature">24.10 <code>\signature</code></a></li>
-    <li><a name="toc-_005ctelephone-1" href="#g_t_005ctelephone">24.11 <code>\telephone</code></a></li>
+    <li><a name="toc-_005caddress-1" href="#g_t_005caddress">25.1 <code>\address</code></a></li>
+    <li><a name="toc-_005ccc-1" href="#g_t_005ccc">25.2 <code>\cc</code></a></li>
+    <li><a name="toc-_005cclosing-1" href="#g_t_005cclosing">25.3 <code>\closing</code></a></li>
+    <li><a name="toc-_005cencl-1" href="#g_t_005cencl">25.4 <code>\encl</code></a></li>
+    <li><a name="toc-_005clocation-1" href="#g_t_005clocation">25.5 <code>\location</code></a></li>
+    <li><a name="toc-_005cmakelabels-1" href="#g_t_005cmakelabels">25.6 <code>\makelabels</code></a></li>
+    <li><a name="toc-_005cname-1" href="#g_t_005cname">25.7 <code>\name</code></a></li>
+    <li><a name="toc-_005copening-1" href="#g_t_005copening">25.8 <code>\opening</code></a></li>
+    <li><a name="toc-_005cps-1" href="#g_t_005cps">25.9 <code>\ps</code></a></li>
+    <li><a name="toc-_005csignature-1" href="#g_t_005csignature">25.10 <code>\signature</code></a></li>
+    <li><a name="toc-_005ctelephone-1" href="#g_t_005ctelephone">25.11 <code>\telephone</code></a></li>
   </ul></li>
-  <li><a name="toc-Terminal-input_002foutput-1" href="#Terminal-input_002foutput">25 Terminal input/output</a>
+  <li><a name="toc-Terminal-input_002foutput-1" href="#Terminal-input_002foutput">26 Terminal input/output</a>
   <ul class="no-bullet">
-    <li><a name="toc-_005ctypein_005bcmd_005d_007bmsg_007d" href="#g_t_005ctypein">25.1 <code>\typein[<var>cmd</var>]{<var>msg</var>}</code></a></li>
-    <li><a name="toc-_005ctypeout_007bmsg_007d" href="#g_t_005ctypeout">25.2 <code>\typeout{<var>msg</var>}</code></a></li>
+    <li><a name="toc-_005ctypein_005bcmd_005d_007bmsg_007d" href="#g_t_005ctypein">26.1 <code>\typein[<var>cmd</var>]{<var>msg</var>}</code></a></li>
+    <li><a name="toc-_005ctypeout_007bmsg_007d" href="#g_t_005ctypeout">26.2 <code>\typeout{<var>msg</var>}</code></a></li>
   </ul></li>
-  <li><a name="toc-Command-line-1" href="#Command-line">26 Command line</a></li>
+  <li><a name="toc-Command-line-1" href="#Command-line">27 Command line</a></li>
   <li><a name="toc-Document-templates-1" href="#Document-templates">Appendix A Document templates</a>
   <ul class="no-bullet">
     <li><a name="toc-beamer-template-1" href="#beamer-template">A.1 <code>beamer</code> template</a></li>
@@ -455,7 +469,7 @@
 <h1 class="top">LaTeX2e: An unofficial reference manual</h1>
 
 <p>This document is an unofficial reference manual (version of
-February 2018) for LaTeX2e, a document preparation system.
+March 2018) for LaTeX2e, a document preparation system.
 </p>
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">• <a href="#About-this-document" accesskey="1">About this document</a>:</td><td>  </td><td align="left" valign="top">Bug reporting, etc.
@@ -498,6 +512,8 @@
 </td></tr>
 <tr><td align="left" valign="top">• <a href="#Boxes">Boxes</a>:</td><td>  </td><td align="left" valign="top">Making boxes.
 </td></tr>
+<tr><td align="left" valign="top">• <a href="#Color">Color</a>:</td><td>  </td><td align="left" valign="top">Defining and using colors.
+</td></tr>
 <tr><td align="left" valign="top">• <a href="#Special-insertions">Special insertions</a>:</td><td>  </td><td align="left" valign="top">Inserting reserved and special characters.
 </td></tr>
 <tr><td align="left" valign="top">• <a href="#Splitting-the-input">Splitting the input</a>:</td><td>  </td><td align="left" valign="top">Dealing with big files by splitting.
@@ -5139,7 +5155,7 @@
 </p>
 <dl compact="compact">
 <dt><var>v0</var></dt>
-<dd><p><code>\topsep</code>+<code>\parskip</code> if
+<dd><p><em><code>\topsep</code> + <code>\parskip</code></em> if
 the list environment does not start a new paragraph, and
 <code>\topsep</code>+<code>\parskip</code>+<code>\partopsep</code> if it does
 </p>
@@ -12230,11 +12246,11 @@
 change the LaTeX’s default behavior.
 </p>
 <p>After LaTeX places each character, or rule or other box, it sets a
-parameter called the space factor.  If the next thing in the input is a
-space then this parameter affects how much of a horizontal gap LaTeX
-will have it span.  (This gap is not a character; it is called
+parameter called the <em>space factor</em>.  If the next thing in the input
+is a space then this parameter affects how much of a horizontal gap
+LaTeX will have it span.  (This gap is not a character; it is called
 <em>interword glue</em>.)  A larger space factor means that the glue gap
-can stretch more or shrink more.
+can stretch more and shrink less.
 </p>
 <p>Normally, the space factor is 1000; this value is in effect following
 most characters, and any non-character box or math formula.  But it is
@@ -12255,15 +12271,15 @@
 lower-case letter, intersentence spacing has a fixed extra space added
 and then the space can stretch 3 times as much and shrink 1/3 as much.
 </p>
-<p>The rules for how TeX uses space factors is even more complex because
-they play two more roles.  In practice, there are two consequences.
-First, if a period or other punctuation is followed by a close
-parenthesis or close double quote then its effect is still in place,
-that is, the following glue will have increased stretch and shrink.
-Second, conversely, if punctuation comes after a capital letter then its
-effect is not in place so you get an ordinary space.  For how to adjust
-to this second case, for instance if an abbreviation does not end in a
-capital letter, see <a href="#g_t_005c_0028SPACE_0029-and-_005c_0040">\(SPACE) and \@</a>.
+<p>The rules for how TeX uses space factors are even more complex
+because they play two more roles.  In practice, there are two
+consequences.  First, if a period or other punctuation is followed by a
+close parenthesis or close double quote then its effect is still in
+place, that is, the following glue will have increased stretch and
+shrink.  Second, conversely, if punctuation comes after a capital letter
+then its effect is not in place so you get an ordinary space.  For how
+to adjust to this second case, for instance if an abbreviation does not
+end in a capital letter, see <a href="#g_t_005c_0028SPACE_0029-and-_005c_0040">\(SPACE) and \@</a>.
 </p>
 
 <table class="menu" border="0" cellspacing="0">
@@ -12645,7 +12661,7 @@
 <a name="Boxes"></a>
 <div class="header">
 <p>
-Next: <a href="#Special-insertions" accesskey="n" rel="next">Special insertions</a>, Previous: <a href="#Spaces" accesskey="p" rel="prev">Spaces</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="#Color" accesskey="n" rel="next">Color</a>, Previous: <a href="#Spaces" accesskey="p" rel="prev">Spaces</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Boxes-1"></a>
 <h2 class="chapter">20 Boxes</h2>
@@ -12723,8 +12739,8 @@
 <a name="index-_005cfboxrule-1"></a>
 <a name="index-_005cfboxsep-1"></a>
 <p>Both commands produce a rule of thickness <code>\fboxrule</code> (default
-‘<samp>.4pt</samp>’), and leave a space of <code>\fboxsep</code> (default
-‘<samp>3pt</samp>’) between the rule and the contents of the box.
+<code>0.4pt</code>), and leave a space of <code>\fboxsep</code> (default <code>3pt</code>)
+between the rule and the contents of the box.
 </p>
 <p>See <a href="#g_t_005cframebox-_0028picture_0029">\framebox (picture)</a>, for the <code>\framebox</code> command in the
 <code>picture</code> environment.
@@ -12962,13 +12978,422 @@
 </p>
 
 <hr>
+<a name="Color"></a>
+<div class="header">
+<p>
+Next: <a href="#Special-insertions" accesskey="n" rel="next">Special insertions</a>, Previous: <a href="#Boxes" accesskey="p" rel="prev">Boxes</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Color-1"></a>
+<h2 class="chapter">21 Color</h2>
+
+<a name="index-color"></a>
+
+<p>You can add color to text, rules, etc.  You can also have color in a box
+or on an entire page and write text on top of it.
+</p>
+<p>Color support comes as an additional package.  So all the commands below
+will only work if your document preamble contains
+<code>\usepackage{color}</code>, that brings in the standard package.
+</p>
+<p>Many other packages also supplement LaTeX’s color abilities.
+Particularly worth mentioning is <samp>xcolor</samp>, which is widely used and
+significantly extends the capabilities described here, including adding
+‘<samp>HTML</samp>’ and ‘<samp>Hsb</samp>’ color models.
+</p>
+<table class="menu" border="0" cellspacing="0">
+<tr><td align="left" valign="top">• <a href="#Color-package-options" accesskey="1">Color package options</a>:</td><td>  </td><td align="left" valign="top">Options when you load the standard package.
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#Color-models" accesskey="2">Color models</a>:</td><td>  </td><td align="left" valign="top">How colors are represented.
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#Commands" accesskey="3">Commands</a>:</td><td>  </td><td align="left" valign="top">The available commands.
+</td></tr>
+</table>
+
+
+<hr>
+<a name="Color-package-options"></a>
+<div class="header">
+<p>
+Next: <a href="#Color-models" accesskey="n" rel="next">Color models</a>, Up: <a href="#Color" accesskey="u" rel="up">Color</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Color-package-options-1"></a>
+<h3 class="section">21.1 Color package options</h3>
+
+<a name="index-color-package-options"></a>
+<a name="index-options_002c-color-package"></a>
+
+<p>Synopsis (must be in the document preamble):
+</p>
+<div class="example">
+<pre class="example">\usepackage[<var>comma-separated option list</var>]{color}
+</pre></div>
+
+<p>When you load the <samp>color</samp> package there are two kinds of available
+options.
+</p>
+<p>The first specifies the <em>printer driver</em>.  LaTeX doesn’t contain
+information about different output systems but instead depends on
+information stored in a file.  Normally you should not specify the
+driver option in the document, and instead rely on your system’s
+default. One advantage of this is that it makes the document portable
+across systems.  For completeness we include a list of the drivers.  The
+currently relevant ones are: <samp>dvipdfmx</samp>, <samp>dvips</samp>,
+<samp>dvisvgm</samp>, <samp>luatex</samp>, <samp>pdftex</samp>, <samp>xetex</samp>.  The two
+<samp>xdvi</samp> and <samp>oztex</samp> are essentially aliases for <samp>dvips</samp>
+(and <samp>xdvi</samp> is monochrome).  Ones that should not be used for new
+systems are: <samp>dvipdf</samp>, <samp>dvipdfm</samp>, <samp>dviwin</samp>,
+<samp>dvipsone</samp>, <samp>emtex</samp>, <samp>pctexps</samp>, <samp>pctexwin</samp>,
+<samp>pctexhp</samp>, <samp>pctex32</samp>, <samp>truetex</samp>, <samp>tcidvi</samp>,
+<samp>vtex</samp> (and <samp>dviwindo</samp> is an alias for <samp>dvipsone</samp>).
+</p>
+<p>The second kind of options, beyond the drivers, are below.
+</p>
+<dl compact="compact">
+<dt><code>monochrome</code></dt>
+<dd><p>Disable the color commands, so that they do not generate errors but do
+not generate color either.
+</p>
+</dd>
+<dt><code>dvipsnames</code></dt>
+<dd><p>Make available a list of 68 color names that are often used,
+particularly in legacy documents.  These color names were originally
+provided by the <samp>dvips</samp> driver, giving the option name.
+</p>
+</dd>
+<dt><code>nodvipsnames</code></dt>
+<dd><p>Do not load that list of color names, saving LaTeX a tiny amount of
+memory space.
+</p>
+</dd>
+</dl>
+
+
+<hr>
+<a name="Color-models"></a>
+<div class="header">
+<p>
+Next: <a href="#Commands" accesskey="n" rel="next">Commands</a>, Previous: <a href="#Color-package-options" accesskey="p" rel="prev">Color package options</a>, Up: <a href="#Color" accesskey="u" rel="up">Color</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Color-models-1"></a>
+<h3 class="section">21.2 Color models</h3>
+
+<a name="index-color-models"></a>
+
+<p>A <em>color model</em> is a way of representing colors.  LaTeX’s
+capabilities depend on the printer driver.  However, the <samp>pdftex</samp>,
+<samp>xetex</samp>, and <samp>luatex</samp> printer drivers are today by far the
+most commonly used.  The models below work for those drivers.  All but
+one of these is also supported by essentially all other printer drivers
+used today.
+</p>
+<p>Note that color combination can be additive or subtractive.  Additive
+mixes colors of light, so that for instance combining full intensities
+of red, green, and blue produces white.  Subtractive mixes pigments,
+such as with inks, so that combining full intensity of cyan, magenta,
+and yellow makes black.
+</p>
+<dl compact="compact">
+<dt><code>cmyk</code></dt>
+<dd><p>A comma-separated list with four real numbers between 0 and 1,
+inclusive.  The first number is the intensity of cyan, the second is
+magenta, and the others are yellow and black.  A number value of 0 means
+minimal intensity, while a 1 is for full intensity.  This model is often
+used in color printing.  It is a subtractive model.
+</p>
+</dd>
+<dt><code>gray</code></dt>
+<dd><p>A single real number between 0 and 1, inclusive.  The colors are shades
+of grey.  The number 0 produces black while 1 gives white.
+</p>
+</dd>
+<dt><code>rgb</code></dt>
+<dd><p>A comma-separated list with three real numbers between 0 and 1,
+inclusive.  The first number is the intensity of the red component, the
+second is green, and the third the blue.  A number value of 0 means that
+none of that component is added in, while a 1 means full intensity.
+This is an additive model.
+</p>
+</dd>
+<dt><code>RGB</code></dt>
+<dd><p>(<samp>pdftex</samp>, <samp>xetex</samp>, <samp>luatex</samp> drivers) A comma-separated
+list with three integers between 0 and 255, inclusive.  This model is a
+convenience for using <code>rgb</code> since outside of LaTeX colors are
+often described in a red-green-blue model using numbers in this range.
+The values entered here are converted to the <code>rgb</code> model by
+dividing by 255.
+</p>
+</dd>
+<dt><code>named</code></dt>
+<dd><p>Colors are accessed by name, such as ‘<samp>PrussianBlue</samp>’.  The list of
+names depends on the driver, but all support the names ‘<samp>black</samp>’,
+‘<samp>blue</samp>’, ‘<samp>cyan</samp>’, ‘<samp>green</samp>’, ‘<samp>magenta</samp>’, ‘<samp>red</samp>’,
+‘<samp>white</samp>’, and ‘<samp>yellow</samp>’ (See the <code>dvipsnames</code> option in
+<a href="#Color-package-options">Color package options</a>).
+</p>
+</dd>
+</dl>
+
+
+<hr>
+<a name="Commands"></a>
+<div class="header">
+<p>
+Previous: <a href="#Color-models" accesskey="p" rel="prev">Color models</a>, Up: <a href="#Color" accesskey="u" rel="up">Color</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Commands-1"></a>
+<h3 class="section">21.3 Commands</h3>
+
+<a name="index-color-package-commands"></a>
+
+<p>These are the commands available with the <samp>color</samp> package.
+</p>
+<table class="menu" border="0" cellspacing="0">
+<tr><td align="left" valign="top">• <a href="#Define-colors" accesskey="1">Define colors</a>:</td><td>  </td><td align="left" valign="top">Give a color a name.
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#Colored-text" accesskey="2">Colored text</a>:</td><td>  </td><td align="left" valign="top">Text or rules in color.
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#Colored-boxes" accesskey="3">Colored boxes</a>:</td><td>  </td><td align="left" valign="top">A box of color, to write over.
+</td></tr>
+<tr><td align="left" valign="top">• <a href="#Colored-pages" accesskey="4">Colored pages</a>:</td><td>  </td><td align="left" valign="top">A whole page colored.
+</td></tr>
+</table>
+
+
+<hr>
+<a name="Define-colors"></a>
+<div class="header">
+<p>
+Next: <a href="#Colored-text" accesskey="n" rel="next">Colored text</a>, Up: <a href="#Commands" accesskey="u" rel="up">Commands</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Define-colors-1"></a>
+<h4 class="subsection">21.3.1 Define colors</h4>
+
+<a name="index-color-1"></a>
+<a name="index-define-color"></a>
+<a name="index-color_002c-define"></a>
+
+<p>Synopsis:
+</p>
+<div class="example">
+<pre class="example">\definecolor{<var>name</var>}{<var>model</var>}{<var>specification</var>}
+</pre></div>
+
+<p>Give the name <var>name</var> to the color.  For example, after
+<code>\definecolor{silver}{rgb}{0.75,0.75,0.74}</code> you can use that
+color name with <code>Hi ho, \textcolor{silver}{Silver}!</code>.
+</p>
+<p>This example gives the color a more abstract name, so it could change and
+not be misleading.
+</p>
+<div class="example">
+<pre class="example">\definecolor{logocolor}{RGB}{145,92,131}    % RGB needs pdflatex
+\newcommand{\logo}{\textcolor{logocolor}{Bob's Big Bagels}}
+</pre></div>
+
+<p>Often a document’s colors are defined in the preamble, or in the class
+or style, rather than in the document body.
+</p>
+
+<hr>
+<a name="Colored-text"></a>
+<div class="header">
+<p>
+Next: <a href="#Colored-boxes" accesskey="n" rel="next">Colored boxes</a>, Previous: <a href="#Define-colors" accesskey="p" rel="prev">Define colors</a>, Up: <a href="#Commands" accesskey="u" rel="up">Commands</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Colored-text-1"></a>
+<h4 class="subsection">21.3.2 Colored text</h4>
+
+<a name="index-color-2"></a>
+<a name="index-colored-text"></a>
+
+<p>Synopses:
+</p>
+<div class="example">
+<pre class="example">\textcolor{<var>name</var>}{...}
+\textcolor[<var>color model</var>]{<var>color specification</var>}{...}
+</pre></div>
+
+<p>or
+</p>
+<div class="example">
+<pre class="example">\color{<var>name</var>}
+\color[<var>color model</var>]{<var>specification</var>}
+</pre></div>
+
+<p>The affected text gets the color.  This line
+</p>
+<div class="example">
+<pre class="example">\textcolor{magenta}{My name is Ozymandias, king of kings:} Look on my works, ye Mighty, and despair!
+</pre></div>
+
+<p>causes the first half to be in magenta while the rest is in black.  You
+can use a color declared with <code>\definecolor</code> in exactly the same
+way that we just used the builtin color ‘<samp>magenta</samp>’.
+</p>
+<div class="example">
+<pre class="example">\definecolor{MidlifeCrisisRed}{rgb}{1.0,0.11,0.0}
+I'm thinking about getting a \textcolor{MidlifeCrisisRed}{sports car}.
+</pre></div>
+
+<p>The two <code>\textcolor</code> and <code>\color</code> differ in that the first is
+a command form, enclosing the text to be colored as an argument.  Often
+this form is more convenient, or at least more explicit.  The second
+form is a declaration, as in <code>The moon is made of {\color{green}
+green} cheese</code>, so it is in effect until the end of the current group
+or environment.  This is sometimes useful when writing macros or as
+below where it colors everything inside the <code>center</code> environment,
+including the vertical and horizontal lines.
+</p>
+<div class="example">
+<pre class="example">\begin{center} \color{blue}
+  \begin{tabular}{l|r}
+    UL &UR \\ \hline
+    LL &LR 
+  \end{tabular}
+\end{center}
+</pre></div>
+
+<p>You can use color in equations.  A document might have
+<code>\definecolor{highlightcolor}{RGB}{225,15,0}</code> in the
+preamble, and then contain this equation.
+</p>
+<div class="example">
+<pre class="example">\begin{equation}
+  \int_a^b \textcolor{highlightcolor}{f'(x)}\,dx=f(b)-f(a)
+\end{equation}
+</pre></div>
+
+<p>Typically the colors used in a document are declared in a class or style
+but sometimes you want a one-off.  Those are the second forms in the
+synopses.
+</p>
+<div class="example">
+<pre class="example">Colors of \textcolor[rgb]{0.33,0.14,0.47}{Purple} and {\color[rgb]{0.72,0.60,0.37} Gold} for the team
+</pre></div>
+
+<p>The format of <var>color specification </var> depends on the color model
+(see <a href="#Color-models">Color models</a>).  For instance, while <code>rgb</code> takes three
+numbers, <code>gray</code> takes only one.
+</p>
+<div class="example">
+<pre class="example">The selection was \textcolor[gray]{0.5}{grayed out}.
+</pre></div>
+
+<p>Colors inside colors do not combine.  Thus
+</p>
+<div class="example">
+<pre class="example">\textcolor{green}{kind of \textcolor{blue}{blue}}
+</pre></div>
+
+<p>has a final word that is blue, not a combination of blue and green.
+</p>
+
+
+<hr>
+<a name="Colored-boxes"></a>
+<div class="header">
+<p>
+Next: <a href="#Colored-pages" accesskey="n" rel="next">Colored pages</a>, Previous: <a href="#Colored-text" accesskey="p" rel="prev">Colored text</a>, Up: <a href="#Commands" accesskey="u" rel="up">Commands</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Colored-boxes-1"></a>
+<h4 class="subsection">21.3.3 Colored boxes</h4>
+
+<a name="index-color-3"></a>
+<a name="index-colored-boxes"></a>
+<a name="index-box_002c-colored"></a>
+
+<p>Synopses:
+</p>
+<div class="example">
+<pre class="example">\colorbox{<var>name</var>}{...}
+\colorbox[<var>model name</var>]{<var>box background color specification</var>}{...}
+</pre></div>
+
+<p>or
+</p>
+<div class="example">
+<pre class="example">\fcolorbox{<var>frame color</var>}{<var>box background color</var>}{...}
+\fcolorbox[<var>model name</var>]{<var>frame color specification</var>}{<var>box background color specification</var>}{...}
+</pre></div>
+
+<p>Make a box with the stated background color.  The <code>\fcolorbox</code>
+command puts a frame around the box.  For instance this
+</p>
+<div class="example">
+<pre class="example">Name:~\colorbox{cyan}{\makebox[5cm][l]{\strut}}
+</pre></div>
+
+<p>makes a cyan-colored box that is five centimeters long and gets its
+depth and height from the <code>\strut</code> (so the depth is
+<code>-.3\baselineskip</code> and the height is <code>\baselineskip</code>).  This
+puts white text on a blue background.
+</p>
+<div class="example">
+<pre class="example">\colorbox{blue}{\textcolor{white}{Welcome to the machine.}}
+</pre></div>
+
+<p>The <code>\fcolorbox</code> commands use the same parameters as <code>\fbox</code>
+(see <a href="#g_t_005cfbox-and-_005cframebox">\fbox and \framebox</a>), <code>\fboxrule</code> and <code>\fboxsep</code>, to
+set the thickness of the rule and the boundary between the box interior
+and the surrounding rule.  LaTeX’s defaults are <code>0.4pt</code> and
+<code>3pt</code>, respectively.
+</p>
+<p>This example changes the thickness of the border to 0.8 points.  Note
+that it is surrounded by curly braces so that the change ends at the end
+of the second line.
+</p>
+<div class="example">
+<pre class="example">{\setlength{\fboxrule}{0.8pt}
+\fcolorbox{black}{red}{Under no circumstances turn this knob.}}
+</pre></div>
+
+
+<hr>
+<a name="Colored-pages"></a>
+<div class="header">
+<p>
+Previous: <a href="#Colored-boxes" accesskey="p" rel="prev">Colored boxes</a>, Up: <a href="#Commands" accesskey="u" rel="up">Commands</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+</div>
+<a name="Colored-pages-1"></a>
+<h4 class="subsection">21.3.4 Colored pages</h4>
+
+<a name="index-color-4"></a>
+<a name="index-colored-page"></a>
+<a name="index-page_002c-colored"></a>
+<a name="index-background_002c-colored"></a>
+
+<p>Synopses:
+</p>
+<div class="example">
+<pre class="example">\pagecolor{<var>name</var>}
+\pagecolor[<var>color model</var>]{<var>color specification</var>}
+\nopagecolor
+</pre></div>
+
+<p>The first two set the background of the page, and all subsequent pages,
+to the color.  For an explanation of the specification in the second
+form see <a href="#Colored-text">Colored text</a>.  The third returns the background to normal,
+which is a transparent background.  (If that is not supported use
+<code>\pagecolor{white}</code>, although that will make a white background
+rather than the default transparent background.)
+</p>
+<div class="example">
+<pre class="example"> ...
+\pagecolor{cyan}
+ ...
+\nopagecolor
+</pre></div>
+
+
+
+<hr>
 <a name="Special-insertions"></a>
 <div class="header">
 <p>
-Next: <a href="#Splitting-the-input" accesskey="n" rel="next">Splitting the input</a>, Previous: <a href="#Boxes" accesskey="p" rel="prev">Boxes</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
+Next: <a href="#Splitting-the-input" accesskey="n" rel="next">Splitting the input</a>, Previous: <a href="#Color" accesskey="p" rel="prev">Color</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Special-insertions-1"></a>
-<h2 class="chapter">21 Special insertions</h2>
+<h2 class="chapter">22 Special insertions</h2>
 
 <a name="index-special-insertions"></a>
 <a name="index-insertions-of-special-characters"></a>
@@ -13003,7 +13428,7 @@
 Next: <a href="#Upper-and-lower-case" accesskey="n" rel="next">Upper and lower case</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Reserved-characters-1"></a>
-<h3 class="section">21.1 Reserved characters</h3>
+<h3 class="section">22.1 Reserved characters</h3>
 
 <a name="index-reserved-characters"></a>
 <a name="index-characters_002c-reserved"></a>
@@ -13059,7 +13484,7 @@
 Next: <a href="#Symbols-by-font-position" accesskey="n" rel="next">Symbols by font position</a>, Previous: <a href="#Reserved-characters" accesskey="p" rel="prev">Reserved characters</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Upper-and-lower-case-1"></a>
-<h3 class="section">21.2 Upper and lower case</h3>
+<h3 class="section">22.2 Upper and lower case</h3>
 
 <a name="index-Upper-case"></a>
 <a name="index-Lower-case"></a>
@@ -13127,7 +13552,7 @@
 Next: <a href="#Text-symbols" accesskey="n" rel="next">Text symbols</a>, Previous: <a href="#Upper-and-lower-case" accesskey="p" rel="prev">Upper and lower case</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Symbols-by-font-position-1"></a>
-<h3 class="section">21.3 Symbols by font position</h3>
+<h3 class="section">22.3 Symbols by font position</h3>
 
 <a name="index-_005csymbol"></a>
 <a name="index-accessing-any-character-of-a-font"></a>
@@ -13151,7 +13576,7 @@
 Next: <a href="#Accents" accesskey="n" rel="next">Accents</a>, Previous: <a href="#Symbols-by-font-position" accesskey="p" rel="prev">Symbols by font position</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Text-symbols-1"></a>
-<h3 class="section">21.4 Text symbols</h3>
+<h3 class="section">22.4 Text symbols</h3>
 
 <a name="index-text-symbols"></a>
 <a name="index-symbols_002c-text"></a>
@@ -13628,7 +14053,7 @@
 Next: <a href="#Additional-Latin-letters" accesskey="n" rel="next">Additional Latin letters</a>, Previous: <a href="#Text-symbols" accesskey="p" rel="prev">Text symbols</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Accents-1"></a>
-<h3 class="section">21.5 Accents</h3>
+<h3 class="section">22.5 Accents</h3>
 
 <a name="index-accents"></a>
 <a name="index-characters_002c-accented"></a>
@@ -13821,7 +14246,7 @@
 Next: <a href="#g_t_005crule" accesskey="n" rel="next">\rule</a>, Previous: <a href="#Accents" accesskey="p" rel="prev">Accents</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Additional-Latin-letters-1"></a>
-<h3 class="section">21.6 Additional Latin letters</h3>
+<h3 class="section">22.6 Additional Latin letters</h3>
 
 <a name="Non_002dEnglish-characters"></a><a name="index-Latin-letters_002c-additional"></a>
 <a name="index-letters_002c-additional-Latin"></a>
@@ -13940,7 +14365,7 @@
 Next: <a href="#g_t_005ctoday" accesskey="n" rel="next">\today</a>, Previous: <a href="#Additional-Latin-letters" accesskey="p" rel="prev">Additional Latin letters</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005crule-1"></a>
-<h3 class="section">21.7 <code>\rule</code></h3>
+<h3 class="section">22.7 <code>\rule</code></h3>
 
 <a name="index-_005crule"></a>
 
@@ -13975,7 +14400,7 @@
 Previous: <a href="#g_t_005crule" accesskey="p" rel="prev">\rule</a>, Up: <a href="#Special-insertions" accesskey="u" rel="up">Special insertions</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005ctoday-1"></a>
-<h3 class="section">21.8 <code>\today</code></h3>
+<h3 class="section">22.8 <code>\today</code></h3>
 
 <a name="index-_005ctoday"></a>
 <a name="index-date_002c-today_0027s"></a>
@@ -14013,7 +14438,7 @@
 Next: <a href="#Front_002fback-matter" accesskey="n" rel="next">Front/back matter</a>, Previous: <a href="#Special-insertions" accesskey="p" rel="prev">Special insertions</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Splitting-the-input-1"></a>
-<h2 class="chapter">22 Splitting the input</h2>
+<h2 class="chapter">23 Splitting the input</h2>
 
 <a name="index-splitting-the-input-file"></a>
 <a name="index-input-file"></a>
@@ -14047,7 +14472,7 @@
 Next: <a href="#g_t_005cincludeonly" accesskey="n" rel="next">\includeonly</a>, Up: <a href="#Splitting-the-input" accesskey="u" rel="up">Splitting the input</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cinclude-1"></a>
-<h3 class="section">22.1 <code>\include</code></h3>
+<h3 class="section">23.1 <code>\include</code></h3>
 
 <a name="index-_005cinclude"></a>
 
@@ -14078,7 +14503,7 @@
 Next: <a href="#g_t_005cinput" accesskey="n" rel="next">\input</a>, Previous: <a href="#g_t_005cinclude" accesskey="p" rel="prev">\include</a>, Up: <a href="#Splitting-the-input" accesskey="u" rel="up">Splitting the input</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cincludeonly-1"></a>
-<h3 class="section">22.2 <code>\includeonly</code></h3>
+<h3 class="section">23.2 <code>\includeonly</code></h3>
 
 <a name="index-_005cincludeonly"></a>
 
@@ -14104,7 +14529,7 @@
 Previous: <a href="#g_t_005cincludeonly" accesskey="p" rel="prev">\includeonly</a>, Up: <a href="#Splitting-the-input" accesskey="u" rel="up">Splitting the input</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cinput-1"></a>
-<h3 class="section">22.3 <code>\input</code></h3>
+<h3 class="section">23.3 <code>\input</code></h3>
 
 <a name="index-_005cinput"></a>
 
@@ -14131,7 +14556,7 @@
 Next: <a href="#Letters" accesskey="n" rel="next">Letters</a>, Previous: <a href="#Splitting-the-input" accesskey="p" rel="prev">Splitting the input</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Front_002fback-matter-1"></a>
-<h2 class="chapter">23 Front/back matter</h2>
+<h2 class="chapter">24 Front/back matter</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">• <a href="#Tables-of-contents" accesskey="1">Tables of contents</a>:</td><td>  </td><td align="left" valign="top">
@@ -14150,7 +14575,7 @@
 Next: <a href="#Glossaries" accesskey="n" rel="next">Glossaries</a>, Up: <a href="#Front_002fback-matter" accesskey="u" rel="up">Front/back matter</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Tables-of-contents-1"></a>
-<h3 class="section">23.1 Tables of contents</h3>
+<h3 class="section">24.1 Tables of contents</h3>
 
 <a name="index-table-of-contents_002c-creating"></a>
 
@@ -14194,7 +14619,7 @@
 Next: <a href="#g_t_005caddtocontents" accesskey="n" rel="next">\addtocontents</a>, Up: <a href="#Tables-of-contents" accesskey="u" rel="up">Tables of contents</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005caddcontentsline-1"></a>
-<h4 class="subsection">23.1.1 <code>\addcontentsline</code></h4>
+<h4 class="subsection">24.1.1 <code>\addcontentsline</code></h4>
 
 <a name="index-_005caddcontentsline"></a>
 <a name="index-table-of-contents-entry_002c-manually-adding"></a>
@@ -14252,7 +14677,7 @@
 Previous: <a href="#g_t_005caddcontentsline" accesskey="p" rel="prev">\addcontentsline</a>, Up: <a href="#Tables-of-contents" accesskey="u" rel="up">Tables of contents</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005caddtocontents-1"></a>
-<h4 class="subsection">23.1.2 <code>\addtocontents</code></h4>
+<h4 class="subsection">24.1.2 <code>\addtocontents</code></h4>
 
 <a name="index-_005caddtocontents_007bext_007d_007btext_007d"></a>
 
@@ -14280,7 +14705,7 @@
 Next: <a href="#Indexes" accesskey="n" rel="next">Indexes</a>, Previous: <a href="#Tables-of-contents" accesskey="p" rel="prev">Tables of contents</a>, Up: <a href="#Front_002fback-matter" accesskey="u" rel="up">Front/back matter</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Glossaries-1"></a>
-<h3 class="section">23.2 Glossaries</h3>
+<h3 class="section">24.2 Glossaries</h3>
 
 <a name="index-glossaries"></a>
 
@@ -14309,7 +14734,7 @@
 Previous: <a href="#Glossaries" accesskey="p" rel="prev">Glossaries</a>, Up: <a href="#Front_002fback-matter" accesskey="u" rel="up">Front/back matter</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Indexes-1"></a>
-<h3 class="section">23.3 Indexes</h3>
+<h3 class="section">24.3 Indexes</h3>
 
 <a name="index-indexes"></a>
 
@@ -14384,7 +14809,7 @@
 Next: <a href="#Terminal-input_002foutput" accesskey="n" rel="next">Terminal input/output</a>, Previous: <a href="#Front_002fback-matter" accesskey="p" rel="prev">Front/back matter</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Letters-1"></a>
-<h2 class="chapter">24 Letters</h2>
+<h2 class="chapter">25 Letters</h2>
 
 <a name="index-letters_002c-writing"></a>
 <a name="index-writing-letters"></a>
@@ -14507,7 +14932,7 @@
 Next: <a href="#g_t_005ccc" accesskey="n" rel="next">\cc</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005caddress-1"></a>
-<h3 class="section">24.1 <code>\address</code></h3>
+<h3 class="section">25.1 <code>\address</code></h3>
 
 <a name="index-_005caddress"></a>
 
@@ -14546,7 +14971,7 @@
 Next: <a href="#g_t_005cclosing" accesskey="n" rel="next">\closing</a>, Previous: <a href="#g_t_005caddress" accesskey="p" rel="prev">\address</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005ccc-1"></a>
-<h3 class="section">24.2 <code>\cc</code></h3>
+<h3 class="section">25.2 <code>\cc</code></h3>
 
 <a name="index-_005ccc"></a>
 <a name="index-cc-list_002c-in-letters"></a>
@@ -14576,7 +15001,7 @@
 Next: <a href="#g_t_005cencl" accesskey="n" rel="next">\encl</a>, Previous: <a href="#g_t_005ccc" accesskey="p" rel="prev">\cc</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cclosing-1"></a>
-<h3 class="section">24.3 <code>\closing</code></h3>
+<h3 class="section">25.3 <code>\closing</code></h3>
 
 <a name="index-_005cclosing"></a>
 <a name="index-letters_002c-ending"></a>
@@ -14603,7 +15028,7 @@
 Next: <a href="#g_t_005clocation" accesskey="n" rel="next">\location</a>, Previous: <a href="#g_t_005cclosing" accesskey="p" rel="prev">\closing</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cencl-1"></a>
-<h3 class="section">24.4 <code>\encl</code></h3>
+<h3 class="section">25.4 <code>\encl</code></h3>
 
 <a name="index-_005cencl"></a>
 <a name="index-enclosure-list"></a>
@@ -14632,7 +15057,7 @@
 Next: <a href="#g_t_005cmakelabels" accesskey="n" rel="next">\makelabels</a>, Previous: <a href="#g_t_005cencl" accesskey="p" rel="prev">\encl</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005clocation-1"></a>
-<h3 class="section">24.5 <code>\location</code></h3>
+<h3 class="section">25.5 <code>\location</code></h3>
 
 <a name="index-_005clocation"></a>
 
@@ -14653,7 +15078,7 @@
 Next: <a href="#g_t_005cname" accesskey="n" rel="next">\name</a>, Previous: <a href="#g_t_005clocation" accesskey="p" rel="prev">\location</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cmakelabels-1"></a>
-<h3 class="section">24.6 <code>\makelabels</code></h3>
+<h3 class="section">25.6 <code>\makelabels</code></h3>
 
 <a name="index-_005cmakelabels"></a>
 
@@ -14687,7 +15112,7 @@
 Next: <a href="#g_t_005copening" accesskey="n" rel="next">\opening</a>, Previous: <a href="#g_t_005cmakelabels" accesskey="p" rel="prev">\makelabels</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cname-1"></a>
-<h3 class="section">24.7 <code>\name</code></h3>
+<h3 class="section">25.7 <code>\name</code></h3>
 
 <a name="index-_005cname"></a>
 
@@ -14708,7 +15133,7 @@
 Next: <a href="#g_t_005cps" accesskey="n" rel="next">\ps</a>, Previous: <a href="#g_t_005cname" accesskey="p" rel="prev">\name</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005copening-1"></a>
-<h3 class="section">24.8 <code>\opening</code></h3>
+<h3 class="section">25.8 <code>\opening</code></h3>
 
 <a name="index-_005copening"></a>
 <a name="index-letters_002c-starting"></a>
@@ -14735,7 +15160,7 @@
 Next: <a href="#g_t_005csignature" accesskey="n" rel="next">\signature</a>, Previous: <a href="#g_t_005copening" accesskey="p" rel="prev">\opening</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005cps-1"></a>
-<h3 class="section">24.9 <code>\ps</code></h3>
+<h3 class="section">25.9 <code>\ps</code></h3>
 <a name="index-_005cps"></a>
 <a name="index-postscript_002c-in-letters"></a>
 
@@ -14760,7 +15185,7 @@
 Next: <a href="#g_t_005ctelephone" accesskey="n" rel="next">\telephone</a>, Previous: <a href="#g_t_005cps" accesskey="p" rel="prev">\ps</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005csignature-1"></a>
-<h3 class="section">24.10 <code>\signature</code></h3>
+<h3 class="section">25.10 <code>\signature</code></h3>
 
 <p>Synopsis:
 </p>
@@ -14808,7 +15233,7 @@
 Previous: <a href="#g_t_005csignature" accesskey="p" rel="prev">\signature</a>, Up: <a href="#Letters" accesskey="u" rel="up">Letters</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005ctelephone-1"></a>
-<h3 class="section">24.11 <code>\telephone</code></h3>
+<h3 class="section">25.11 <code>\telephone</code></h3>
 
 <a name="index-_005ctelephone"></a>
 
@@ -14831,7 +15256,7 @@
 Next: <a href="#Command-line" accesskey="n" rel="next">Command line</a>, Previous: <a href="#Letters" accesskey="p" rel="prev">Letters</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Terminal-input_002foutput-1"></a>
-<h2 class="chapter">25 Terminal input/output</h2>
+<h2 class="chapter">26 Terminal input/output</h2>
 
 <a name="index-input_002foutput_002c-to-terminal"></a>
 <a name="index-terminal-input_002foutput"></a>
@@ -14851,7 +15276,7 @@
 Next: <a href="#g_t_005ctypeout" accesskey="n" rel="next">\typeout</a>, Up: <a href="#Terminal-input_002foutput" accesskey="u" rel="up">Terminal input/output</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005ctypein_005bcmd_005d_007bmsg_007d"></a>
-<h3 class="section">25.1 <code>\typein[<var>cmd</var>]{<var>msg</var>}</code></h3>
+<h3 class="section">26.1 <code>\typein[<var>cmd</var>]{<var>msg</var>}</code></h3>
 
 <a name="index-_005ctypein"></a>
 
@@ -14877,7 +15302,7 @@
 Previous: <a href="#g_t_005ctypein" accesskey="p" rel="prev">\typein</a>, Up: <a href="#Terminal-input_002foutput" accesskey="u" rel="up">Terminal input/output</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="g_t_005ctypeout_007bmsg_007d"></a>
-<h3 class="section">25.2 <code>\typeout{<var>msg</var>}</code></h3>
+<h3 class="section">26.2 <code>\typeout{<var>msg</var>}</code></h3>
 
 <a name="index-_005ctypeout"></a>
 
@@ -14906,7 +15331,7 @@
 Next: <a href="#Document-templates" accesskey="n" rel="next">Document templates</a>, Previous: <a href="#Terminal-input_002foutput" accesskey="p" rel="prev">Terminal input/output</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a>   [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-Index" title="Index" rel="index">Index</a>]</p>
 </div>
 <a name="Command-line-1"></a>
-<h2 class="chapter">26 Command line</h2>
+<h2 class="chapter">27 Command line</h2>
 
 <a name="index-command-line"></a>
 
@@ -15244,6 +15669,7 @@
 <tr><th><a name="Concept-Index_cp_letter-B">B</a></th><td></td><td></td></tr>
 <tr><td></td><td valign="top"><a href="#index-babel-package"><code>babel</code> <span class="roman">package</span></a>:</td><td> </td><td valign="top"><a href="#thebibliography">thebibliography</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-babel-package-1"><code>babel</code> <span class="roman">package</span></a>:</td><td> </td><td valign="top"><a href="#Accents">Accents</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-background_002c-colored">background, colored</a>:</td><td> </td><td valign="top"><a href="#Colored-pages">Colored pages</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-backslash_002c-in-text">backslash, in text</a>:</td><td> </td><td valign="top"><a href="#Text-symbols">Text symbols</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-bar_002c-double-vertical_002c-in-text">bar, double vertical, in text</a>:</td><td> </td><td valign="top"><a href="#Text-symbols">Text symbols</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-bar_002c-vertical_002c-in-text">bar, vertical, in text</a>:</td><td> </td><td valign="top"><a href="#Text-symbols">Text symbols</a></td></tr>
@@ -15264,6 +15690,7 @@
 <tr><td></td><td valign="top"><a href="#index-bold-math">bold math</a>:</td><td> </td><td valign="top"><a href="#Font-styles">Font styles</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-bold-typewriter_002c-avoiding">bold typewriter, avoiding</a>:</td><td> </td><td valign="top"><a href="#description">description</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-box_002c-allocating-new">box, allocating new</a>:</td><td> </td><td valign="top"><a href="#g_t_005cnewsavebox">\newsavebox</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-box_002c-colored">box, colored</a>:</td><td> </td><td valign="top"><a href="#Colored-boxes">Colored boxes</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-boxes">boxes</a>:</td><td> </td><td valign="top"><a href="#Boxes">Boxes</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-brace_002c-left_002c-in-text">brace, left, in text</a>:</td><td> </td><td valign="top"><a href="#Text-symbols">Text symbols</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-brace_002c-right_002c-in-text">brace, right, in text</a>:</td><td> </td><td valign="top"><a href="#Text-symbols">Text symbols</a></td></tr>
@@ -15317,6 +15744,18 @@
 <tr><td></td><td valign="top"><a href="#index-closing-letters">closing letters</a>:</td><td> </td><td valign="top"><a href="#g_t_005cclosing">\closing</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-closing-quote">closing quote</a>:</td><td> </td><td valign="top"><a href="#Text-symbols">Text symbols</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-code_002c-typesetting">code, typesetting</a>:</td><td> </td><td valign="top"><a href="#verbatim">verbatim</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color">color</a>:</td><td> </td><td valign="top"><a href="#Color">Color</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color-1">color</a>:</td><td> </td><td valign="top"><a href="#Define-colors">Define colors</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color-2">color</a>:</td><td> </td><td valign="top"><a href="#Colored-text">Colored text</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color-3">color</a>:</td><td> </td><td valign="top"><a href="#Colored-boxes">Colored boxes</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color-4">color</a>:</td><td> </td><td valign="top"><a href="#Colored-pages">Colored pages</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color-models">color models</a>:</td><td> </td><td valign="top"><a href="#Color-models">Color models</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color-package-commands">color package commands</a>:</td><td> </td><td valign="top"><a href="#Commands">Commands</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color-package-options">color package options</a>:</td><td> </td><td valign="top"><a href="#Color-package-options">Color package options</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-color_002c-define">color, define</a>:</td><td> </td><td valign="top"><a href="#Define-colors">Define colors</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-colored-boxes">colored boxes</a>:</td><td> </td><td valign="top"><a href="#Colored-boxes">Colored boxes</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-colored-page">colored page</a>:</td><td> </td><td valign="top"><a href="#Colored-pages">Colored pages</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-colored-text">colored text</a>:</td><td> </td><td valign="top"><a href="#Colored-text">Colored text</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-command-line">command line</a>:</td><td> </td><td valign="top"><a href="#Command-line">Command line</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-command-syntax">command syntax</a>:</td><td> </td><td valign="top"><a href="#LaTeX-command-syntax">LaTeX command syntax</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-commands_002c-class-and-package">commands, class and package</a>:</td><td> </td><td valign="top"><a href="#Class-and-package-commands">Class and package commands</a></td></tr>
@@ -15352,6 +15791,7 @@
 <tr><td></td><td valign="top"><a href="#index-date_002c-for-titlepage">date, for titlepage</a>:</td><td> </td><td valign="top"><a href="#g_t_005cmaketitle">\maketitle</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-date_002c-today_0027s">date, today’s</a>:</td><td> </td><td valign="top"><a href="#g_t_005ctoday">\today</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-datetime-package"><code>datetime</code> <span class="roman">package</span></a>:</td><td> </td><td valign="top"><a href="#g_t_005ctoday">\today</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-define-color">define color</a>:</td><td> </td><td valign="top"><a href="#Define-colors">Define colors</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-defining-a-new-command">defining a new command</a>:</td><td> </td><td valign="top"><a href="#g_t_005cnewcommand-_0026-_005crenewcommand">\newcommand & \renewcommand</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-defining-a-new-command-1">defining a new command</a>:</td><td> </td><td valign="top"><a href="#g_t_005cprovidecommand">\providecommand</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-defining-new-environments">defining new environments</a>:</td><td> </td><td valign="top"><a href="#g_t_005cnewenvironment-_0026-_005crenewenvironment">\newenvironment & \renewenvironment</a></td></tr>
@@ -15652,6 +16092,7 @@
 <tr><td></td><td valign="top"><a href="#index-opening-quote">opening quote</a>:</td><td> </td><td valign="top"><a href="#Text-symbols">Text symbols</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-OpenType-fonts">OpenType fonts</a>:</td><td> </td><td valign="top"><a href="#TeX-engines">TeX engines</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-options_002c-class">options, class</a>:</td><td> </td><td valign="top"><a href="#Class-and-package-commands">Class and package commands</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-options_002c-color-package">options, color package</a>:</td><td> </td><td valign="top"><a href="#Color-package-options">Color package options</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-options_002c-document-class">options, document class</a>:</td><td> </td><td valign="top"><a href="#Document-class-options">Document class options</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-options_002c-document-class-1">options, document class</a>:</td><td> </td><td valign="top"><a href="#Class-and-package-structure">Class and package structure</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-options_002c-global">options, global</a>:</td><td> </td><td valign="top"><a href="#Additional-packages">Additional packages</a></td></tr>
@@ -15701,6 +16142,7 @@
 <tr><td></td><td valign="top"><a href="#index-page-number_002c-cross-referencing">page number, cross referencing</a>:</td><td> </td><td valign="top"><a href="#g_t_005cpageref">\pageref</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-page-numbering-style">page numbering style</a>:</td><td> </td><td valign="top"><a href="#g_t_005cpagenumbering">\pagenumbering</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-page-styles">page styles</a>:</td><td> </td><td valign="top"><a href="#Page-styles">Page styles</a></td></tr>
+<tr><td></td><td valign="top"><a href="#index-page_002c-colored">page, colored</a>:</td><td> </td><td valign="top"><a href="#Colored-pages">Colored pages</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-paragraph-indentation_002c-in-minipage">paragraph indentation, in minipage</a>:</td><td> </td><td valign="top"><a href="#minipage">minipage</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-paragraph-indentations-in-quoted-text">paragraph indentations in quoted text</a>:</td><td> </td><td valign="top"><a href="#quotation-and-quote">quotation and quote</a></td></tr>
 <tr><td></td><td valign="top"><a href="#index-paragraph-indentations-in-quoted-text_002c-omitting">paragraph indentations in quoted text, omitting</a>:</td><td> </td><td valign="top"><a href="#quotation-and-quote">quotation and quote</a></td></tr>

Modified: trunk/latex2e.info
===================================================================
--- trunk/latex2e.info	2018-02-24 23:07:27 UTC (rev 608)
+++ trunk/latex2e.info	2018-03-04 23:44:29 UTC (rev 609)
@@ -1,8 +1,8 @@
-This is latex2e.info, produced by makeinfo version 6.1 from
+This is latex2e.info, produced by makeinfo version 6.5 from
 latex2e.texi.
 
 This document is an unofficial reference manual for LaTeX, a document
-preparation system, version of February 2018.
+preparation system, version of March 2018.
 
    This manual was originally translated from 'LATEX.HLP' v1.0a in the
 VMS Help Library.  The pre-translation version was written by George D.
@@ -42,8 +42,8 @@
 LaTeX2e: An unofficial reference manual
 ***************************************
 
-This document is an unofficial reference manual (version of February
-2018) for LaTeX2e, a document preparation system.
+This document is an unofficial reference manual (version of March 2018)
+for LaTeX2e, a document preparation system.
 
 * Menu:
 
@@ -67,6 +67,7 @@
 * Page styles::			Various styles of page layout.
 * Spaces::		        Horizontal and vertical space.
 * Boxes::                       Making boxes.
+* Color::                       Defining and using colors.
 * Special insertions::		Inserting reserved and special characters.
 * Splitting the input::		Dealing with big files by splitting.
 * Front/back matter::		Tables of contents, glossaries, indexes.
@@ -3290,7 +3291,7 @@
 for H4, so that the left edge of the label box is at H3+H4-(H0+H1).
 
 V0
-     '\topsep'+'\parskip' if the list environment does not start a new
+     '\topsep' + '\parskip' if the list environment does not start a new
      paragraph, and '\topsep'+'\parskip'+'\partopsep' if it does
 
 V1
@@ -7845,11 +7846,11 @@
 behavior.
 
    After LaTeX places each character, or rule or other box, it sets a
-parameter called the space factor.  If the next thing in the input is a
-space then this parameter affects how much of a horizontal gap LaTeX
+parameter called the "space factor".  If the next thing in the input is
+a space then this parameter affects how much of a horizontal gap LaTeX
 will have it span.  (This gap is not a character; it is called
 "interword glue".)  A larger space factor means that the glue gap can
-stretch more or shrink more.
+stretch more and shrink less.
 
    Normally, the space factor is 1000; this value is in effect following
 most characters, and any non-character box or math formula.  But it is
@@ -7870,15 +7871,15 @@
 spacing has a fixed extra space added and then the space can stretch 3
 times as much and shrink 1/3 as much.
 
-   The rules for how TeX uses space factors is even more complex because
-they play two more roles.  In practice, there are two consequences.
-First, if a period or other punctuation is followed by a close
-parenthesis or close double quote then its effect is still in place,
-that is, the following glue will have increased stretch and shrink.
-Second, conversely, if punctuation comes after a capital letter then its
-effect is not in place so you get an ordinary space.  For how to adjust
-to this second case, for instance if an abbreviation does not end in a
-capital letter, *note \(SPACE) and \@::.
+   The rules for how TeX uses space factors are even more complex
+because they play two more roles.  In practice, there are two
+consequences.  First, if a period or other punctuation is followed by a
+close parenthesis or close double quote then its effect is still in
+place, that is, the following glue will have increased stretch and
+shrink.  Second, conversely, if punctuation comes after a capital letter
+then its effect is not in place so you get an ordinary space.  For how
+to adjust to this second case, for instance if an abbreviation does not
+end in a capital letter, *note \(SPACE) and \@::.
 
 * Menu:
 
@@ -8143,7 +8144,7 @@
      \end{document}
 
 
-File: latex2e.info,  Node: Boxes,  Next: Special insertions,  Prev: Spaces,  Up: Top
+File: latex2e.info,  Node: Boxes,  Next: Color,  Prev: Spaces,  Up: Top
 
 20 Boxes
 ********
@@ -8192,7 +8193,7 @@
 dimension), and positioning with the optional POSITION argument.
 
    Both commands produce a rule of thickness '\fboxrule' (default
-'.4pt'), and leave a space of '\fboxsep' (default '3pt') between the
+'0.4pt'), and leave a space of '\fboxsep' (default '3pt') between the
 rule and the contents of the box.
 
    *Note \framebox (picture)::, for the '\framebox' command in the
@@ -8207,7 +8208,7 @@
 Synopsis:
 
      \begin{lrbox}{\CMD}
-       TEXT 
+       TEXT
      \end{lrbox}
 
    This is the environment form of *note '\sbox': \sbox.
@@ -8352,9 +8353,295 @@
 a '\savebox' command (*note \savebox::).
 
 
-File: latex2e.info,  Node: Special insertions,  Next: Splitting the input,  Prev: Boxes,  Up: Top
+File: latex2e.info,  Node: Color,  Next: Special insertions,  Prev: Boxes,  Up: Top
 
-21 Special insertions
+21 Color
+********
+
+You can add color to text, rules, etc.  You can also have color in a box
+or on an entire page and write text on top of it.
+
+   Color support comes as an additional package.  So all the commands
+below will only work if your document preamble contains
+'\usepackage{color}', that brings in the standard package.
+
+   Many other packages also supplement LaTeX's color abilities.
+Particularly worth mentioning is 'xcolor', which is widely used and
+significantly extends the capabilities described here, including adding
+'HTML' and 'Hsb' color models.
+
+* Menu:
+
+* Color package options::       Options when you load the standard package.
+* Color models::                How colors are represented.
+* Commands::                    The available commands.
+
+
+File: latex2e.info,  Node: Color package options,  Next: Color models,  Up: Color
+
+21.1 Color package options
+==========================
+
+Synopsis (must be in the document preamble):
+
+     \usepackage[COMMA-SEPARATED OPTION LIST]{color}
+
+   When you load the 'color' package there are two kinds of available
+options.
+
+   The first specifies the "printer driver".  LaTeX doesn't contain
+information about different output systems but instead depends on
+information stored in a file.  Normally you should not specify the
+driver option in the document, and instead rely on your system's
+default.  One advantage of this is that it makes the document portable
+across systems.  For completeness we include a list of the drivers.  The
+currently relevant ones are: 'dvipdfmx', 'dvips', 'dvisvgm', 'luatex',
+'pdftex', 'xetex'.  The two 'xdvi' and 'oztex' are essentially aliases
+for 'dvips' (and 'xdvi' is monochrome).  Ones that should not be used
+for new systems are: 'dvipdf', 'dvipdfm', 'dviwin', 'dvipsone', 'emtex',
+'pctexps', 'pctexwin', 'pctexhp', 'pctex32', 'truetex', 'tcidvi', 'vtex'
+(and 'dviwindo' is an alias for 'dvipsone').
+
+   The second kind of options, beyond the drivers, are below.
+
+'monochrome'
+     Disable the color commands, so that they do not generate errors but
+     do not generate color either.
+
+'dvipsnames'
+     Make available a list of 68 color names that are often used,
+     particularly in legacy documents.  These color names were
+     originally provided by the 'dvips' driver, giving the option name.
+
+'nodvipsnames'
+     Do not load that list of color names, saving LaTeX a tiny amount of
+     memory space.
+
+
+File: latex2e.info,  Node: Color models,  Next: Commands,  Prev: Color package options,  Up: Color
+
+21.2 Color models
+=================
+
+A "color model" is a way of representing colors.  LaTeX's capabilities
+depend on the printer driver.  However, the 'pdftex', 'xetex', and
+'luatex' printer drivers are today by far the most commonly used.  The
+models below work for those drivers.  All but one of these is also
+supported by essentially all other printer drivers used today.
+
+   Note that color combination can be additive or subtractive.  Additive
+mixes colors of light, so that for instance combining full intensities
+of red, green, and blue produces white.  Subtractive mixes pigments,
+such as with inks, so that combining full intensity of cyan, magenta,
+and yellow makes black.
+
+'cmyk'
+     A comma-separated list with four real numbers between 0 and 1,
+     inclusive.  The first number is the intensity of cyan, the second
+     is magenta, and the others are yellow and black.  A number value of
+     0 means minimal intensity, while a 1 is for full intensity.  This
+     model is often used in color printing.  It is a subtractive model.
+
+'gray'
+     A single real number between 0 and 1, inclusive.  The colors are
+     shades of grey.  The number 0 produces black while 1 gives white.
+
+'rgb'
+     A comma-separated list with three real numbers between 0 and 1,
+     inclusive.  The first number is the intensity of the red component,
+     the second is green, and the third the blue.  A number value of 0
+     means that none of that component is added in, while a 1 means full
+     intensity.  This is an additive model.
+
+'RGB'
+     ('pdftex', 'xetex', 'luatex' drivers) A comma-separated list with
+     three integers between 0 and 255, inclusive.  This model is a
+     convenience for using 'rgb' since outside of LaTeX colors are often
+     described in a red-green-blue model using numbers in this range.
+     The values entered here are converted to the 'rgb' model by
+     dividing by 255.
+
+'named'
+     Colors are accessed by name, such as 'PrussianBlue'.  The list of
+     names depends on the driver, but all support the names 'black',
+     'blue', 'cyan', 'green', 'magenta', 'red', 'white', and 'yellow'
+     (See the 'dvipsnames' option in *note Color package options::).
+
+
+File: latex2e.info,  Node: Commands,  Prev: Color models,  Up: Color
+
+21.3 Commands
+=============
+
+These are the commands available with the 'color' package.
+
+* Menu:
+
+* Define colors::            Give a color a name.
+* Colored text::             Text or rules in color.
+* Colored boxes::            A box of color, to write over.
+* Colored pages::            A whole page colored.
+
+
+File: latex2e.info,  Node: Define colors,  Next: Colored text,  Up: Commands
+
+21.3.1 Define colors
+--------------------
+
+Synopsis:
+
+     \definecolor{NAME}{MODEL}{SPECIFICATION}
+
+   Give the name NAME to the color.  For example, after
+'\definecolor{silver}{rgb}{0.75,0.75,0.74}' you can use that color name
+with 'Hi ho, \textcolor{silver}{Silver}!'.
+
+   This example gives the color a more abstract name, so it could change
+and not be misleading.
+
+     \definecolor{logocolor}{RGB}{145,92,131}    % RGB needs pdflatex
+     \newcommand{\logo}{\textcolor{logocolor}{Bob's Big Bagels}}
+
+   Often a document's colors are defined in the preamble, or in the
+class or style, rather than in the document body.
+
+
+File: latex2e.info,  Node: Colored text,  Next: Colored boxes,  Prev: Define colors,  Up: Commands
+
+21.3.2 Colored text
+-------------------
+
+Synopses:
+
+     \textcolor{NAME}{...}
+     \textcolor[COLOR MODEL]{COLOR SPECIFICATION}{...}
+
+   or
+
+     \color{NAME}
+     \color[COLOR MODEL]{SPECIFICATION}
+
+   The affected text gets the color.  This line
+
+     \textcolor{magenta}{My name is Ozymandias, king of kings:} Look on my works, ye Mighty, and despair!
+
+   causes the first half to be in magenta while the rest is in black.
+You can use a color declared with '\definecolor' in exactly the same way
+that we just used the builtin color 'magenta'.
+
+     \definecolor{MidlifeCrisisRed}{rgb}{1.0,0.11,0.0}
+     I'm thinking about getting a \textcolor{MidlifeCrisisRed}{sports car}.
+
+   The two '\textcolor' and '\color' differ in that the first is a
+command form, enclosing the text to be colored as an argument.  Often
+this form is more convenient, or at least more explicit.  The second
+form is a declaration, as in 'The moon is made of {\color{green} green}
+cheese', so it is in effect until the end of the current group or
+environment.  This is sometimes useful when writing macros or as below
+where it colors everything inside the 'center' environment, including
+the vertical and horizontal lines.
+
+     \begin{center} \color{blue}
+       \begin{tabular}{l|r}
+         UL &UR \\ \hline
+         LL &LR
+       \end{tabular}
+     \end{center}
+
+   You can use color in equations.  A document might have
+'\definecolor{highlightcolor}{RGB}{225,15,0}' in the preamble, and then
+contain this equation.
+
+     \begin{equation}
+       \int_a^b \textcolor{highlightcolor}{f'(x)}\,dx=f(b)-f(a)
+     \end{equation}
+
+   Typically the colors used in a document are declared in a class or
+style but sometimes you want a one-off.  Those are the second forms in
+the synopses.
+
+     Colors of \textcolor[rgb]{0.33,0.14,0.47}{Purple} and {\color[rgb]{0.72,0.60,0.37} Gold} for the team
+
+   The format of COLOR SPECIFICATION depends on the color model (*note
+Color models::).  For instance, while 'rgb' takes three numbers, 'gray'
+takes only one.
+
+     The selection was \textcolor[gray]{0.5}{grayed out}.
+
+   Colors inside colors do not combine.  Thus
+
+     \textcolor{green}{kind of \textcolor{blue}{blue}}
+
+   has a final word that is blue, not a combination of blue and green.
+
+
+File: latex2e.info,  Node: Colored boxes,  Next: Colored pages,  Prev: Colored text,  Up: Commands
+
+21.3.3 Colored boxes
+--------------------
+
+Synopses:
+
+     \colorbox{NAME}{...}
+     \colorbox[MODEL NAME]{BOX BACKGROUND COLOR SPECIFICATION}{...}
+
+   or
+
+     \fcolorbox{FRAME COLOR}{BOX BACKGROUND COLOR}{...}
+     \fcolorbox[MODEL NAME]{FRAME COLOR SPECIFICATION}{BOX BACKGROUND COLOR SPECIFICATION}{...}
+
+   Make a box with the stated background color.  The '\fcolorbox'
+command puts a frame around the box.  For instance this
+
+     Name:~\colorbox{cyan}{\makebox[5cm][l]{\strut}}
+
+   makes a cyan-colored box that is five centimeters long and gets its
+depth and height from the '\strut' (so the depth is '-.3\baselineskip'
+and the height is '\baselineskip').  This puts white text on a blue
+background.
+
+     \colorbox{blue}{\textcolor{white}{Welcome to the machine.}}
+
+   The '\fcolorbox' commands use the same parameters as '\fbox' (*note
+\fbox and \framebox::), '\fboxrule' and '\fboxsep', to set the thickness
+of the rule and the boundary between the box interior and the
+surrounding rule.  LaTeX's defaults are '0.4pt' and '3pt', respectively.
+
+   This example changes the thickness of the border to 0.8 points.  Note
+that it is surrounded by curly braces so that the change ends at the end
+of the second line.
+
+     {\setlength{\fboxrule}{0.8pt}
+     \fcolorbox{black}{red}{Under no circumstances turn this knob.}}
+
+
+File: latex2e.info,  Node: Colored pages,  Prev: Colored boxes,  Up: Commands
+
+21.3.4 Colored pages
+--------------------
+
+Synopses:
+
+     \pagecolor{NAME}
+     \pagecolor[COLOR MODEL]{COLOR SPECIFICATION}
+     \nopagecolor
+
+   The first two set the background of the page, and all subsequent
+pages, to the color.  For an explanation of the specification in the
+second form *note Colored text::.  The third returns the background to
+normal, which is a transparent background.  (If that is not supported
+use '\pagecolor{white}', although that will make a white background
+rather than the default transparent background.)
+
+      ...
+     \pagecolor{cyan}
+      ...
+     \nopagecolor
+
+
+File: latex2e.info,  Node: Special insertions,  Next: Splitting the input,  Prev: Color,  Up: Top
+
+22 Special insertions
 *********************
 
 LaTeX provides commands for inserting characters that have a special
@@ -8374,7 +8661,7 @@
 
 File: latex2e.info,  Node: Reserved characters,  Next: Upper and lower case,  Up: Special insertions
 
-21.1 Reserved characters
+22.1 Reserved characters
 ========================
 
 LaTeX sets aside the following characters for special purposes (for
@@ -8408,7 +8695,7 @@
 
 File: latex2e.info,  Node: Upper and lower case,  Next: Symbols by font position,  Prev: Reserved characters,  Up: Special insertions
 
-21.2 Upper and lower case
+22.2 Upper and lower case
 =========================
 
 Synopsis:
@@ -8455,7 +8742,7 @@
 
 File: latex2e.info,  Node: Symbols by font position,  Next: Text symbols,  Prev: Upper and lower case,  Up: Special insertions
 
-21.3 Symbols by font position
+22.3 Symbols by font position
 =============================
 
 You can access any character of the current font using its number with
@@ -8470,7 +8757,7 @@
 
 File: latex2e.info,  Node: Text symbols,  Next: Accents,  Prev: Symbols by font position,  Up: Special insertions
 
-21.4 Text symbols
+22.4 Text symbols
 =================
 
 LaTeX provides commands to generate a number of non-letter symbols in
@@ -8653,7 +8940,7 @@
 
 File: latex2e.info,  Node: Accents,  Next: Additional Latin letters,  Prev: Text symbols,  Up: Special insertions
 
-21.5 Accents
+22.5 Accents
 ============
 
 LaTeX has wide support for many of the world's scripts and languages,
@@ -8752,7 +9039,7 @@
 
 File: latex2e.info,  Node: Additional Latin letters,  Next: \rule,  Prev: Accents,  Up: Special insertions
 
-21.6 Additional Latin letters
+22.6 Additional Latin letters
 =============================
 
 Here are the basic LaTeX commands for inserting letters (beyond A-Z)
@@ -8812,7 +9099,7 @@
 
 File: latex2e.info,  Node: \rule,  Next: \today,  Prev: Additional Latin letters,  Up: Special insertions
 
-21.7 '\rule'
+22.7 '\rule'
 ============
 
 Synopsis:
@@ -8834,7 +9121,7 @@
 
 File: latex2e.info,  Node: \today,  Prev: \rule,  Up: Special insertions
 
-21.8 '\today'
+22.8 '\today'
 =============
 
 The '\today' command produces today's date, in the format 'MONTH DD,
@@ -8859,7 +9146,7 @@
 
 File: latex2e.info,  Node: Splitting the input,  Next: Front/back matter,  Prev: Special insertions,  Up: Top
 
-22 Splitting the input
+23 Splitting the input
 **********************
 
 A large document requires a lot of input.  Rather than putting the whole
@@ -8880,7 +9167,7 @@
 
 File: latex2e.info,  Node: \include,  Next: \includeonly,  Up: Splitting the input
 
-22.1 '\include'
+23.1 '\include'
 ===============
 
 Synopsis:
@@ -8901,7 +9188,7 @@
 
 File: latex2e.info,  Node: \includeonly,  Next: \input,  Prev: \include,  Up: Splitting the input
 
-22.2 '\includeonly'
+23.2 '\includeonly'
 ===================
 
 Synopsis:
@@ -8919,7 +9206,7 @@
 
 File: latex2e.info,  Node: \input,  Prev: \includeonly,  Up: Splitting the input
 
-22.3 '\input'
+23.3 '\input'
 =============
 
 Synopsis:
@@ -8937,7 +9224,7 @@
 
 File: latex2e.info,  Node: Front/back matter,  Next: Letters,  Prev: Splitting the input,  Up: Top
 
-23 Front/back matter
+24 Front/back matter
 ********************
 
 * Menu:
@@ -8949,7 +9236,7 @@
 
 File: latex2e.info,  Node: Tables of contents,  Next: Glossaries,  Up: Front/back matter
 
-23.1 Tables of contents
+24.1 Tables of contents
 =======================
 
 A table of contents is produced with the '\tableofcontents' command.
@@ -8978,7 +9265,7 @@
 
 File: latex2e.info,  Node: \addcontentsline,  Next: \addtocontents,  Up: Tables of contents
 
-23.1.1 '\addcontentsline'
+24.1.1 '\addcontentsline'
 -------------------------
 
 Synopsis:
@@ -9015,7 +9302,7 @@
 
 File: latex2e.info,  Node: \addtocontents,  Prev: \addcontentsline,  Up: Tables of contents
 
-23.1.2 '\addtocontents'
+24.1.2 '\addtocontents'
 -----------------------
 
 The '\addtocontents'{EXT}{TEXT} command adds text (or formatting
@@ -9033,7 +9320,7 @@
 
 File: latex2e.info,  Node: Glossaries,  Next: Indexes,  Prev: Tables of contents,  Up: Front/back matter
 
-23.2 Glossaries
+24.2 Glossaries
 ===============
 
 The command '\makeglossary' enables creating glossaries.
@@ -9051,7 +9338,7 @@
 
 File: latex2e.info,  Node: Indexes,  Prev: Glossaries,  Up: Front/back matter
 
-23.3 Indexes
+24.3 Indexes
 ============
 
 The command '\makeindex' enables creating indexes.  Put this in the
@@ -9094,7 +9381,7 @@
 
 File: latex2e.info,  Node: Letters,  Next: Terminal input/output,  Prev: Front/back matter,  Up: Top
 
-24 Letters
+25 Letters
 **********
 
 Synopsis:
@@ -9190,7 +9477,7 @@
 
 File: latex2e.info,  Node: \address,  Next: \cc,  Up: Letters
 
-24.1 '\address'
+25.1 '\address'
 ===============
 
 Synopsis:
@@ -9219,7 +9506,7 @@
 
 File: latex2e.info,  Node: \cc,  Next: \closing,  Prev: \address,  Up: Letters
 
-24.2 '\cc'
+25.2 '\cc'
 ==========
 
 Synopsis:
@@ -9238,7 +9525,7 @@
 
 File: latex2e.info,  Node: \closing,  Next: \encl,  Prev: \cc,  Up: Letters
 
-24.3 '\closing'
+25.3 '\closing'
 ===============
 
 Synopsis:
@@ -9253,7 +9540,7 @@
 
 File: latex2e.info,  Node: \encl,  Next: \location,  Prev: \closing,  Up: Letters
 
-24.4 '\encl'
+25.4 '\encl'
 ============
 
 Synopsis:
@@ -9271,7 +9558,7 @@
 
 File: latex2e.info,  Node: \location,  Next: \makelabels,  Prev: \encl,  Up: Letters
 
-24.5 '\location'
+25.5 '\location'
 ================
 
 Synopsis:
@@ -9284,7 +9571,7 @@
 
 File: latex2e.info,  Node: \makelabels,  Next: \name,  Prev: \location,  Up: Letters
 
-24.6 '\makelabels'
+25.6 '\makelabels'
 ==================
 
 Synopsis:
@@ -9309,7 +9596,7 @@
 
 File: latex2e.info,  Node: \name,  Next: \opening,  Prev: \makelabels,  Up: Letters
 
-24.7 '\name'
+25.7 '\name'
 ============
 
 Synopsis:
@@ -9322,7 +9609,7 @@
 
 File: latex2e.info,  Node: \opening,  Next: \ps,  Prev: \name,  Up: Letters
 
-24.8 '\opening'
+25.8 '\opening'
 ===============
 
 Synopsis:
@@ -9338,7 +9625,7 @@
 
 File: latex2e.info,  Node: \ps,  Next: \signature,  Prev: \opening,  Up: Letters
 
-24.9 '\ps'
+25.9 '\ps'
 ==========
 
 Synopsis:
@@ -9353,7 +9640,7 @@
 
 File: latex2e.info,  Node: \signature,  Next: \telephone,  Prev: \ps,  Up: Letters
 
-24.10 '\signature'
+25.10 '\signature'
 ==================
 
 Synopsis:
@@ -9385,7 +9672,7 @@
 
 File: latex2e.info,  Node: \telephone,  Prev: \signature,  Up: Letters
 
-24.11 '\telephone'
+25.11 '\telephone'
 ==================
 
 Synopsis:
@@ -9400,7 +9687,7 @@
 
 File: latex2e.info,  Node: Terminal input/output,  Next: Command line,  Prev: Letters,  Up: Top
 
-25 Terminal input/output
+26 Terminal input/output
 ************************
 
 * Menu:
@@ -9411,7 +9698,7 @@
 
 File: latex2e.info,  Node: \typein,  Next: \typeout,  Up: Terminal input/output
 
-25.1 '\typein[CMD]{MSG}'
+26.1 '\typein[CMD]{MSG}'
 ========================
 
 Synopsis:
@@ -9428,7 +9715,7 @@
 
 File: latex2e.info,  Node: \typeout,  Prev: \typein,  Up: Terminal input/output
 
-25.2 '\typeout{MSG}'
+26.2 '\typeout{MSG}'
 ====================
 
 Synopsis:
@@ -9447,7 +9734,7 @@
 
 File: latex2e.info,  Node: Command line,  Next: Document templates,  Prev: Terminal input/output,  Up: Top
 
-26 Command line
+27 Command line
 ***************
 
 The input file specification indicates the file to be formatted; TeX
@@ -9681,6 +9968,7 @@
 * auxiliary file:                        Output files.        (line  33)
 * babel package:                         thebibliography.     (line  29)
 * babel package <1>:                     Accents.             (line   6)
+* background, colored:                   Colored pages.       (line   6)
 * backslash, in text:                    Text symbols.        (line  73)
 * bar, double vertical, in text:         Text symbols.        (line  79)
 * bar, vertical, in text:                Text symbols.        (line  76)
@@ -9703,6 +9991,7 @@
 * bold math:                             Font styles.         (line 130)
 * bold typewriter, avoiding:             description.         (line  34)
 * box, allocating new:                   \newsavebox.         (line   6)
+* box, colored:                          Colored boxes.       (line   6)
 * boxes:                                 Boxes.               (line   6)
 * brace, left, in text:                  Text symbols.        (line  85)
 * brace, right, in text:                 Text symbols.        (line  88)
@@ -9768,6 +10057,19 @@
 * closing letters:                       \closing.            (line   6)
 * closing quote:                         Text symbols.        (line  55)
 * code, typesetting:                     verbatim.            (line   6)
+* color:                                 Color.               (line   6)
+* color <1>:                             Define colors.       (line   6)
+* color <2>:                             Colored text.        (line   6)
+* color <3>:                             Colored boxes.       (line   6)
+* color <4>:                             Colored pages.       (line   6)
+* color models:                          Color models.        (line   6)
+* color package commands:                Commands.            (line   6)
+* color package options:                 Color package options.
+                                                              (line   6)
+* color, define:                         Define colors.       (line   6)
+* colored boxes:                         Colored boxes.       (line   6)
+* colored page:                          Colored pages.       (line   6)
+* colored text:                          Colored text.        (line   6)
 * command line:                          Command line.        (line   6)
 * command syntax:                        LaTeX command syntax.
                                                               (line   6)
@@ -9808,6 +10110,7 @@
 * date, for titlepage:                   \maketitle.          (line  18)
 * date, today's:                         \today.              (line   6)
 * datetime package:                      \today.              (line  22)
+* define color:                          Define colors.       (line   6)
 * defining a new command:                \newcommand & \renewcommand.
                                                               (line   6)
 * defining a new command <1>:            \providecommand.     (line   6)
@@ -10142,6 +10445,8 @@
 * OpenType fonts:                        TeX engines.         (line   6)
 * options, class:                        Class and package commands.
                                                               (line  66)
+* options, color package:                Color package options.
+                                                              (line   6)
 * options, document class:               Document class options.
                                                               (line   6)
 * options, document class <1>:           Class and package structure.
@@ -10209,6 +10514,7 @@
 * page number, cross referencing:        \pageref.            (line   6)
 * page numbering style:                  \pagenumbering.      (line   6)
 * page styles:                           Page styles.         (line   6)
+* page, colored:                         Colored pages.       (line   6)
 * paragraph indentation, in minipage:    minipage.            (line  17)
 * paragraph indentations in quoted text: quotation and quote. (line   6)
 * paragraph indentations in quoted text, omitting: quotation and quote.
@@ -11662,247 +11968,255 @@
 
 
 Tag Table:
-Node: Top1705
-Node: About this document3456
-Node: Overview5316
-Node: Starting and ending6816
-Ref: Starting & ending6951
-Node: Output files7937
-Node: TeX engines10183
-Node: LaTeX command syntax12621
-Node: Environment14455
-Node: Declaration15528
-Node: \makeatletter and \makeatother15914
-Node: \@ifstar18107
-Node: Document classes20936
-Node: Document class options22259
-Node: Additional packages25358
-Node: Class and package construction25989
-Node: Class and package structure27441
-Node: Class and package commands29735
-Node: Fonts47260
-Ref: Typefaces47363
-Node: Font styles47691
-Node: Font sizes52120
-Node: Low-level font commands53351
-Node: Layout58458
-Node: \onecolumn58956
-Node: \twocolumn59287
-Node: \flushbottom63682
-Node: \raggedbottom64782
-Node: Page layout parameters65318
-Node: Floats71016
-Node: Sectioning77481
-Ref: Sectioning/secnumdepth78802
-Node: \@startsection79212
-Ref: \@startsection/name80484
-Ref: \@startsection/level80944
-Ref: \@startsection/indent82015
-Ref: \@startsection/beforeskip82278
-Ref: \@startsection/afterskip83799
-Ref: \@startsection/style85110
-Node: Cross references88946
-Node: \label90812
-Node: \pageref92359
-Node: \ref93029
-Node: Environments93718
-Node: abstract95721
-Node: array97310
-Node: center99568
-Node: \centering101209
-Node: description102581
-Node: displaymath104768
-Node: document106546
-Node: \AtBeginDocument106976
-Node: \AtEndDocument107600
-Node: enumerate108244
-Node: eqnarray111041
-Node: equation113095
-Node: figure113613
-Node: filecontents115425
-Node: flushleft117178
-Node: \raggedright117671
-Node: flushright118230
-Node: \raggedleft118728
-Node: itemize119285
-Node: letter122786
-Node: list123024
-Node: \item134355
-Node: trivlist135608
-Node: math137136
-Node: minipage137442
-Node: picture138634
-Node: \circle142929
-Node: \makebox (picture)143272
-Node: \framebox (picture)143978
-Node: \dashbox144468
-Node: \frame144991
-Node: \line145317
-Node: \linethickness145775
-Node: \thicklines146196
-Node: \thinlines146506
-Node: \multiput146808
-Node: \oval147175
-Node: \put147896
-Node: \shortstack148187
-Node: \vector148661
-Node: quotation and quote148975
-Node: tabbing150182
-Node: table156120
-Node: tabular157547
-Node: \multicolumn164755
-Node: \vline168640
-Node: \cline169985
-Node: \hline170669
-Node: thebibliography171352
-Node: \bibitem172966
-Node: \cite173724
-Node: \nocite174243
-Node: Using BibTeX174531
-Node: theorem176040
-Node: titlepage176426
-Node: verbatim177716
-Node: \verb178355
-Node: verse178905
-Node: Line breaking179399
-Node: \\180496
-Node: \obeycr & \restorecr181534
-Node: \newline181936
-Node: \- (hyphenation)182770
-Node: \discretionary183385
-Node: \fussy183677
-Node: \sloppy184067
-Node: \hyphenation184394
-Node: \linebreak & \nolinebreak185019
-Node: Page breaking185671
-Node: \cleardoublepage186279
-Node: \clearpage186708
-Node: \newpage187005
-Node: \enlargethispage187236
-Node: \pagebreak & \nopagebreak187763
-Node: Footnotes188457
-Node: \footnote189711
-Node: \footnotemark191507
-Node: \footnotetext192751
-Node: Footnotes in a table193241
-Node: Footnotes in section headings195098
-Node: Footnotes of footnotes195954
-Node: Multiple reference to footnotes196721
-Node: Footnote parameters197579
-Node: Definitions198329
-Node: \newcommand & \renewcommand199206
-Node: \providecommand203042
-Node: \newcounter203703
-Node: \newlength204674
-Node: \newsavebox205321
-Node: \newenvironment & \renewenvironment205932
-Node: \newtheorem210292
-Node: \newfont213781
-Node: \protect215346
-Node: \ignorespaces & \ignorespacesafterend217732
-Node: Counters220482
-Node: \alph \Alph \arabic \roman \Roman \fnsymbol222082
-Node: \usecounter224154
-Node: \value224986
-Node: \setcounter225929
-Node: \addtocounter226415
-Node: \refstepcounter226880
-Node: \stepcounter227538
-Node: \day \month \year227880
-Node: Lengths228425
-Node: Units of length230215
-Node: \setlength231709
-Node: \addtolength232113
-Node: \settodepth232431
-Node: \settoheight232722
-Node: \settowidth233019
-Node: Predefined lengths233327
-Node: Making paragraphs233842
-Node: \indent234414
-Node: \noindent234876
-Node: \parskip235385
-Node: Marginal notes235643
-Node: Math formulas237455
-Node: Subscripts & superscripts239239
-Node: Math symbols240577
-Node: Math functions265907
-Node: Math accents266850
-Node: Spacing in math mode267822
-Node: Math miscellany269289
-Node: Modes271839
-Node: \ensuremath273679
-Node: Page styles274595
-Node: \maketitle275089
-Node: \pagenumbering276159
-Node: \pagestyle276655
-Node: \thispagestyle277796
-Node: Spaces278102
-Node: \hspace278972
-Node: \hfill279927
-Node: \spacefactor280319
-Node: \(SPACE) and \@283025
-Ref: \AT283168
-Node: \frenchspacing284645
-Node: \normalsfcodes285261
-Node: \(SPACE) after control sequence285450
-Node: \thinspace286361
-Node: \/286681
-Node: \hrulefill \dotfill287863
-Node: \addvspace288856
-Node: \bigskip \medskip \smallskip289902
-Node: \vfill290794
-Node: \vspace291663
-Node: Boxes292656
-Node: \mbox293381
-Node: \fbox and \framebox293668
-Node: lrbox294471
-Node: \makebox294830
-Node: \parbox295550
-Node: \raisebox297118
-Node: \savebox297715
-Node: \sbox298130
-Node: \usebox298579
-Node: Special insertions298840
-Node: Reserved characters299641
-Node: Upper and lower case300842
-Node: Symbols by font position302757
-Node: Text symbols303377
-Node: Accents306825
-Node: Additional Latin letters309367
-Ref: Non-English characters309538
-Node: \rule310555
-Node: \today310984
-Node: Splitting the input311738
-Node: \include312502
-Node: \includeonly313093
-Node: \input313606
-Node: Front/back matter314101
-Node: Tables of contents314306
-Node: \addcontentsline315367
-Node: \addtocontents316385
-Node: Glossaries316918
-Node: Indexes317437
-Node: Letters319070
-Node: \address322748
-Node: \cc323618
-Node: \closing324036
-Node: \encl324347
-Node: \location324762
-Node: \makelabels325031
-Node: \name326032
-Node: \opening326262
-Node: \ps326602
-Node: \signature326891
-Node: \telephone327983
-Node: Terminal input/output328348
-Node: \typein328613
-Node: \typeout329198
-Node: Command line329821
-Node: Document templates330773
-Node: beamer template331180
-Node: book template331831
-Node: tugboat template332199
-Node: Concept Index334563
-Node: Command Index392345
+Node: Top1702
+Node: About this document3509
+Node: Overview5369
+Node: Starting and ending6869
+Ref: Starting & ending7004
+Node: Output files7990
+Node: TeX engines10236
+Node: LaTeX command syntax12674
+Node: Environment14508
+Node: Declaration15581
+Node: \makeatletter and \makeatother15967
+Node: \@ifstar18160
+Node: Document classes20989
+Node: Document class options22312
+Node: Additional packages25411
+Node: Class and package construction26042
+Node: Class and package structure27494
+Node: Class and package commands29788
+Node: Fonts47313
+Ref: Typefaces47416
+Node: Font styles47744
+Node: Font sizes52173
+Node: Low-level font commands53404
+Node: Layout58511
+Node: \onecolumn59009
+Node: \twocolumn59340
+Node: \flushbottom63735
+Node: \raggedbottom64835
+Node: Page layout parameters65371
+Node: Floats71069
+Node: Sectioning77534
+Ref: Sectioning/secnumdepth78855
+Node: \@startsection79265
+Ref: \@startsection/name80537
+Ref: \@startsection/level80997
+Ref: \@startsection/indent82068
+Ref: \@startsection/beforeskip82331
+Ref: \@startsection/afterskip83852
+Ref: \@startsection/style85163
+Node: Cross references88999
+Node: \label90865
+Node: \pageref92412
+Node: \ref93082
+Node: Environments93771
+Node: abstract95774
+Node: array97363
+Node: center99621
+Node: \centering101262
+Node: description102634
+Node: displaymath104821
+Node: document106599
+Node: \AtBeginDocument107029
+Node: \AtEndDocument107653
+Node: enumerate108297
+Node: eqnarray111094
+Node: equation113148
+Node: figure113666
+Node: filecontents115478
+Node: flushleft117231
+Node: \raggedright117724
+Node: flushright118283
+Node: \raggedleft118781
+Node: itemize119338
+Node: letter122839
+Node: list123077
+Node: \item134410
+Node: trivlist135663
+Node: math137191
+Node: minipage137497
+Node: picture138689
+Node: \circle142984
+Node: \makebox (picture)143327
+Node: \framebox (picture)144033
+Node: \dashbox144523
+Node: \frame145046
+Node: \line145372
+Node: \linethickness145830
+Node: \thicklines146251
+Node: \thinlines146561
+Node: \multiput146863
+Node: \oval147230
+Node: \put147951
+Node: \shortstack148242
+Node: \vector148716
+Node: quotation and quote149030
+Node: tabbing150237
+Node: table156175
+Node: tabular157602
+Node: \multicolumn164810
+Node: \vline168695
+Node: \cline170040
+Node: \hline170724
+Node: thebibliography171407
+Node: \bibitem173021
+Node: \cite173779
+Node: \nocite174298
+Node: Using BibTeX174586
+Node: theorem176095
+Node: titlepage176481
+Node: verbatim177771
+Node: \verb178410
+Node: verse178960
+Node: Line breaking179454
+Node: \\180551
+Node: \obeycr & \restorecr181589
+Node: \newline181991
+Node: \- (hyphenation)182825
+Node: \discretionary183440
+Node: \fussy183732
+Node: \sloppy184122
+Node: \hyphenation184449
+Node: \linebreak & \nolinebreak185074
+Node: Page breaking185726
+Node: \cleardoublepage186334
+Node: \clearpage186763
+Node: \newpage187060
+Node: \enlargethispage187291
+Node: \pagebreak & \nopagebreak187818
+Node: Footnotes188512
+Node: \footnote189766
+Node: \footnotemark191562
+Node: \footnotetext192806
+Node: Footnotes in a table193296
+Node: Footnotes in section headings195153
+Node: Footnotes of footnotes196009
+Node: Multiple reference to footnotes196776
+Node: Footnote parameters197634
+Node: Definitions198384
+Node: \newcommand & \renewcommand199261
+Node: \providecommand203097
+Node: \newcounter203758
+Node: \newlength204729
+Node: \newsavebox205376
+Node: \newenvironment & \renewenvironment205987
+Node: \newtheorem210347
+Node: \newfont213836
+Node: \protect215401
+Node: \ignorespaces & \ignorespacesafterend217787
+Node: Counters220537
+Node: \alph \Alph \arabic \roman \Roman \fnsymbol222137
+Node: \usecounter224209
+Node: \value225041
+Node: \setcounter225984
+Node: \addtocounter226470
+Node: \refstepcounter226935
+Node: \stepcounter227593
+Node: \day \month \year227935
+Node: Lengths228480
+Node: Units of length230270
+Node: \setlength231764
+Node: \addtolength232168
+Node: \settodepth232486
+Node: \settoheight232777
+Node: \settowidth233074
+Node: Predefined lengths233382
+Node: Making paragraphs233897
+Node: \indent234469
+Node: \noindent234931
+Node: \parskip235440
+Node: Marginal notes235698
+Node: Math formulas237510
+Node: Subscripts & superscripts239294
+Node: Math symbols240632
+Node: Math functions265962
+Node: Math accents266905
+Node: Spacing in math mode267877
+Node: Math miscellany269344
+Node: Modes271894
+Node: \ensuremath273734
+Node: Page styles274650
+Node: \maketitle275144
+Node: \pagenumbering276214
+Node: \pagestyle276710
+Node: \thispagestyle277851
+Node: Spaces278157
+Node: \hspace279027
+Node: \hfill279982
+Node: \spacefactor280374
+Node: \(SPACE) and \@283086
+Ref: \AT283229
+Node: \frenchspacing284706
+Node: \normalsfcodes285322
+Node: \(SPACE) after control sequence285511
+Node: \thinspace286422
+Node: \/286742
+Node: \hrulefill \dotfill287924
+Node: \addvspace288917
+Node: \bigskip \medskip \smallskip289963
+Node: \vfill290855
+Node: \vspace291724
+Node: Boxes292717
+Node: \mbox293429
+Node: \fbox and \framebox293716
+Node: lrbox294520
+Node: \makebox294878
+Node: \parbox295598
+Node: \raisebox297166
+Node: \savebox297763
+Node: \sbox298178
+Node: \usebox298627
+Node: Color298888
+Node: Color package options299742
+Node: Color models301384
+Node: Commands303683
+Node: Define colors304068
+Node: Colored text304773
+Node: Colored boxes307138
+Node: Colored pages308567
+Node: Special insertions309250
+Node: Reserved characters310051
+Node: Upper and lower case311252
+Node: Symbols by font position313167
+Node: Text symbols313787
+Node: Accents317235
+Node: Additional Latin letters319777
+Ref: Non-English characters319948
+Node: \rule320965
+Node: \today321394
+Node: Splitting the input322148
+Node: \include322912
+Node: \includeonly323503
+Node: \input324016
+Node: Front/back matter324511
+Node: Tables of contents324716
+Node: \addcontentsline325777
+Node: \addtocontents326795
+Node: Glossaries327328
+Node: Indexes327847
+Node: Letters329480
+Node: \address333158
+Node: \cc334028
+Node: \closing334446
+Node: \encl334757
+Node: \location335172
+Node: \makelabels335441
+Node: \name336442
+Node: \opening336672
+Node: \ps337012
+Node: \signature337301
+Node: \telephone338393
+Node: Terminal input/output338758
+Node: \typein339023
+Node: \typeout339608
+Node: Command line340231
+Node: Document templates341183
+Node: beamer template341590
+Node: book template342241
+Node: tugboat template342609
+Node: Concept Index344973
+Node: Command Index404124
 
 End Tag Table

Modified: trunk/latex2e.pdf
===================================================================
(Binary files differ)

Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi	2018-02-24 23:07:27 UTC (rev 608)
+++ trunk/latex2e.texi	2018-03-04 23:44:29 UTC (rev 609)
@@ -2,7 +2,7 @@
 @c $Id$
 @comment %**start of header (This is for running Texinfo on a region.)
 @setfilename latex2e.info
- at set UPDATED February 2018
+ at set UPDATED March 2018
 @include common.texi
 @settitle @LaTeX{}2e unofficial reference manual (@value{UPDATED})
 @comment %**end of header (This is for running Texinfo on a region.)
@@ -11,7 +11,6 @@
 @c xx but latex2e stuff is missing.
 @c xx random list of a few of the missing items is at the end of this file
 @c
- at c xx color (include info from clsguide.pdf)
 @c xx ending a run with errors
 @c xx ctan, distributions, components of TeX
 @c xx classes and packages -- required, additional, useful; oberdiek; fonts
@@ -151,6 +150,7 @@
 * Page styles::			Various styles of page layout.
 * Spaces::		        Horizontal and vertical space.
 * Boxes::                       Making boxes.
+* Color::                       Defining and using colors.
 * Special insertions::		Inserting reserved and special characters.
 * Splitting the input::		Dealing with big files by splitting.
 * Front/back matter::		Tables of contents, glossaries, indexes.
@@ -4194,7 +4194,7 @@
 
 @table @var
 @item v0
- at code{\topsep}+ at code{\parskip} if
+ at math{@code{@\topsep} + @code{@\parskip}} if
 the list environment does not start a new paragraph, and
 @code{\topsep}+ at code{\parskip}+ at code{\partopsep} if it does
 
@@ -9532,11 +9532,11 @@
 change the @LaTeX{}'s default behavior.
 
 After @LaTeX{} places each character, or rule or other box, it sets a
-parameter called the space factor.  If the next thing in the input is a
-space then this parameter affects how much of a horizontal gap @LaTeX{}
-will have it span.  (This gap is not a character; it is called
+parameter called the @dfn{space factor}.  If the next thing in the input
+is a space then this parameter affects how much of a horizontal gap
+ at LaTeX{} will have it span.  (This gap is not a character; it is called
 @dfn{interword glue}.)  A larger space factor means that the glue gap
-can stretch more or shrink more.
+can stretch more and shrink less.
 
 Normally, the space factor is 1000; this value is in effect following
 most characters, and any non-character box or math formula.  But it is
@@ -9557,15 +9557,15 @@
 lower-case letter, intersentence spacing has a fixed extra space added
 and then the space can stretch 3 times as much and shrink 1/3 as much.
 
-The rules for how @TeX{} uses space factors is even more complex because
-they play two more roles.  In practice, there are two consequences.
-First, if a period or other punctuation is followed by a close
-parenthesis or close double quote then its effect is still in place,
-that is, the following glue will have increased stretch and shrink.
-Second, conversely, if punctuation comes after a capital letter then its
-effect is not in place so you get an ordinary space.  For how to adjust
-to this second case, for instance if an abbreviation does not end in a
-capital letter, @pxref{\(SPACE) and \@@}.
+The rules for how @TeX{} uses space factors are even more complex
+because they play two more roles.  In practice, there are two
+consequences.  First, if a period or other punctuation is followed by a
+close parenthesis or close double quote then its effect is still in
+place, that is, the following glue will have increased stretch and
+shrink.  Second, conversely, if punctuation comes after a capital letter
+then its effect is not in place so you get an ordinary space.  For how
+to adjust to this second case, for instance if an abbreviation does not
+end in a capital letter, @pxref{\(SPACE) and \@@}.
 
 
 @menu
@@ -9931,8 +9931,8 @@
 @findex \fboxrule
 @findex \fboxsep
 Both commands produce a rule of thickness @code{\fboxrule} (default
- at samp{.4pt}), and leave a space of @code{\fboxsep} (default
- at samp{3pt}) between the rule and the contents of the box.
+ at code{0.4pt}), and leave a space of @code{\fboxsep} (default @code{3pt})
+between the rule and the contents of the box.
 
 @xref{\framebox (picture)}, for the @code{\framebox} command in the
 @code{picture} environment.
@@ -10117,6 +10117,355 @@
 @var{\boxcmd} by a @code{\savebox} command (@pxref{\savebox}).
 
 
+ at node Color
+ at chapter Color
+
+ at cindex color
+
+You can add color to text, rules, etc.  You can also have color in a box
+or on an entire page and write text on top of it.
+
+Color support comes as an additional package.  So all the commands below
+will only work if your document preamble contains
+ at code{\usepackage@{color@}}, that brings in the standard package.
+
+Many other packages also supplement @LaTeX{}'s color abilities.
+Particularly worth mentioning is @file{xcolor}, which is widely used and
+significantly extends the capabilities described here, including adding
+ at samp{HTML} and @samp{Hsb} color models.
+
+ at menu
+* Color package options::       Options when you load the standard package.
+* Color models::                How colors are represented.
+* Commands::                    The available commands.
+ at end menu
+
+
+ at node Color package options
+ at section Color package options
+
+ at cindex color package options
+ at cindex options, color package
+
+Synopsis (must be in the document preamble):
+
+ at example
+\usepackage[@var{comma-separated option list}]@{color@}
+ at end example
+
+When you load the @file{color} package there are two kinds of available
+options.
+
+The first specifies the @dfn{printer driver}.  @LaTeX{} doesn't contain
+information about different output systems but instead depends on
+information stored in a file.  Normally you should not specify the
+driver option in the document, and instead rely on your system's
+default. One advantage of this is that it makes the document portable
+across systems.  For completeness we include a list of the drivers.  The
+currently relevant ones are: @file{dvipdfmx}, @file{dvips},
+ at file{dvisvgm}, @file{luatex}, @file{pdftex}, @file{xetex}.  The two
+ at file{xdvi} and @file{oztex} are essentially aliases for @file{dvips}
+(and @file{xdvi} is monochrome).  Ones that should not be used for new
+systems are: @file{dvipdf}, @file{dvipdfm}, @file{dviwin},
+ at file{dvipsone}, @file{emtex}, @file{pctexps}, @file{pctexwin},
+ at file{pctexhp}, @file{pctex32}, @file{truetex}, @file{tcidvi},
+ at file{vtex} (and @file{dviwindo} is an alias for @file{dvipsone}).
+
+The second kind of options, beyond the drivers, are below.
+
+ at table @code
+
+ at item monochrome
+Disable the color commands, so that they do not generate errors but do
+not generate color either.
+
+ at item dvipsnames
+Make available a list of 68 color names that are often used,
+particularly in legacy documents.  These color names were originally
+provided by the @file{dvips} driver, giving the option name.
+
+ at item nodvipsnames
+Do not load that list of color names, saving @LaTeX{} a tiny amount of
+memory space.
+
+ at end table
+
+
+ at node Color models
+ at section Color models
+
+ at cindex color models
+
+A @dfn{color model} is a way of representing colors.  @LaTeX{}'s
+capabilities depend on the printer driver.  However, the @file{pdftex},
+ at file{xetex}, and @file{luatex} printer drivers are today by far the
+most commonly used.  The models below work for those drivers.  All but
+one of these is also supported by essentially all other printer drivers
+used today.
+
+Note that color combination can be additive or subtractive.  Additive
+mixes colors of light, so that for instance combining full intensities
+of red, green, and blue produces white.  Subtractive mixes pigments,
+such as with inks, so that combining full intensity of cyan, magenta,
+and yellow makes black.
+
+ at table @code
+ at item cmyk
+A comma-separated list with four real numbers between 0 and 1,
+inclusive.  The first number is the intensity of cyan, the second is
+magenta, and the others are yellow and black.  A number value of 0 means
+minimal intensity, while a 1 is for full intensity.  This model is often
+used in color printing.  It is a subtractive model.
+
+ at item gray
+A single real number between 0 and 1, inclusive.  The colors are shades
+of grey.  The number 0 produces black while 1 gives white.
+
+ at item rgb
+A comma-separated list with three real numbers between 0 and 1,
+inclusive.  The first number is the intensity of the red component, the
+second is green, and the third the blue.  A number value of 0 means that
+none of that component is added in, while a 1 means full intensity.
+This is an additive model.
+
+ at item RGB
+(@file{pdftex}, @file{xetex}, @file{luatex} drivers) A comma-separated
+list with three integers between 0 and 255, inclusive.  This model is a
+convenience for using @code{rgb} since outside of @LaTeX{} colors are
+often described in a red-green-blue model using numbers in this range.
+The values entered here are converted to the @code{rgb} model by
+dividing by 255.
+
+ at item named
+Colors are accessed by name, such as @samp{PrussianBlue}.  The list of
+names depends on the driver, but all support the names @samp{black},
+ at samp{blue}, @samp{cyan}, @samp{green}, @samp{magenta}, @samp{red},
+ at samp{white}, and @samp{yellow} (See the @code{dvipsnames} option in
+ at ref{Color package options}).
+
+ at end table
+
+
+ at node Commands
+ at section Commands
+
+ at cindex color package commands
+
+These are the commands available with the @file{color} package.
+
+ at menu
+* Define colors::            Give a color a name.
+* Colored text::             Text or rules in color.
+* Colored boxes::            A box of color, to write over.
+* Colored pages::            A whole page colored.
+ at end menu
+
+
+ at node Define colors
+ at subsection Define colors
+
+ at cindex color
+ at cindex define color
+ at cindex color, define 
+
+Synopsis:
+
+ at example
+\definecolor@{@var{name}@}@{@var{model}@}@{@var{specification}@}
+ at end example
+
+Give the name @var{name} to the color.  For example, after
+ at code{\definecolor@{silver@}@{rgb@}@{0.75,0.75,0.74@}} you can use that
+color name with @code{Hi ho, \textcolor@{silver@}@{Silver@}!}.
+
+This example gives the color a more abstract name, so it could change and
+not be misleading.
+
+ at example
+\definecolor@{logocolor@}@{RGB@}@{145,92,131@}    % RGB needs pdflatex
+\newcommand@{\logo@}@{\textcolor@{logocolor@}@{Bob's Big Bagels@}@}
+ at end example
+
+Often a document's colors are defined in the preamble, or in the class
+or style, rather than in the document body.
+
+
+ at node Colored text
+ at subsection Colored text
+
+ at cindex color
+ at cindex colored text
+
+Synopses:
+
+ at example
+\textcolor@{@var{name}@}@{...@}
+\textcolor[@var{color model}]@{@var{color specification}@}@{...@}
+ at end example
+
+or
+
+ at example
+\color@{@var{name}@}
+\color[@var{color model}]@{@var{specification}@}
+ at end example
+
+The affected text gets the color.  This line
+
+ at example
+\textcolor@{magenta@}@{My name is Ozymandias, king of kings:@} Look on my works, ye Mighty, and despair!
+ at end example
+
+causes the first half to be in magenta while the rest is in black.  You
+can use a color declared with @code{\definecolor} in exactly the same
+way that we just used the builtin color @samp{magenta}.
+
+ at example
+\definecolor@{MidlifeCrisisRed@}@{rgb@}@{1.0,0.11,0.0@}
+I'm thinking about getting a \textcolor@{MidlifeCrisisRed@}@{sports car@}.
+ at end example
+
+The two @code{\textcolor} and @code{\color} differ in that the first is
+a command form, enclosing the text to be colored as an argument.  Often
+this form is more convenient, or at least more explicit.  The second
+form is a declaration, as in @code{The moon is made of @{\color@{green@}
+green@} cheese}, so it is in effect until the end of the current group
+or environment.  This is sometimes useful when writing macros or as
+below where it colors everything inside the @code{center} environment,
+including the vertical and horizontal lines.
+
+ at example
+\begin@{center@} \color@{blue@}
+  \begin@{tabular@}@{l|r@}
+    UL &UR \\ \hline
+    LL &LR 
+  \end@{tabular@}
+\end@{center@}
+ at end example
+
+You can use color in equations.  A document might have
+ at code{\definecolor@{highlightcolor@}@{RGB@}@{225,15,0@}} in the
+preamble, and then contain this equation.
+
+ at example
+\begin@{equation@}
+  \int_a^b \textcolor@{highlightcolor@}@{f'(x)@}\,dx=f(b)-f(a)
+\end@{equation@}
+ at end example
+
+Typically the colors used in a document are declared in a class or style
+but sometimes you want a one-off.  Those are the second forms in the
+synopses.
+
+ at example
+Colors of \textcolor[rgb]@{0.33,0.14,0.47@}@{Purple@} and @{\color[rgb]@{0.72,0.60,0.37@} Gold@} for the team
+ at end example
+
+The format of @var{color specification } depends on the color model
+(@pxref{Color models}).  For instance, while @code{rgb} takes three
+numbers, @code{gray} takes only one.
+
+ at example
+The selection was \textcolor[gray]@{0.5@}@{grayed out@}.
+ at end example
+
+Colors inside colors do not combine.  Thus
+
+ at example
+\textcolor@{green@}@{kind of \textcolor@{blue@}@{blue@}@}
+ at end example
+
+has a final word that is blue, not a combination of blue and green.
+
+ at c xx address coloring a line of a table?
+
+
+ at node Colored boxes
+ at subsection Colored boxes
+
+ at cindex color
+ at cindex colored boxes
+ at cindex box, colored
+
+Synopses:
+
+ at example
+\colorbox@{@var{name}@}@{...@}
+\colorbox[@var{model name}]@{@var{box background color specification}@}@{...@}
+ at end example
+
+or
+
+ at example
+\fcolorbox@{@var{frame color}@}@{@var{box background color}@}@{...@}
+\fcolorbox[@var{model name}]@{@var{frame color specification}@}@{@var{box background color specification}@}@{...@}
+ at end example
+
+Make a box with the stated background color.  The @code{\fcolorbox}
+command puts a frame around the box.  For instance this
+
+ at example
+Name:~\colorbox@{cyan@}@{\makebox[5cm][l]@{\strut@}@}
+ at end example
+
+makes a cyan-colored box that is five centimeters long and gets its
+depth and height from the @code{\strut} (so the depth is
+ at code{-.3\baselineskip} and the height is @code{\baselineskip}).  This
+puts white text on a blue background.
+
+ at example
+\colorbox@{blue@}@{\textcolor@{white@}@{Welcome to the machine.@}@}
+ at end example
+
+The @code{\fcolorbox} commands use the same parameters as @code{\fbox}
+(@pxref{\fbox and \framebox}), @code{\fboxrule} and @code{\fboxsep}, to
+set the thickness of the rule and the boundary between the box interior
+and the surrounding rule.  @LaTeX{}'s defaults are @code{0.4pt} and
+ at code{3pt}, respectively.
+
+This example changes the thickness of the border to 0.8 points.  Note
+that it is surrounded by curly braces so that the change ends at the end
+of the second line.
+
+ at example
+@{\setlength@{\fboxrule@}@{0.8pt@}
+\fcolorbox@{black@}@{red@}@{Under no circumstances turn this knob.@}@}
+ at end example
+
+
+ at node Colored pages
+ at subsection Colored pages
+
+ at cindex color
+ at cindex colored page
+ at cindex page, colored 
+ at cindex background, colored
+
+Synopses:
+
+ at example
+\pagecolor@{@var{name}@}
+\pagecolor[@var{color model}]@{@var{color specification}@}
+\nopagecolor
+ at end example
+
+The first two set the background of the page, and all subsequent pages,
+to the color.  For an explanation of the specification in the second
+form @pxref{Colored text}.  The third returns the background to normal,
+which is a transparent background.  (If that is not supported use
+ at code{\pagecolor@{white@}}, although that will make a white background
+rather than the default transparent background.)
+
+ at example
+ ...
+\pagecolor@{cyan@}
+ ...
+\nopagecolor
+ at end example
+
+ at c ===========================================
+
+
 @node Special insertions
 @chapter Special insertions
 



More information about the latexrefman-commits mailing list