Search found 5 matches

by jphv
Mon Nov 09, 2009 5:26 pm
Forum: General
Topic: Determine size of words
Replies: 2
Views: 1665

Determine size of words

Thank you very much gmedina for you reply and example!!!

Now I have a beauty title :D
by jphv
Mon Nov 09, 2009 4:32 pm
Forum: General
Topic: Determine size of words
Replies: 2
Views: 1665

Determine size of words

Hello, I want to set a background color in a line, searching I found \colorbox .

\colorbox{i6blue}{Get new frame} paints a boundigbox.

So, I tried: \colorbox{i6blue}{Get new frame\hspace{\textwidth}} but of course I need something else... How determine the size of "Get new frame"?

With the size ...
by jphv
Thu Aug 13, 2009 1:24 pm
Forum: Kile
Topic: colored parameters in user command (\newcommand)
Replies: 3
Views: 4440

colored parameters in user command (\newcommand)

I've never tried this, but there are some instructions here:

http://www.latex-community.org/forum/viewtopic.php?f=20&t=206

(The syntax color-highlighting settings for Kile are based on the editor on which Kile is based, Kate... and you need to edit its rules.)


Yes! Thanks! 8-)
I don't know ...
by jphv
Thu Aug 13, 2009 1:04 pm
Forum: Kile
Topic: Syntax highlighting tweaking for Kile
Replies: 4
Views: 16025

Re: Syntax highlighting tweaking for Kile

Now I can highlight my own commands in latex :D

Thank you very very much!
by jphv
Wed Aug 12, 2009 8:54 pm
Forum: Kile
Topic: colored parameters in user command (\newcommand)
Replies: 3
Views: 4440

colored parameters in user command (\newcommand)

Hello, I don't know how to make this that I help me when I use Kile:

The parameter inside {} get blue in:
\ref{ fig:somelabel }

If I create a new command, when I use it, Kile don't highlight the parameter. Example:
%New command
\newcommand{\verfig}[1]{(\mbox{Fig. \ref{#1}})}

%Use
\verfig{fig ...