Superscriptsmathplayer

mathplayer  时间:2021-03-17  阅读:()
IntroductiontoUsingMathMLPresentedby:RobertMinerDirectorofNewProductDevelopmentBobMathewsDirectorofTrainingWhatwe'llcoverPartI–UnderstandingMathMLOverviewofMathMLPresentationandcontentmarkupMathMLelementsBuildingaMathMLexpressionandinsertingintoHTMLandXMLpages.
Whatwe'llcoverPartI–UnderstandingMathMLPartII–MagicIncantationsDOCTYPEs&MIMEtypesNamespacesObjectTagsandProcessingInstructionsUniversalMathMLStylesheetWhatwe'llcoverPartI–UnderstandingMathMLPartII–MagicIncantationsPartIII–ToolsDesignScienceWebEQDesignScienceMathTypewithMathPagetechnologyTeX4htAmayaNowontoPartI–UnderstandingMathMLOverviewofMathMLTheMathematicalMarkupLanguage(MathML)wasfirstpublishedasarecommendationinApril1998.
Fromthe"MathActivityStatement"oftheW3CMathWorkingGroup:"DesignedasanXMLapplication,MathMLprovidestwosetsoftags,oneforthevisualpresentationofmathematicsandtheotherassociatedwiththemeaningbehindequations.
"TheMathematicalMarkupLanguage(MathML)wasfirstpublishedasarecommendationinApril1998.
Fromthe"MathActivityStatement"oftheW3CMathWorkingGroup:"DesignedasanXMLapplication,MathMLprovidestwosetsoftags,oneforthevisualpresentationofmathematicsandtheotherassociatedwiththemeaningbehindequations.
"OverviewofMathMLOverviewofMathMLTheMathematicalMarkupLanguage(MathML)wasfirstpublishedasarecommendationinApril1998.
Fromthe"MathActivityStatement"oftheW3CMathWorkingGroup:"…twosetsoftags…""MathMLisnotdesignedforpeopletoenterbyhandbutspecializedtoolsprovidethemeansfortypinginandeditingmathematicalexpressions.
"TheMathematicalMarkupLanguage(MathML)wasfirstpublishedasarecommendationinApril1998.
Fromthe"MathActivityStatement"oftheW3CMathWorkingGroup:"…twosetsoftags…""MathMLisnotdesignedforpeopletoenterbyhandbutspecializedtoolsprovidethemeansfortypinginandeditingmathematicalexpressions.
"OverviewofMathMLAttributesgenerallyspecifyadditionaloptionalinformationabouttheelement.
Eachattributehasanameandavalue.
Forexample,themfracelementhasanattributecalledlinethickness.
Mostelementsrepresenttemplatesorpatternsforlayingoutsubexpressions.
Forexample,thereisanmfracelementforfractions,andanmsqrtelementforsquareroots.
AnatomyofaMathMLexpressionAbout30MathMLpresentationelementswhichacceptabout50attributesUsingpresentationmarkup,it'spossibletopreciselycontrolhowanexpressionwilllookwhendisplayed.
About120contentelements,acceptingaboutadozenattributes.
Contentmarkupfacilitatesapplicationsotherthandisplay,likecomputeralgebraandspeechsynthesis.
Mostcontentelementsrepresenteitheroperatorsormathematicaldatatypes.
Forexample,thereisadivide/elementfordivision,andanemptysetelementtodenotetheemptyset.
TwotypesofelementsMostpresentationelementshavestartandendtags,similartothewaysomeHTMLhasstartandendtags.
…Theseelementscanhaveotherdatain-betweenthestartandendtags,suchastext,extendedcharacters,orotherelements.
TwotypesofelementsMostpresentationelementshavestartandendtags,similartothewaysomeHTMLhasstartandendtags.
…TheothertypeofMathMLelementisanemptyelementoftheformTheseelementshavejustonetag.
Thereareonly4emptypresentationelements,butover100emptycontentelements,usedinprefixnotation.
TwotypesofelementsMostpresentationelementshavestartandendtags,similartothewaysomeHTMLhasstartandendtags.
…TheothertypeofMathMLelementisanemptyelementoftheformElementscanalsoacceptattributes.
Ifanelementhasbothstart&endtags,theattributeimmediatelyprecedesthe>inthestarttag.
TwotypesofelementsMostpresentationelementshavestartandendtags,similartothewaysomeHTMLhasstartandendtags.
…TheothertypeofMathMLelementisanemptyelementoftheformElementscanalsoacceptattributes.
Inemptyelements,attributesimmediatelyprecedethe/>.
Examplesofattributes……Insertsa12-ptspace.
For12pixels,use"12px".
Basicpresentationelements–identifier,suchasavariable,functionname,constant,etc.
example:xrendering:xexample:sinrendering:sinBasicpresentationelements–identifier,suchasavariable,functionname,constant,etc.
–operator,suchasasummation,fence(parentheses,brace,etc.
),accent,etc.
example:(rendering:(example:∑rendering:SThisisanexampleofanentityreference.
Entityreferencesarejustkeywordsinaspecialformat,whichrepresentextendedcharacters.
Otherexamplesareα(lower-caseGreekalpha),and∞(infinity).
Basicpresentationelements–identifier,suchasavariable,functionname,constant,etc.
–operator,suchasasummation,fence(parentheses,brace,etc.
),accent,etc.
–numberCanyouidentifythisexpressionx–(3+y)x–(3+y)TokenelementsMostMathMLelements,likethemfracelementmentionedearlier,expecttoonlyfindotherMathMLelementsintheircontent……butsomepresentationelements–,,and,forexample–aredifferent.
Theyareexamplesoftokenelements.
Tokenelementsaretheonlyelementswhichdirectlycontaincharacterdata.
ScriptsSuperscriptsandsubscriptsareubiquitousinmathematicalnotation,andalthoughyouwon'tbedoingmuchMathMLwritingmanually,ithelpstofamiliarizeyourselfwiththeschemata.
MathMLcontainssevenpresentationelementsfordifferentkindsofscripts,butwe'lltakealookatthemostcommon.
Scripts–sub&superThesearethefirstelementswe'veseenindetailthatnormallyhavemorethanoneargument.
Subscript:basescriptSuperscript:basescriptUsage:x1x1x2x2x1x122Whycan'twecodeitthisway:x1IncludingMathMLinyourpageWeneedsomewaytoidentifythemathmarkuptoourbrowser,plug-in,orapplet.
MathMLmarkupisinsertedbetweenandtagstodistinguishMathMLfromothermarkup.
Althoughmosttagswilldifferfrompresentationmarkuptocontentmarkup,thetagiscommontoboth.
CodingsimpleexpressionsAswestatedatthebeginning,itisnotourgoalinthistutorialtomakeyouproficientatwritingMathML.
You'lllikelyuseasoftwareproducttoproducetheMathMLmarkupratherthanwriteityourself.
OurgoalistofamiliarizeyouenoughwiththeMathMLsyntaxandconstructionthatyoucanreadandunderstandablockofcode,andcanperhapsmakechangestoitbyhand.
CodingsimpleexpressionsAswestatedatthebeginning,itisnotourgoalinthistutorialtomakeyouproficientatwritingMathML.
Thatbeingthecase,youknowenoughMathMLnowtotryyourhandatcodingacoupleofsimpleexpressions…Example1–trycodingthis…Don'tforgettobeginwiththestarttagandendwiththeendtagDon'tforgettobeginwiththestarttagandendwiththeendtagExample1–trycodingthis…b2–4b2–4⁢a⁢cExample1ab2–4acor…b2–4⁢a⁢cThisentitydoesn'tappearinprint,butherewehaveaddedittofacilitatevoicesynthesisandheuristicevaluationbycomputeralgebrasystems.
Horizontalrowofexpressionsalignedonthebaseline.
Wrappinganmrowaroundanelementorelementsisalwayspermissible,andoftennecessaryinordertogrouptermstogether,forexample,foruseinascript,etc.
Example2–onemore…x2+y2=r2OtherpresentationelementsPresentationelementsaregrouped:TokenElementsidentifiernumberoperator,fence,orseparatortextOtherpresentationelementsPresentationelementsaregrouped:TokenElementsGeneralLayouttogroupsubexpressionsformfractionfrom2subexpressionsradicalwithaspecifiedindexsurroundcontentwithapairoffencesOtherpresentationelementsPresentationelementsaregrouped:TokenElementsGeneralLayoutScriptsandLimits,,attachascriptunderabaseattachascriptoverabaseattachascriptbothunderandoverabaseOtherpresentationelementsPresentationelementsaregrouped:TokenElementsGeneralLayoutScriptsandLimitsTablestableormatrixrowinatableormatrixoneentryinatableormatrixOtherpresentationelementsPresentationelementsaregrouped:TokenElementsGeneralLayoutScriptsandLimitsTablesActionsbindsactionstoasubexpressionContentelementsMostfundamentaltocontentmarkupistheelement,whichenablestheexplicitapplicationofafunctiontoitsargument.
Contentelementsapplicationofafunctiontoargument.
TokenElementscontentnumbercontentidentifierContentelementsapplicationofafunctiontoargument.
TokenElementsBasicContentElementsgenericinversecompose2ormorefunctionspiecewisedefinedfunctionContentelementsapplicationofafunctiontoargument.
TokenElementsBasicContentElementsArithmetic,Algebra,andLogicdivisiontothepowerofnthrootcomplexconjugateContentelementsapplicationofafunctiontoargument.
TokenElementsBasicContentElementsArithmetic,Algebra,andLogicRelationsequalgreaterthanorequalthe"divides"operatorContentelementsapplicationofafunctiontoargument.
TokenElementsBasicContentElementsArithmetic,Algebra,andLogicRelationsCalculusandSetTheorypartialderivativelowerlimit(ofintegral,etc.
)unionormeetContentelementsapplicationofafunctiontoargument.
TokenElementsBasicContentElementsArithmetic,Algebra,andLogicRelationsCalculusandSetTheoryFurtherelementgroupsincludesequences&series,elementaryclassicalfunctions,statistics,linearalgebra,semanticmappingelements,andconstants.
Example3–contentmarkupWewanttocodethisexpressionincontentmarkup:Weknowweneedtosurroundthecodewiththe…element……butwehaven'tseenyethowtocombinecontentelementstocreateanentireexpression,soheregoes…Example3–contentmarkupπ1Example3–contentmarkupπ1Example3–contentmarkupπ1Example3–contentmarkupπ1totheleftofthe=totherightofthe=Example3–contentmarkupπ1Example3–compareπ1cosπ=–1SummaryPresentationmarkupisfordescribingmathnotation,andcontentmarkupisfordescribingmathematicalobjectsandfunctions.
Inpresentationmarkup,expressionsarebuilt-upusinglayoutschemata,whichtellhowtoarrangetheirsubexpressions(i.
e.
,mfracormsup).
SummaryPresentationmarkup…&contentmarkupMathMLelementseitherhavestartandendtagstoenclosetheircontent,oruseasingleemptytag.
SummaryPresentationmarkup…&contentmarkupMathMLelements…Attributesmaybespecifiedinastartoremptytag.
Attributevaluesmustbeenclosedinquotes.
SummaryPresentationmarkup…&contentmarkupMathMLelements…Attributes…inastartoremptytag.
Allcharacterdatamustbeenclosedintokenelements.
SummaryPresentationmarkup…&contentmarkupMathMLelements…Attributes…inastartoremptytag.
Allcharacterdata…tokenelements.
Extendedcharactersareencodedasentityreferences.
SummaryPresentationmarkup…&contentmarkupMathMLelements…Attributes…inastartoremptytag.
Allcharacterdata…tokenelements.
Extendedcharactersas…entityreferences.
Wediscussedotherlayoutschemata–math,mfrac,mrow,etc.
ThenextsessionofthetutorialwilldealwithdisplayingMathMLinbrowsers.
PartII–MagicIncantationsDOCTYPEs&MIMEtypesNamespacesObjectTagsandProcessingInstructionsUniversalMathMLStylesheetTriggeringMathMLrenderinginbrowsersrequiresspecialdeclarationsinthepage.
WhichBrowsersInternetExplorer(requiresadd-onsoftware)Themainchoicesare:MathPlayer(IE5.
5orhigherunderWindows)Techexplorer(IE5orhigher,manyplatforms)JavaScript/CSS(IE6Windows,otherssoon)Netscape(add-onsrequiredbeforeNS7PR1)Somethingstonote:MathMLdoesn'tyetworkontheMacThedecisiontoincludeMathMLisn'tfinalDOCTYPEsandMIMEtypesTherearetwowaysbrowsersdeterminewhatkindofdataneedstobedisplayed.
Localfilesindicatetheirtypewithafilenameextension(Windows,Unix)orextradataincludedinthefile(Mac).
Datacomingoveranhttpconnectiondoesn'thaveafilename.
Thus,webserversincludeextradataaboutwhatkindoffileisbeingsent.
ThisextradataiscalledaMIMEtype.
DOCTYPEsandMIMEtypesWebserversgenerallyusefileextensionstopicktheMIMEtype.
Thisdoesn'talwayswork…Netscape7isfanaticalaboutusingonlytheMIMEtypetodeterminehowtodisplayadocument.
InternetExplorerisextremelycavalierinusingtheMIMEtype,preferringtosniffinsidethedocumenttoguessitstype.
MIMEtypesWeareconcernedwiththreekindsoffiles:XMLfiles.
ThisincludesXHTMLfiles.
Netscape7willonlyrenderMathMLinthiskindoffile.
HTMLfiles.
InternetExplorerwillonlyrenderMathMLinHTMLfiles.
XSLfiles.
ThesearealsoXMLfiles,buttheyusuallyend.
xslinsteadof.
xml,whichscrewsupmany/mostwebservers.
XHTMLvsHTMLStartandendtagsmustalwaysmatch.
Thingssuchasmustbeemptytags.
AllattributesmusthavequotesaroundthemYourcodeactuallyhastobecorrect!
XHTMLandHTMLarenearlythesame.
ThemaindifferenceisthatXHTMLispickywhileHTMLislax.
Themostimportantthingsare:MIMEtypesTheupshotis:ToworkinNetscape,youneedanXMLdocument.
ToworkinInternetExploreryouneedanHTMLdocument.
So,inpracticeyoucreateanXHTMLdocument,andfiddlewiththeMIMEtypeOntheserverusingscripts,etc.
OntheclientusingXSLstylesheets.
DOCTYPEsADOCTYPEisaspecialdeclarationatthebeginningofanHTMLorXMLdocumentthatdefineswhatkindofmarkupisinthedocument.
DOCTYPEsarereallyforvalidation,notidentification.
DOCTYPEspointtoaDTD,whichdefinesthesyntaxofthemarkupinthedocument.
DOCTYPEs]>TypicalDOCTYPEdeclarationslooklikethis:DOCTYPEsNetscape7requiresaDOCTYPE,butdoesn'tactuallylookattheDTDtowhichitpoints.
InsteadtheDTDmustmatchoneofafewpredefinedvalues.
InternetExplorerdoesn'trequireaDOCTYPE,butitdoesdownloadtheDTDanduseitifthereisone.
DOCTYPEsTheupshotis:InyourXHTMLdocument,youputaDOCTYPE,andTheW3CMathWGpullsitshairouttryingtomakeaDTDavailablethatisbothcorrectandworksaroundthebugsintheIEparser.
NamespacesXMLlanguagesareidentifiedbyaURI.
MathMLishttp://www.
w3.
org/1998/Math/MathMLXHTMLishttp://www.
w3.
org/1999/xhtmlTheycanbeindicatedintwoways.
ByusinganxmlnsattributeonanelementByaddingaprefixtoelementnamesComplexitiesarisewhentwoXMLdialectsmustmix.
ThecaseofinterestisXHTML+MathML.
Thesolutionistousenamepaces.
Namespaces…x+2…Usethexmlnsattributeontheoutermostelementoftheembeddedmarkup.
Thisplacestheelementonwhichtheattributeisset,anditschildrenintheindicatednamespace.
Namespaces…x+2…Touseprefixes,youmustAssociateaprefixandanamespaceusinganxmlns:prefixattributeonacontainingelement.
Usetheprefixtoidentifyelementsthatshouldbeinthenamespace.
Namespaces&DOCTYPEs]>x+2…SincetheURIsfornamespacesarelong,onetricksomepeoplelikeistodeclareanentityreferenceforitintheDOCTYPE:ObjectsandPIsTheelementinstructsIEwhatpieceofsoftwaretoload.
Aprocessinginstruction(orPI)isusedtoassigntheadd-onsoftwaretorendermarkupfromaparticularnamespace.
Twoadditionaldeclarationsarerequiredtotriggeradd-onsoftwareformathrenderinginInternetExplorer:ObjectsandPIsWindowsusesalongstringofdigitsandletterscalledaclassidtouniquelyidentifysoftwarecomponents.
Theobjecttagusesanattributetospecifyaclassid:ObjectsandPIsTherearemanykindsofprocessinginstructions,withdifferentattributes.
For"IEbehaviors"onespecifiesanamespace,andtheIDofanobject:ObjectsandPIsBehaviorsareactuallytriggeredbyanamespaceprefix,andnotthenamespaceitself.
Theupshotis,touseadd-onssuchasMathPlayerorTechexplorer,YoumustincludeanOBJECTandPI.
Youmustusetheprefixmethodfornamespaces.
OnecomplexityarisesfromabuginInternetExplorerbehaviors:PuttingItTogetherWriteXHTMLIncludeaDOCTYPEIncludeanOBJECTandPIIncludeanamespacedeclarationUsenamespaceprefixesontheMathMLAltogetherthen,tocreateadocumentthatworksinbothIEandNetscape,youmust:PuttingItTogetherNetscapewillonlyrenderyourdocumentifitisXML.
InternetExplorerwillonlyrenderitifitisHTML.
ThesolutionXSLstylesheets…Butwait!
Evenifyoudoallthat,thereisstilltheinsurmountableproblemofMIMEtypes:TheMathMLStylesheetYouaddanXSLstylesheettoanXMLdocumentusingaPI.
Thestylesheetsitsontheserverwithyourdocument.
Thestylesheetrunsintheclienttotransformyourdocumentforviewing.
AnXSLstylesheetisasetoftemplatesfortransforminganinputdocumentintoanoutputdocument.
TheMathMLStylesheetDetectwhatbrowseritisrunninginandoutputeitherXMLorHTMLaccordinglyDetectwhatadd-onsareinstalledandoutputthenecessaryObjectandPIdeclarationsConvertcontenttopresentationmarkupXSLispowerful.
TheW3CMathWGhascreatedaUniversalMathMLStylesheetwhichcan:TheMathMLStylesheetTheMathMLstylesheetPIlookslikethis:TheMathMLStylesheetIncludethestylesheetPI.
WriteXHTML.
Don'tuseentityreferences.
Usenumericreferencesinstead.
UsenamespacestoindicatetheMathML.
Don'tuseObjecttagsorbehaviorPIs.
It'snotnecessarytouseaDOCTYPE.
InordertousetheMathMLstylesheet,SummaryThedocumentmustbeXHTML(NS).
ItneedsaDOCTYPE(NS).
TheMathMLmustbeinanamespace(both,)andyouhavetousetheprefixmethod(IE).
YouneedanelementandbehaviorPI(IE).
ServeitasXMLforNS,andHTMLforIE.
GettingMathMLinadocumenttorenderinbothIEandNetscapeisquiteatrick.
Thenecessaryingredientsare:SummaryThedocumentmustbeXHTMLwithoutentitynames.
IncludethestylesheetPI.
TheMathMLmustbeinanamespace(eithermethod).
YoucanomittheDOCTYPE,elementandbehaviorPI.
Asimpler,alternativemethodwhichalsodealswiththeMIMEtypesistousetheUniversalMathStylesheet:

香港站群多ip服务器多少钱?零途云香港站群云服务器怎么样?

香港站群多ip服务器多少钱?想做好站群的SEO优化,最好给每个网站都分配一个独立IP,这样每个网站之间才不会受到影响。对做站群的站长来说,租用一家性价比高且提供多IP的香港多ip站群服务器很有必要。零途云推出的香港多ip站群云服务器多达256个IP,可以满足站群的优化需求,而且性价比非常高。那么,香港多ip站群云服务器价格多少钱一个月?选择什么样的香港多IP站群云服务器比较好呢?今天,小编带大家一...

RAKsmart裸机云/云服务器/VPS全场7折,独立服务器限量秒杀$30/月起

适逢中国农历新年,RAKsmart也发布了2月促销活动,裸机云、云服务器、VPS主机全场7折优惠,新用户注册送10美元,独立服务器每天限量秒杀最低30.62美元/月起,美国洛杉矶/圣何塞、日本、香港站群服务器大量补货,1-10Gbps大带宽、高IO等特色服务器抄底价格,机器可选大陆优化、国际BGP、精品网及CN2等线路,感兴趣的朋友可以持续关注下。裸机云新品7折,秒杀产品5台/天优惠码:Bare-...

轻云互联22元/月,美国硅谷、圣何塞CN2GIA云服务器,香港沙田cn2建站vps仅25元/月

轻云互联怎么样?轻云互联,广州轻云网络科技有限公司旗下品牌,2018年5月成立以来,轻云互联以性价比的价格一直为提供个人,中大小型企业/团队云上解决方案。本次轻云互联送上的是美国圣何塞cn2 vps(免费50G集群防御)及香港沙田cn2 vps(免费10G集群防御)促销活动,促销产品均为cn2直连中国大陆线路、采用kvm虚拟技术架构及静态内存。目前,轻云互联推出美国硅谷、圣何塞CN2GIA云服务器...

mathplayer为你推荐
沙滩捡12块石头价值近百万圣经中约旦河边的十二个石头openeuler谁知道open opened close closed的区别吗2020双十一成绩单2020双十一尾款如何合并付款?bbs.99nets.com怎么把电脑的IP设置和路由器一个网段关键字关键词标签里写多少个关键词为最好罗伦佐娜罗拉芳娜 (西班牙小姐)谁可以简单的介绍以下罗伦佐娜米开朗琪罗简介www.522av.com跪求 我的三个母亲高清在线观看地址 我的三个母亲高清QVOD下载播放地址 我的三个母亲高清迅雷高速下载地址4400av.com在www.dadady.com 达达电影看片子很快的啊ip查询器查看自己IP的指令
asp虚拟主机 双线主机租用 分销主机 gomezpeer 帽子云 asp免费空间申请 什么是服务器托管 linux服务器维护 cdn加速是什么 河南移动m值兑换 100mbps 万网空间 测试网速命令 服务器硬件配置 阿里云邮箱申请 server2008 hosts文件修改 blaze bwg 内存 更多