xaml-math icon indicating copy to clipboard operation
xaml-math copied to clipboard

\angle symbol is not working

Open pavledev opened this issue 5 years ago • 11 comments
trafficstars

I tried to display angle symbol but when I run app only red rectangle is displayed. formulaControl.Formula = @"\oint_{S}\vec{E}d\vec{S}=\oint_{S}EdS*\angle (\vec{E},d\vec{S})=\oint_{S}EdScos, 0=\oint_{S}Eds=E\oint_{S}dS=ES";

pavledev avatar Oct 08 '20 18:10 pavledev

Duplicate of #127

FoggyFinder avatar Oct 08 '20 18:10 FoggyFinder

Can you please fix that issue?

pavledev avatar Oct 08 '20 18:10 pavledev

Are this two things below required? @FoggyFinder https://github.com/opencollab/jlatexmath/blob/c9a962cc7cbd2506d46c21eda93c1a4278b1c5ef/jlatexmath/src/main/resources/org/scilab/forge/jlatexmath/TeXFormulaSettings.xml#L605 https://github.com/opencollab/jlatexmath/blob/c9a962cc7cbd2506d46c21eda93c1a4278b1c5ef/jlatexmath/src/main/resources/org/scilab/forge/jlatexmath/TeXSymbols.xml#L185

pavledev avatar Oct 08 '20 18:10 pavledev

Perhaps. Why can't you experiment with code in a bit and find it out?

FoggyFinder avatar Oct 08 '20 19:10 FoggyFinder

@FoggyFinder I tried to copy that two lines and after building I tried to run WpfMath.Example and I got error: WpfMath.SymbolMappingNotFoundException: 'Cannot find mapping for the symbol with name 'angle'.'

pavledev avatar Oct 08 '20 21:10 pavledev

@FoggyFinder Can you please help me to add \angle symbol?

pavledev avatar Oct 08 '20 21:10 pavledev

I have skimmed through the fonts we're using and found no angle symbol there. Seems we'll need additional font for that.

ForNeVeR avatar Oct 18 '20 10:10 ForNeVeR

Also I've checked the Computer Modern font sources, and haven't find the angle character there. Does it even exist?

ForNeVeR avatar Oct 18 '20 11:10 ForNeVeR

jsMath uses msam10 and msbm10 fonts for it

http://www.math.union.edu/~dpvc/jsMath/symbols/AMSsymbols.html

FoggyFinder avatar Oct 18 '20 12:10 FoggyFinder

@pavledev if necessary, there is a temporary solution in the form of using a similar command \text{∠} and font changes, for example from the suggested image

rstm-sf avatar Oct 25 '20 16:10 rstm-sf

Is there's any chance this will hopefully be fixed? I sadly lack the expertise to fix it myself.

abdelfattahradwan avatar Nov 18 '20 23:11 abdelfattahradwan

Duplicate of #127.

ForNeVeR avatar May 18 '23 19:05 ForNeVeR