[Solved] Italics in matrix/ vector notation

Discuss the formula editor

[Solved] Italics in matrix/ vector notation

Postby dmk2 » Wed Feb 06, 2008 11:25 pm

Vectors and matrices are typically shown in bold, NON-italic fonts. I cannot find any reference to a way to do this on open office math. Bolding is easy, but I can't find a way to turn off the italics consistently. Putting latin letters in quotes works for them, this does not work for Greek. Any suggestions?

thanks
Last edited by Hagar Delest on Sun Mar 20, 2011 12:54 am, edited 3 times in total.
Reason: tagged [Solved].
dmk2
 
Posts: 6
Joined: Wed Feb 06, 2008 11:19 pm

Re: matrix/ vector notation

Postby Hagar Delest » Wed Feb 06, 2008 11:41 pm

Does it help: [HOWTO]Default fonts for Math Objects?

Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25113
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: matrix/ vector notation

Postby dmk2 » Thu Feb 07, 2008 2:02 am

I don't think it does it. The font dialog box does not provide a non-italic option for for variables. There is a non-italic option (the default) for text, and you tell OO to insert text with quotation marks. However, if you do that, greek letters come out as their English names. E.g., the letter beta comes out %beta, rather than the Greek letter beta.

What is needed is something like mathtype's approach, where you simply select matrix/vector format, and it then uses bold without italics.
dmk2
 
Posts: 6
Joined: Wed Feb 06, 2008 11:19 pm

Re: matrix/ vector notation

Postby acknak » Thu Feb 07, 2008 2:26 am

Try this:

%ALPHA nitalic %ALPHA
AOO 4 • Linux • Fedora 17
User avatar
acknak
Moderator
 
Posts: 17424
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: matrix/ vector notation

Postby dmk2 » Thu Feb 07, 2008 2:58 am

That's interesting. I tried this with lower and upper case alpha beta epsilon and theta. It worked on upper case alpha, beta, and epsilon. It seemed to have no visible effect on upper case theta or any of the lower-case letters. Puzzling.
dmk2
 
Posts: 6
Joined: Wed Feb 06, 2008 11:19 pm

Re: matrix/ vector notation

Postby acknak » Thu Feb 07, 2008 4:23 am

Yep, I see the same thing:
nitalic.png
nitalic.png (4.77 KiB) Viewed 4237 times

The symbols I've highlighted are clearly italic but they should not be.

You can always use the actual Unicode characters within quotes, as I did in the bottom row. At least I don't see any problem with doing that, and it's less typing.

Unless someone has an explanation as to why "nitalic" is not working here, I think it needs to be filed as a bug.

PS: There's one more approach you could use, but it's a fair amount of work to set up. Define your own symbols, e.g. something like %vOMEGA ("vector OMEGA"). You can define the exact font and character should appear for that symbol, so you can make it bold, non-italic, whatever you need.

You define the symbols using Tools > Catalog.

It's a lot of work to define the symbols, but once you do, it's easier to input them in a formula.
AOO 4 • Linux • Fedora 17
User avatar
acknak
Moderator
 
Posts: 17424
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: matrix/ vector notation

Postby RGB » Thu Feb 07, 2008 3:53 pm

There is a problem with the OpenSymbol font. See this issue:
http://qa.openoffice.org/issues/show_bug.cgi?id=36535
There are two types of people: the ones that believe that there are two types of people and the ones that not.

openSUSE with KDE SC / AOO
User avatar
RGB
Volunteer
 
Posts: 1445
Joined: Mon Oct 08, 2007 1:34 am


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests