Can you export this to LaTeX and post the output here? Trevor Nicholls wrote: > This has got to be a LyX or LaTeX FAQ but Google isn't helping me much and > my LaTeX books haven't arrived yet... > > I have set up two character styles, XYZkeyword and XYZvar. They are defined > in an xyz_classes.inc file in my $HOME/.lyx/layouts as per the standard, > like so: > %------------------------------------ > CharStyle XYZvar > LatexType Command > LatexName xyzvar > Preamble > \newcommand{\xyzvar}[1]{ > \textit{#1} > } > EndPreamble > Font > Shape Italic > EndFont > LabelFont > Color blue > EndFont > End > > CharStyle XYZkeyword > LatexType Command > LatexName xyzkeyword > Preamble > \newcommand{\xyzkeyword}[1]{ > \textbf{#1} > } > EndPreamble > Font > Series Bold > EndFont > LabelFont > Color blue > EndFont > End > %------------------------------------ > > My problem is that when a document containing either of these character > styles is displayed/printed, the vars and keywords are delimited by extra > spaces. So something trivial like > > define filename = "basename.extension" > > where localname, basename and extension are identified in LyX as HCvars, is > displayed as > > define filename = " basename . extension " > > and keywords are similarly treated. > > What do I need to suppress the spaces? > > Cheers > Trevor > > >
-- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto