资源描述:
《A Local Guide for Using TEXmaker with Arrays and ipe.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ALocalGuideforUsingTEXmakerwithArraysandipeThepurposeofthisdocumentistoillustratetheeditingprogramTEXmaker,LATEXandipe.Thereareothereditorsanddrawingprogramsavailable,butTEXmakerandipearechosenbecauseportsofthesepackagesareavailableunderWindows,Mac,and
2、Linux.ThisparticularguidehasbeenpreparedintheMathematicsDepartmentLabusingthemachinesthere.Otherversionsofthesepackageswilloperateinaslightlydifferentway.1BeginningthedocumentTocreateaLATEXdocumentfirstopentheeditor,startafileandentertheheader.Theexactcom
3、mandsnecessaryaredescribedbelow.UndertheStartmenu,locateAllPrograms/Mathematics/TeX/texmaker.Clickingonthiswillgiveyouawindowforediting.YouneedtocreateanewfilebyselectingFile/New.Theeditor,TEXmaker,numberslinesautomatically.1Youmustnameandsaveyourfilebef
4、orecontinuing.SelectFile/SaveandsaveyourfiletotheT:drive.YouwillhavetotransferyourfiletoyourUSBdrivelaterifyouwanttohaveitforfutureuse.UnderWindows,youdonotneedtoinsertthe.texsuffix(underWindows).Justsavingyourfileassay,testing,willwork.Thefirstlineofyourfile
5、shouldbedocumentclass[10pt]{article}ThenextlinesshouldindicateanyLATEXpackagesyouneedandanyad-ditionalheaderinformation.Forthisexample,onlythegraphicxpackageisneededtothenextlinesofthefilewillbeusepackage{graphicx}Thelastlineofyourfile,ifyouwanttoputit
6、innowwillbeend{document}Forpractice,youmightenterthefollowinglinesandprocessthefile.documentclass[10pt]{article}usepackage{graphicx}begin{document}HelloWorld!end{document}1Also,sinceLATEXisatypesettingtool,youdonotneedtoinsertlinebreaks.Infact,anyl
7、inebreaksyouinsertwillbeignored.1Toprocessthefile,selecttheiconwithaPDFLATonit(forPDFLATEX).Toviewtheoutput,selecttheAcrobatreadericon(therediconnexttoPDFLAT).Ifyouhaveenteredtheinformationcorrectly,awindowshowingonlyHelloWorld!willappear.Torevisethisfil
8、e,gobacktotheeditorandchangeHellotoGoodbye.ThenreprocessthefilebyselectingPDFLAT.GobacktotheoutputwindowandpresstheRkey(forrefresh)toseethechanges.2EnteringText,part1Inthisexample,aninductionproofisillustrated.First,thereisthestatementof