Re: Re: Adding current style name to window title or status
- To: mathgroup at smc.vnet.net
- Subject: [mg82479] Re: [mg82461] Re: Adding current style name to window title or status
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 21 Oct 2007 05:10:39 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <fclbec$fi7$1@smc.vnet.net> <200709180446.AAA28915@smc.vnet.net> <ffck97$sk9$1@smc.vnet.net> <200710210214.WAA11589@smc.vnet.net>
- Reply-to: murray at math.umass.edu
OK, understood! Jean-Marc Gulliet wrote: > Murray Eisenberg wrote: > >> I don't understand the syntax of that SetOptions expression, >> specifically the hyphen (or minus sign) after "WindowStatusArea". >> >> Norbert Marxer wrote: >>> On 17 Sep., 09:47, chuck009 <dmili... at comcast.com> wrote: > > <snip> > >>> SetOptions[EvaluationNotebook[],WindowStatusArea- >>>> ToString[StyleDefinitions/.Options[EvaluationNotebook[],StyleDefinitions]]] > > The syntax of the command shown by Norbert is neither mysterious nor > invalid. However, the symbol for a rule "->" has been broken in two > parts, a dash "-" and a greater sign ">", and the unfortunately the > greater sing ">" has been put at the beginning of a new line. This is > very unfortunate indeed, because nearly all newsreaders will interpret a > line starting by a ">" as a quotation. Depending on your newsreader, > such a line can be displayed with a colorful vertical bar. > > SetOptions[EvaluationNotebook[], WindowStatusArea -> > ToString[StyleDefinitions /. Options[EvaluationNotebook[], > StyleDefinitions]]] > > SetOptions[EvaluationNotebook[], Rule[WindowStatusArea, > ToString[StyleDefinitions /. Options[EvaluationNotebook[], > StyleDefinitions]]]] > > Regards, -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Re: Adding current style name to window title or status
- From: Jean-Marc Gulliet <jeanmarc.gulliet@gmail.com>
- Re: Adding current style name to window title or status