Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: colors in smcl


From   "Martin Weiss" <Martin.Weiss1@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: colors in smcl
Date   Wed, 24 Dec 2008 10:34:03 +0100

Ashim,

what you are saying tells me that you are using the black default background for your results windows. As -h smcl- points out, you cannot rely on that being the case for everybody. Still, when I switch to the black background for both the results and the viewer window (see Edit- General Preferences), I do get both colors rendered correctly.

********
log using newlog, name(mylog) replace
di " { red : Hello } "
di " { green : Hello } "
di in red "Hello"
di in green "Hello"
log close mylog
view newlog.smcl
********

Best,
Martin
-------- Original-Nachricht --------
> Datum: Wed, 24 Dec 2008 11:33:14 +0530
> Von: "Ashim Kapoor" <ashimkapoor@gmail.com>
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: colors in smcl

> Hello everyone,
> 
> I am trying to put colors in my output.
> 
> When I do --> di " { red : Hello } " and then -- > di " { green : Hello }
> "
> 
> My text box ie the results window DOES show me colors , but when I log
> the results to a smcl file , I get ONLY red color. I do not get any
> green color. Any tips ?
> 
> Thank you,
> Ashim.
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

-- 
Martin Weiss
Hackersteigle 3
72076 Tübingen
00497071/793535
00491784597218

Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index