Page 1 of 1

Bold character and unwanted space

Posted: Thu Dec 01, 2011 1:48 pm
by 1keenan
Hi all,

I have written this formula:
n=f_j(bold x, bold p, t)d bold x d bold nospace {p}

but I can't understand how to remove the space between the "d" and the "x" or "p" that should be bold becuase they are vectors.
I would like it appears like "dx" but it is "d x"

What to do?

Re: Bold character and unwanted space

Posted: Thu Dec 01, 2011 3:49 pm
by acknak
I hope someone else can prove me wrong; there's no fix for it as far as I know.

Re: Bold character and unwanted space

Posted: Thu Dec 01, 2011 5:42 pm
by 1keenan
NO! :(

Re: Bold character and unwanted space

Posted: Fri Dec 02, 2011 12:47 am
by RGB
This one is slightly better:

Code: Select all

n=f_j(bold x, bold p, t) nospace{d bold x} nospace {d bold p} 

Re: Bold character and unwanted space

Posted: Fri Dec 02, 2011 10:02 am
by 1keenan
you know what?
for "dx" your fix works fine, but for "dp" doesn't change nothing... that's strange.
Anyway thanks for helping. ;)

I would like to remove the huge space between "f" and its subscript "j", I try with nospace{f_j} but it doesn't work.... it's a pity

Re: Bold character and unwanted space

Posted: Fri Dec 02, 2011 1:31 pm
by RGB
1keenan wrote:you know what?
for "dx" your fix works fine, but for "dp" doesn't change nothing... that's strange.
Anyway thanks for helping. ;)

I would like to remove the huge space between "f" and its subscript "j", I try with nospace{f_j} but it doesn't work.... it's a pity
Something like this?
withLaTeX.png
withLaTeX.png (6.9 KiB) Viewed 8662 times
Only LaTeX (with amsmath package enabled on the preamble, to use "\boldsymbol{}") can do that...

Re: Bold character and unwanted space

Posted: Fri Dec 02, 2011 3:30 pm
by 1keenan
Ok, maybe I'll change we LaTex...:(

Re: Bold character and unwanted space

Posted: Fri Dec 02, 2011 9:46 pm
by RGB
It is possible to insert LaTeX equations on Math. See for example this thread:
Is there an alternative to Math?
But if you need to insert a lot of mathematis/physics stuff, then changing to LaTeX is the only solution. LyX, an open source front-end to LaTeX/XeTeX/LuaTeX... offers the best compromise between "easy of use" and "power". I wrote my PhD thesis (some weird stuff about fempto second pulsed lasers and solid spectroscopy...) with LyX ;)

Re: Bold character and unwanted space

Posted: Sat Dec 03, 2011 3:12 pm
by Robert Tucker
Have been looking at this problem for past couple of days and when I tried with TexMaths in LibreOffice thought that the bold character request was being applied to whole equation. Closer inspection reveals that the font it is using (for .svg) seems to be too heavy:
math-latex.png
math-latex.png (11.5 KiB) Viewed 8618 times
No such problem with Lyx though:
lyx.png
lyx.png (5.67 KiB) Viewed 8617 times

Re: Bold character and unwanted space

Posted: Mon Dec 05, 2011 10:17 am
by 1keenan
RGB wrote:I wrote my PhD thesis (some weird stuff about fempto second pulsed lasers and solid spectroscopy...) with LyX ;)
I'm doing something similar for my Ms thesis...