Am Sonntag, 12. März 2006 19:41 schrieb Martin Vermeer: > On Sun, Mar 12, 2006 at 06:41:40PM +0100, Rainer Dorsch wrote: > > Am Sonntag, 12. März 2006 17:22 schrieb Jose' Matos: > > ... > > > What I tried first (not sure if others would too and if this would be a > > design with high usability): > > > > 1. marking the text and looking for the (non existing) format menu and > > the character submenue there... > > > > 2. marking the text and right clicking to select the character style > > there > > ...bringing up a dialog. Yes, presumably. > > > A few questions/impressions from my first experiements: > > > > 1. Can I get somehow upper case? I assume Up means "not italic" and not > > upper case...if it would, it would not work. > > Yes... there's a key marked "Caps Lock" on your keyboard :-) > > So, no. It's not a font attribute. You can get small caps. > > > 2. > > CharStyle CodeVariable > > LatexType Command > > LatexName cvar > > Font > > Color Blue > > Family Typewriter > > EndFont > > LabelFont > > Shape Up > > Color blue > > EndFont > > End > > > > Seems that "Family Typewriter" has no effect at all. > > Doesn't it? Surprising. Have to look into. > > > 3. Can I get something like > > > > LeftMargin "QPx_" > > LabelType Static > > LabelString "QPx_" > > > > for a command defined as > > > > \newcommand{\QPx}[1]{\MakeUppercase{qp}x\_\MakeTextUppercase{#1}} > > Hmmm... is this a paragraph or character style? Anyway, you want the > latextype to be command, and the latexname, QPx_. And the \newcommand > into the preamble (or the paragraph layout preamble) >
This is a character style, which may be used many times in a paragraph. The result of a latex run looks fine, except that it seems that there is a space between QPx_ and the text of #1. Thanks, Rainer -- Rainer Dorsch Alzentalstr. 28 D-71083 Herrenberg 07032-919495 Icq: 32550367