Otherschange colors in SW

Information and discussion about other LaTeX editors not listed above
Post Reply
superodge
Posts: 17
Joined: Tue Jun 24, 2008 3:01 pm

change colors in SW

Post by superodge »

Hello there,
I have a question about handling colors (in the pdf document generated) in SW.
1 - How can I change the default black color
2 - how can I only change the color of a sentence leaving the remaining part as default (black)

thank you

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

polla
Posts: 14
Joined: Thu Feb 12, 2009 3:23 pm

change colors in SW

Post by polla »

presumed you have solved your problem by now :D
if not, a very simple way is to load the "color" package, then enter a latex field with the colour you want. The colour of the text will stay like that until you invoke another colour, e.g

Code: Select all

\color{red}
    this text is red
\color{black}
 goes back to black
\color{green}
 and now turns green
If you load xcolor, you have a much wider variety of colours to choose from.
Hope this helps
p
superodge
Posts: 17
Joined: Tue Jun 24, 2008 3:01 pm

Re: change colors in SW

Post by superodge »

thank you !
Post Reply