[Solved] Exclusive-or character

Discuss the formula editor

[Solved] Exclusive-or character

Postby contestcen » Thu Sep 27, 2018 5:15 am

How do I get an exclusive-or operator in the formula editor? It is a circle with a plus sign inside.
Last edited by Hagar Delest on Thu Sep 27, 2018 8:39 am, edited 1 time in total.
Reason: tagged solved
Open Office 3.1 running on Windows 7
contestcen
 
Posts: 4
Joined: Mon Feb 15, 2010 8:20 pm

Re: Exclusive-or

Postby RusselB » Thu Sep 27, 2018 5:49 am

Welcome to the Forums.
I think I found the character you are looking for.
To save you from having to do the search, the code to be entered is %Ux2295
I found it by calling up the Catalog, then switching to Special, clicking Edit, then going through all of the characters from the start in the dialog until I found the one that matched your description.
There may be others, I stopped when I found one that I thought looked close.
OpenOffice 4.1.4 and LibreOffice 5.2.7.2 on Windows 7 Pro & Ultimate
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
RusselB
Volunteer
 
Posts: 4596
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Exclusive-or

Postby contestcen » Thu Sep 27, 2018 7:15 am

Thank you. I must be doing this wrong. I clicked "Insert" then "Special characters." This showed a pane of various characters, the first of many. Then I scrolled down to the last pane which was titled "Special." (I assume this is what you meant by "Switching to Special.") This showed me a pane of Arabic characters. There were no math symbols. When I scrolled up I just found other alphabets. I tried searching for "Catalog" in Help, but it wasn't there. I tried clicking "Edit" but nothing happened. How can I enter the UTF code Ux2295 and get the corresponding character into my text? I tried copying the XOR symbol from a PDF, but that gave me gibberish.
Open Office 3.1 running on Windows 7
contestcen
 
Posts: 4
Joined: Mon Feb 15, 2010 8:20 pm

Re: Exclusive-or

Postby Zizi64 » Thu Sep 27, 2018 7:38 am

Try the LibreOffice. The Math application contains the XOR sign. (The LO has more functions generally compared to the AOO)

XORinMATH.png
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.1 on Win7x64Prof.
PortableApps, winPenPack: LO3.3.0-LO6.1.2 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7314
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Exclusive-or

Postby contestcen » Thu Sep 27, 2018 7:47 am

I managed to get the character I wanted. I realized that Ux2295 was equivalent to &#8853. I inserted this code into an HTML document, displayed it in a browser, and then copied that character into my Open Office document. It worked. Thanks to both responders.
Open Office 3.1 running on Windows 7
contestcen
 
Posts: 4
Joined: Mon Feb 15, 2010 8:20 pm

Re: [Solved] Exclusive-or character

Postby Zizi64 » Thu Sep 27, 2018 9:59 am

If you want often use these special characters:

You can set it as an user defined item of the Autocorrect option in the applications Writer and Calc.

Or you can write a macro to insert such special characters.
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.1 on Win7x64Prof.
PortableApps, winPenPack: LO3.3.0-LO6.1.2 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7314
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: [Solved] Exclusive-or character

Postby MrProgrammer » Fri Sep 28, 2018 1:53 am

Hi, and welcome to the forum.

contestcen wrote:How do I get an exclusive-or operator in the formula editor? It is a circle with a plus sign inside.
Use the oplus operator.
Screen Shot 2018-09-27 at 18.36.40 .png
Screen Shot 2018-09-27 at 18.36.40 .png (10.39 KiB) Viewed 506 times
Mr. Programmer
AOO 4.1.5 Build 9789 on Mac OS 10.11.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Volunteer
 
Posts: 3484
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: [Solved] Exclusive-or character

Postby contestcen » Fri Sep 28, 2018 8:19 am

I tried it. It gave me a pale box outline with an inverted question mark inside.
Open Office 3.1 running on Windows 7
contestcen
 
Posts: 4
Joined: Mon Feb 15, 2010 8:20 pm

Re: [Solved] Exclusive-or character

Postby Zizi64 » Fri Sep 28, 2018 11:13 am

I tried it. It gave me a pale box outline with an inverted question mark inside.

It works for me in my AOO 4.1.5 portable version. Insert operands before and after the sign.

If it will not work anyway, then (maybe) it is a font related problem. Check the used fonts.
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.1 on Win7x64Prof.
PortableApps, winPenPack: LO3.3.0-LO6.1.2 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7314
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: [Solved] Exclusive-or character

Postby Lupp » Fri Sep 28, 2018 2:16 pm

Are you sure that an appropriate version of the font opens___.ttf is accessible? My AOO 4.1.5 Portable came with OpenSymbol v 102.10 (same as recent LibO).

BTW: Is there now a generally accepted agreement to use the 'oplus' as the standard symbol for the binary operator "exclusive or, XOR"? Well, there is a kind of tradition to use "+" for "OR" in Boolean Algebra despite the obvious disadvantages. Outside of that field I never did, and inside there wasn't much need of the XOR operation. To use the "circled plus" generally might not be the best choice.

===Amendment 2018-09-29 11:15 CEST===
The unicode has assigned the code point U+22BB to XOR. It should look like ⊻ . That's a good choice (accentuated OR).
On Windows 10: LibreOffice 6.1 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Let's create a powerful UFO: United Free Office!
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2049
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests