faqts : Computers : Programming : Languages : Tex : LaTeX

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 8 people (88%) answered Yes
Recently 7 of 8 people (88%) answered Yes

Entry

Latex: PDF: How to get color text in your PDF output?

Mar 30th, 2005 08:32
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 29 March 2005 - 07:30 pm ----------------------

Latex: PDF: How to get color text in your PDF output?

---

Steps: Overview:

 1. -Put the package

      \userpackage[dvips]{color}

     in the header of the document

     (e.g. just before '\begin{document}')

 2. -The text you want to color, you can
     indicate via

      \textcolor{red} {<your text>}

     e.g.

      \textcolor{red} {hello world}

 3. -If you compile this in LaTeX it will
     show in a different grey.

 4. -If you convert this LaTeX document to
     PDF it will show as that color

      e.g.

       a red printed 'hello world'
       in your black text.

---
---

Internet: see also:

---



----------------------------------------------------------------------