[Solved] Disconnected/Misaligned Square Root Symbol

Discuss the formula editor

[Solved] Disconnected/Misaligned Square Root Symbol

Postby 00jonjon » Fri Oct 28, 2016 8:55 pm

PROBLEM

I am writing an equation using in OpenOffice Writer, but the square root symbol is appearing disconnected in my equation. I have taken a screen shot of the equation in OpenOffice Writer, which can be seen in Figure 1. I was not sure whether or whether not the problem was unique to OpenOffice Writer, so I created an arbitrary equation in OpenOffice Math, and noted that the Square Root symbol was also disconnected, as can be seen in Figure 2. Please note that my OpenOffice version is 4.1.3, and my Operating System is Windows 10 with the build 14393.321.

QUESTION

How can I make the square root symbol connect to the line above the equation contained in the square root?

CODE

Here is the code I am using to create the equations.

Equation in Figure 1:
Code: Select all   Expand viewCollapse view
r_{~parallel~} = {n^2 cos(%theta) - sqrt{n^2 - sin^2(%theta)}} over
{n^2 cos(%theta) + sqrt{n^2 - sin^2(%theta)}}

Equation in Figure 2:
Code: Select all   Expand viewCollapse view
f(x)=sqrt(2x) +3

RELATED TOPIC

Here is a related post I found:
https://forum.openoffice.org/en/forum/v ... ot#p331291
No solution is provided.

ATTACHMENTS

Bellow are is the odt file containing the equation that I am struggling with. There are also the figures that I used to explain the problem.
Attachments
Problem.odt
Unaligned Square Root Symbol in OpenOffice Writer
(13.56 KiB) Downloaded 227 times
Problem_2.PNG
Figure 2 - Unaligned Square Root Symbol in OpenOffice Math
Problem_2.PNG (2.22 KiB) Viewed 3935 times
Problem.PNG
Figure 1 - Unaligned Square Root Symbol in OpenOffice Writer
Problem.PNG (4.28 KiB) Viewed 3935 times
Last edited by 00jonjon on Sat Oct 29, 2016 3:28 pm, edited 1 time in total.
--
Thanks
Apache OpenOffice 4.1.3
Windows 10 - OS build 14393.321
00jonjon
 
Posts: 4
Joined: Sat Dec 05, 2015 2:05 am

Re: Disconnected/Misaligned Square Root Symbol

Postby MrProgrammer » Sat Oct 29, 2016 4:31 am

[Solved] Symbols font on Windows 8.1
There is discussion in that post which suggests that the same problem can affect Windows 10. I use a Mac and the equation looks OK to me so it may just be a font problem on Windoze systems. Read the link for solution details. I don't know if it will help with square root alignment.
Screen Shot 2016-10-28 at 21.27.19 .png


If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the title. You can select the green checkmark icon at the same time.
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: 3520
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Disconnected/Misaligned Square Root Symbol

Postby keme » Sat Oct 29, 2016 10:15 am

Martin_g's amended OpenSymbol font fixes some problems in the Math formula editor. Try it!

It seems that there are some glyphs (characters/character components) missing in the original font file, so Math tries to find a suitable glyph in a different font. If that font does not match glyph size, you get those ugly gaps or crossovers. In that thread, martin_g says that he only added some missing glyphs to the already existing OpenSymbol font.
Last edited by keme on Sat Oct 29, 2016 5:41 pm, edited 1 time in total.
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 2983
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Disconnected/Misaligned Square Root Symbol

Postby 00jonjon » Sat Oct 29, 2016 3:27 pm

SOLUTION

I followed keme's solution in the post above, installed the font, and it seems to have resolved the problem, as seen in figure 3 and figure 4 of this post. The code used for the equations in this post was the same as the code of the equations in my original post.

HOW TO RESOLVE THE PROBLEM

The solution that I propose is for OpenOffice 4.1.3 on Windows 10 - OS build 14393.321. It has not been tested on any other operating system.

1) Go to Martin_g's post as linked by keme above, and download the Open Symbol font.

2) Go to Control Panel -> Appearance and Personalization -> Fonts

3) Find the currently installed OpenSymbols font, and back it up via copy-paste to some location on your PC. This is a fail-safe in case the solution I propose does not work for you.

4) Copy paste (drag and drop) the download font into the Window showing the fonts on your PC. You should be prompted with a message to delete the currently installed OpenSymbols font that you backed up in step 3, and install the new font you are currently copy-pasting. Click OK.

5) Open up the file with the misaligned square root. Double click on the equation to make OpenOffice re-render it, as Martin_g suggests in his post. The square root should render properly now.

6) If the square root did not render properly, reinstall the font that you backed up in step 3 via the installation technique in step 4.

ATTACHMENTS

Bellow are the figures mentioned in the solution to the problem.
Attachments
Figure_3.PNG
Figure 3 - The equation with the corrected square root in OpenOffice Writer
Figure_4.PNG
Figure 4 - The equation with the correct square root in OpenOffice Math
Solution.odf
The file for the equation shown in Figure 4
(5.84 KiB) Downloaded 235 times
--
Thanks
Apache OpenOffice 4.1.3
Windows 10 - OS build 14393.321
00jonjon
 
Posts: 4
Joined: Sat Dec 05, 2015 2:05 am

Re: [Solved] Disconnected/Misaligned Square Root Symbol

Postby John_Ha » Tue Feb 07, 2017 12:52 pm

00jonjon

May I take the opportunity to thank you for such an excellent post describing your problem. It is precise, it describes the exact problem, it has images showing the problem, it references another post showing you have searched for an answer, and you have uploaded an example file - everything which is needed for analysis of the problem.

If only other posters could do the same :crazy:

Thank you.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 5984
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests