How to include math Symbols in Editor or Textbox

▼魔方 西西 提交于 2019-12-11 18:46:28

问题


I have to include math symbols in my asp.net

so whatever the symbols it may be sigma , integral , pie etc..or any

how to write or display the Symbols in asp.net it should be UI so when the user click the

particular Symbols it will display in the textbox or any editor control..

If anyone have idea let me know...?

thanks.


回答1:


Since you are using ASP.NET you can use the HTML character entity references to display symbols.

http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

Updated

You can just put the special characters into your html code. Prefix the items from the reference with "&#" and suffix with ";"

∫ dy K(x,y)φ(y) = λφ(x)

yields

∫ dy K(x,y)φ(y) = λφ(x)



来源:https://stackoverflow.com/questions/1691982/how-to-include-math-symbols-in-editor-or-textbox

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!