11.07.2015 Views

A project report on submitted in partial fulfillment of the requirements ...

A project report on submitted in partial fulfillment of the requirements ...

A project report on submitted in partial fulfillment of the requirements ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g> <strong>on</strong>SOME CONTRIBUTION TO LATEXTO FACILITATE DOCUMENTFORMATTING IN A TECHNICAL INSTITUTE<strong>submitted</strong> <strong>in</strong> <strong>partial</strong> <strong>fulfillment</strong> <strong>of</strong> <strong>the</strong><strong>requirements</strong> for <strong>the</strong> degree <strong>of</strong>Bachelor <strong>of</strong> Eng<strong>in</strong>eer<strong>in</strong>g<strong>in</strong>Informati<strong>on</strong> TechnologybyShilpa S. Mahadik T-08-38Sadaf H. Desai T-08-07Sayali S. Kalyani T-08-06Bhagyashree V. Chavan T-08-36under <strong>the</strong> guidance <strong>of</strong>Mr. S. V. JadhavDepartment <strong>of</strong> Informati<strong>on</strong> TechnologyF<strong>in</strong>olex Academy <strong>of</strong> Management and Technology, RatnagiriApril 2012


CERTIFICATEThe <str<strong>on</strong>g>report</str<strong>on</strong>g> titledSOME CONTRIBUTION TO LATEXTO FACILITATE DOCUMENTFORMATTING IN A TECHNICAL INSTITUTEduly completed byShilpa S. Mahadik T-08-38Sadaf H. Desai T-08-07Sayali S. Kalyani T-08-06Bhagyashree V. Chavan T-08-36as a <strong>partial</strong> <strong>fulfillment</strong> <strong>of</strong> <strong>the</strong><strong>requirements</strong> for <strong>the</strong> degree <strong>of</strong>Bachelor <strong>of</strong> Eng<strong>in</strong>eer<strong>in</strong>g<strong>in</strong>Informati<strong>on</strong> TechnologyfromThe University <strong>of</strong> MumbaiMr. S. V. Jadhav(Project Guide) (Internal Exam<strong>in</strong>er) (External Exam<strong>in</strong>er)(H.O.D.)(Pr<strong>in</strong>cipal)Date:Place: Department <strong>of</strong> Informati<strong>on</strong> Technology,F<strong>in</strong>olex Academy <strong>of</strong> Management and Technology, Ratnagiri


AbstractLATEXis a document preparati<strong>on</strong> system that enables <strong>the</strong> document writer to c<strong>on</strong>centrate<strong>on</strong> <strong>the</strong> c<strong>on</strong>tents without bo<strong>the</strong>r<strong>in</strong>g much about <strong>the</strong> formatt<strong>in</strong>g. The basic LATEXs<strong>of</strong>twaresystem is available free <strong>of</strong> charge.The aim <strong>of</strong> <strong>the</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g> is to generate class or style files <strong>in</strong> LATEX, which can be usedby students/faculty/staff <strong>of</strong> F<strong>in</strong>olex Academy <strong>of</strong> Management and Technology to formatgenerally, used documents such as, <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g>s, notices, handouts, <strong>in</strong>ternal notes,etc. The classes <strong>in</strong> LATEXprovide automati<strong>on</strong> to improve c<strong>on</strong>sistency, productivity, andaccuracy <strong>in</strong> creat<strong>in</strong>g and ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g documents, <strong>the</strong>reby avoid<strong>in</strong>g <strong>the</strong> <strong>in</strong>efficiencies <strong>of</strong>word processors.iii


C<strong>on</strong>tentsAbstractTable <strong>of</strong> C<strong>on</strong>tentsList <strong>of</strong> Figuresiiiivvi1 Project Overview 12 Introducti<strong>on</strong> and Motivati<strong>on</strong> 32.1 An Introducti<strong>on</strong> to LATEX . . . . . . . . . . . . . . . . . . . . . . . . . . 32.2 Why LATEX? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.3 Required Parts <strong>of</strong> LATEX<strong>in</strong>put file . . . . . . . . . . . . . . . . . . . . . . 42.4 Customiz<strong>in</strong>g LATEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.4.1 Creati<strong>on</strong> <strong>of</strong> style file . . . . . . . . . . . . . . . . . . . . . . . . 52.4.2 Creati<strong>on</strong> <strong>of</strong> class file . . . . . . . . . . . . . . . . . . . . . . . . 52.5 Motivati<strong>on</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Problem Statement 74 Implementati<strong>on</strong> Details 84.1 List <strong>of</strong> packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84.2 CollegeNotice.cls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124.2.1 Us<strong>in</strong>g <strong>the</strong> class CollegeNotice . . . . . . . . . . . . . . . . . . . 124.2.2 What <strong>the</strong> CollegeNotice class does . . . . . . . . . . . . . . . . . 124.3 ProjectReport.cls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.3.1 Us<strong>in</strong>g <strong>the</strong> class ProjectReport . . . . . . . . . . . . . . . . . . . 134.3.2 What <strong>the</strong> ProjectReport class does . . . . . . . . . . . . . . . . . 135 Technologies Used 165.1 MikTeX - An Introducti<strong>on</strong> . . . . . . . . . . . . . . . . . . . . . . . . . 165.2 Features <strong>of</strong> MikTeX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165.3 Comp<strong>on</strong>ents <strong>of</strong> MikTeX . . . . . . . . . . . . . . . . . . . . . . . . . . 185.4 Utilities <strong>in</strong> MikTeX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Project Timel<strong>in</strong>e 207 Task Distributi<strong>on</strong> 21iv


CONTENTS8 C<strong>on</strong>clusi<strong>on</strong> and Future Work 228.1 C<strong>on</strong>clusi<strong>on</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228.2 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22References 22Acknowledgements 23Appendix 24v


List <strong>of</strong> Figures6.1 Gantt Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207.1 Work Breakdown Structure . . . . . . . . . . . . . . . . . . . . . . . . . 21vi


Chapter 1Project OverviewLATEXpurpose is to simplify TEXtypesett<strong>in</strong>g. LATEXhas <strong>the</strong> provisi<strong>on</strong> <strong>of</strong> creat<strong>in</strong>g userdef<strong>in</strong>edstyle and class files.The <str<strong>on</strong>g>project</str<strong>on</strong>g> - Some c<strong>on</strong>tributi<strong>on</strong> to LATEXto facilitate document formatt<strong>in</strong>g <strong>in</strong> a technical<strong>in</strong>stitute -attempts to create class files for <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g>s and notices as per technicalspecificati<strong>on</strong>s.A standard <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g> <strong>in</strong>cludes key po<strong>in</strong>ts - title page, certificate page, abstract,c<strong>on</strong>tents, references, appendix and acknowledgements.The title page <strong>in</strong> a standard<str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g> has key fields - <str<strong>on</strong>g>project</str<strong>on</strong>g> title, degree or course, college name, departmentname, name and registrati<strong>on</strong> number <strong>of</strong> <strong>the</strong> students <strong>in</strong>volved <strong>in</strong> <strong>the</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g>, name <strong>of</strong> <strong>the</strong><str<strong>on</strong>g>project</str<strong>on</strong>g> guide and logo <strong>of</strong> college. In additi<strong>on</strong> to <strong>the</strong>se fields, <strong>the</strong> certificate page <strong>in</strong> astandard <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g> <strong>in</strong>cludes <strong>the</strong> university to which <strong>the</strong> college is affiliated.Care has been taken that <strong>the</strong>se above menti<strong>on</strong>ed fields <strong>in</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g> will be typesetas per <strong>the</strong> standards <strong>of</strong> <strong>the</strong> college F<strong>in</strong>olex Academy <strong>of</strong> Management and Technology.These fields are not limited to <strong>the</strong>ir default values, but a provisi<strong>on</strong> has been made forusers outside this college to use <strong>the</strong>se class files by chang<strong>in</strong>g default parameters for <strong>the</strong>ir<str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g>s.For this purpose, <strong>the</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g> facilitates <strong>the</strong> typesett<strong>in</strong>g by mak<strong>in</strong>g default specificati<strong>on</strong>sfor <strong>the</strong> page alignment, l<strong>in</strong>e spac<strong>in</strong>g, f<strong>on</strong>t sizes, styles, headers, footers, figures,equati<strong>on</strong>s, etc. Thus <strong>the</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g> helps <strong>in</strong> best possible way to reduce <strong>the</strong> user efforts <strong>in</strong>


documentati<strong>on</strong>, by mak<strong>in</strong>g it more handy and less time c<strong>on</strong>sum<strong>in</strong>g.Pre-requisites for <str<strong>on</strong>g>project</str<strong>on</strong>g> are - at a m<strong>in</strong>imum, you’ll need a TEXdistributi<strong>on</strong>, a goodtext editor and a PDF viewer.2


Chapter 2Introducti<strong>on</strong> and Motivati<strong>on</strong>The generally used documents such as <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g>s, notices, <strong>in</strong>ternal notes etc. <strong>in</strong>any technical <strong>in</strong>stitute are expected to be <strong>submitted</strong> <strong>in</strong> a standard specified format. Thecomm<strong>on</strong>ly used edit<strong>in</strong>g tools for this purpose are Micros<strong>of</strong>t Word, notepad, wordpad, etc.Tak<strong>in</strong>g <strong>in</strong>to c<strong>on</strong>siderati<strong>on</strong> various formatt<strong>in</strong>g c<strong>on</strong>stra<strong>in</strong>ts namely alignment, f<strong>on</strong>t styles,paragraphs, secti<strong>on</strong>s, subsecti<strong>on</strong>s, etc. becomes a bit tedious us<strong>in</strong>g MS Word or o<strong>the</strong>rtools. Also ma<strong>in</strong>ta<strong>in</strong><strong>in</strong>g <strong>the</strong> subscripts and superscripts to obta<strong>in</strong> <strong>the</strong> various ma<strong>the</strong>maticalequati<strong>on</strong>s becomes difficult and time c<strong>on</strong>sum<strong>in</strong>g.To overcome this drawback we have LATEX, a documentati<strong>on</strong> preparati<strong>on</strong> system thatenables <strong>the</strong> document writer to c<strong>on</strong>centrate <strong>on</strong> <strong>the</strong> c<strong>on</strong>tents <strong>of</strong> <strong>the</strong>ir text, without bo<strong>the</strong>r<strong>in</strong>gtoo much about <strong>the</strong> formatt<strong>in</strong>g <strong>of</strong> it.2.1 An Introducti<strong>on</strong> to L A TEXLATEXis a document preparati<strong>on</strong> system for high-quality typesett<strong>in</strong>g. It is most <strong>of</strong>ten usedfor medium-to-large technical or scientific documents but it can be used for almost anyform <strong>of</strong> publish<strong>in</strong>g.LATEXis not a word processor. LATEXis based <strong>on</strong> <strong>the</strong> idea that authors should be ableto focus <strong>on</strong> <strong>the</strong> c<strong>on</strong>tent <strong>of</strong> what <strong>the</strong>y are writ<strong>in</strong>g without be<strong>in</strong>g distracted by its visualpresentati<strong>on</strong>. In prepar<strong>in</strong>g a LATEXdocument, <strong>the</strong> author specifies <strong>the</strong> logical structure


2.2 Why LATEX?and lets <strong>the</strong> LATEXsystem worry about <strong>the</strong> presentati<strong>on</strong> <strong>of</strong> <strong>the</strong>se structures. It <strong>the</strong>reforeencourages <strong>the</strong> separati<strong>on</strong> <strong>of</strong> layout from c<strong>on</strong>tent while still allow<strong>in</strong>g manual typesett<strong>in</strong>gadjustments where needed.LATEXis based <strong>on</strong> D<strong>on</strong>ald E. Knuth’s TEXtypesett<strong>in</strong>g language or certa<strong>in</strong> extensi<strong>on</strong>s.LATEXwas first developed <strong>in</strong> 1985 by Leslie Lamport.2.2 Why L A TEX?What you see is what you get (WYSIWYG) programs make it easy to put text whereveryou want <strong>in</strong> whatever size and style <strong>of</strong> type you want, i.e., WYSIWYG programs <strong>of</strong>fervisual design.The visual design is f<strong>in</strong>e for short, simple documents like letters andmemos. The visual design is not good for more complex documents such as scientificpapers. For this purpose, we use LATEXthat <strong>of</strong>fers logical design.LATEXis <strong>in</strong>tended to provide a high-level language that accesses <strong>the</strong> power <strong>of</strong> TEX.LATEXcomprises a collecti<strong>on</strong> <strong>of</strong> TEXmacros and a program to process LATEXdocuments.Because <strong>the</strong> TEXformatt<strong>in</strong>g commands are very low-level, it is usually much simpler forend-users to use LATEX. As LATEXis distributed under <strong>the</strong> terms <strong>of</strong> <strong>the</strong> LATEXProject PublicLicense (LPPL), LATEXis free s<strong>of</strong>tware.2.3 Required Parts <strong>of</strong> L A TEX<strong>in</strong>put fileA few commands must appear <strong>in</strong> every LATEX<strong>in</strong>put file <strong>in</strong> a certa<strong>in</strong> order. They are:\documentclass{classname}\beg<strong>in</strong>{document}\end{document}The documentstyle has a required argument stylename to select an overall type-sett<strong>in</strong>gstyle for <strong>the</strong> document; <strong>the</strong> <strong>on</strong>e normally used is article (<strong>the</strong>re are also book, <str<strong>on</strong>g>report</str<strong>on</strong>g>,letter, and memo). It also has an opti<strong>on</strong>al argument to select 11pt or 12pt normal type4


2.4 Customiz<strong>in</strong>g LATEXsize (10pt is <strong>the</strong> default size). The actual text <strong>of</strong> user document and associated commandsgo between <strong>the</strong> beg<strong>in</strong> and end commands.2.4 Customiz<strong>in</strong>g L A TEXThere are situati<strong>on</strong>s where LATEXdoes not provide a command or envir<strong>on</strong>ment that matchesuser needs, or <strong>the</strong> output produced by some exist<strong>in</strong>g command may not meet user <strong>requirements</strong>.Toadd your own commands, use\newcommand{name}[num]{def<strong>in</strong>iti<strong>on</strong>}The command requires two arguments: <strong>the</strong> name <strong>of</strong> <strong>the</strong> command you want to create,and <strong>the</strong> def<strong>in</strong>iti<strong>on</strong> <strong>of</strong> <strong>the</strong> command. The num argument <strong>in</strong> square brackets is opti<strong>on</strong>al.2.4.1 Creati<strong>on</strong> <strong>of</strong> style fileTypically, a style sheet is specified at <strong>the</strong> beg<strong>in</strong>n<strong>in</strong>g <strong>of</strong> document. This style sheet appliesto <strong>the</strong> entire document. To create your own style file, at <strong>the</strong> very beg<strong>in</strong>n<strong>in</strong>g <strong>of</strong> <strong>the</strong> textdocument just write,\ProvidesPackage{mypack}where mypack is <strong>the</strong> name <strong>of</strong> package. Write whatever you want <strong>in</strong> it us<strong>in</strong>g all <strong>the</strong>LATEXcommands you know. The style file should have <strong>the</strong> same name as that <strong>of</strong> <strong>the</strong>package name. Save this style file with extensi<strong>on</strong> .sty. Now, it is necessary to import thisstyle file <strong>in</strong> your TEXdocument which can be d<strong>on</strong>e us<strong>in</strong>g follow<strong>in</strong>g command.\usepackage{mypack}where mypack is <strong>the</strong> style file you have created earlier.2.4.2 Creati<strong>on</strong> <strong>of</strong> class fileCreate a simple file called myclass.cls and open it with any text editor, at <strong>the</strong> very beg<strong>in</strong>n<strong>in</strong>g<strong>of</strong> <strong>the</strong> document just write5


2.5 Motivati<strong>on</strong>\NeedsTeXFormat{LaTeX2e}\ProvidesClass{}[]Write whatever you want <strong>in</strong> it us<strong>in</strong>g all <strong>the</strong> LATEXcommands you know. Import your newclass with <strong>the</strong> known command\documentclass{myclass}The file myclass.sty and <strong>the</strong> LATEXsource you are compil<strong>in</strong>g must be <strong>in</strong> <strong>the</strong> same directory.2.5 Motivati<strong>on</strong>The exist<strong>in</strong>g word processors have several limitati<strong>on</strong>s which can be overcome by LATEX.The ma<strong>in</strong> advantages <strong>of</strong> LATEXover normal word processors are <strong>the</strong> follow<strong>in</strong>g:• Pr<strong>of</strong>essi<strong>on</strong>ally crafted layouts are available, which make a document really look asif “pr<strong>in</strong>ted”.• The typesett<strong>in</strong>g <strong>of</strong> ma<strong>the</strong>matical formulae is supported <strong>in</strong> a c<strong>on</strong>venient way.• Users <strong>on</strong>ly need to learn a few easy-to-understand commands that specify <strong>the</strong> logicalstructure <strong>of</strong> a document. They almost never need to t<strong>in</strong>ker with <strong>the</strong> actual layout<strong>of</strong> <strong>the</strong> document.• Even complex structures such as footnotes, references, table <strong>of</strong> c<strong>on</strong>tents, and bibliographiescan be generated easily.• Free add-<strong>on</strong> packages exist for many typographical tasks not directly supported bybasic LATEX. For example, packages are available to <strong>in</strong>clude PostScript graphics orto typeset bibliographies c<strong>on</strong>form<strong>in</strong>g to exact standards.• LATEXencourages authors to write well-structured texts by specify<strong>in</strong>g structure.6


Chapter 3Problem StatementThe proposed system attempts to use LATEXto make documentati<strong>on</strong> <strong>of</strong> generally useddocuments like <str<strong>on</strong>g>project</str<strong>on</strong>g> <strong>the</strong>sis, <str<strong>on</strong>g>report</str<strong>on</strong>g>s, notices, etc. <strong>in</strong> <strong>the</strong> technical <strong>in</strong>stitutes a bit easier.The proposed system will provide class or style files for a technical <strong>in</strong>stitute to write1. notices2. <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g>sThe user simply needs to <strong>in</strong>clude <strong>the</strong> package name <strong>in</strong> his file and use <strong>the</strong> commandsdef<strong>in</strong>ed <strong>in</strong> <strong>the</strong> package to format his documents. Thus, <strong>the</strong> proposed system will reduce<strong>the</strong> efforts <strong>of</strong> <strong>the</strong> user <strong>in</strong> formatt<strong>in</strong>g <strong>the</strong> documents.


Chapter 4Implementati<strong>on</strong> Details4.1 List <strong>of</strong> packagesThe list <strong>of</strong> packages required to implement this <str<strong>on</strong>g>project</str<strong>on</strong>g> are:1. graphicxThis package is an extensi<strong>on</strong> <strong>of</strong> <strong>the</strong> standard graphics bundle and provides a way to<strong>in</strong>clude repeated postscript graphics (ps, eps) <strong>on</strong>ly <strong>on</strong>ce <strong>in</strong> a postscript document.This provides a way to get smaller postscript documents when hav<strong>in</strong>g, for <strong>in</strong>stance,a logo <strong>on</strong> every page. This package <strong>on</strong>ly works when post-processed with dvips.2. epstopdfThe package adds support for EPS files <strong>in</strong> <strong>the</strong> graphicx package when runn<strong>in</strong>gunder PDFTeX. If an EPS graphic is detected, <strong>the</strong> package spawns a process toc<strong>on</strong>vert <strong>the</strong> EPS to PDF, us<strong>in</strong>g <strong>the</strong> script epstopdf. This <strong>of</strong> course requires thatshell escape is enabled for <strong>the</strong> PDFTeX run.3. if<strong>the</strong>nC<strong>on</strong>diti<strong>on</strong>al commands <strong>in</strong> LATEXdocumentsThe package’s basic command is\if<strong>the</strong>nelse


4.1 List <strong>of</strong> packageswhich can use a wide array <strong>of</strong> tests. Package also provides a simple loop command\whiledo4. xif<strong>the</strong>nExtended c<strong>on</strong>diti<strong>on</strong>al commandsThis package extends <strong>the</strong> if<strong>the</strong>n package by implement<strong>in</strong>g new commands to gowith<strong>in</strong> <strong>the</strong> first argument <strong>of</strong>\if<strong>the</strong>nelseto test whe<strong>the</strong>r a str<strong>in</strong>g is void or not, if a command is def<strong>in</strong>ed or equivalent to ano<strong>the</strong>r.The package also <strong>of</strong>fers <strong>the</strong> possibility to make use <strong>of</strong> complex expressi<strong>on</strong>s,toge<strong>the</strong>r with <strong>the</strong> ability <strong>of</strong> def<strong>in</strong><strong>in</strong>g new commands to handle complex tests.5. changepageMarg<strong>in</strong> adjustment and detecti<strong>on</strong> <strong>of</strong> odd/even pagesThe package provides commands to change <strong>the</strong> page layout <strong>in</strong> <strong>the</strong> middle <strong>of</strong> a document,and to robustly check for typesett<strong>in</strong>g <strong>on</strong> odd or even pages. Instructi<strong>on</strong>s foruse are at <strong>the</strong> end <strong>of</strong> <strong>the</strong> file. The package is an extracti<strong>on</strong> <strong>of</strong> code from <strong>the</strong> memoirclass, whose user <strong>in</strong>terface it shares. It is <strong>in</strong>tended this package will eventuallyreplace <strong>the</strong> chngpage package, which is distributed with <strong>the</strong> package.6. geometryFlexible and complete <strong>in</strong>terface to document dimensi<strong>on</strong>sThe package provides an easy and flexible user <strong>in</strong>terface to customize page layout,implement<strong>in</strong>g auto-center<strong>in</strong>g and auto-balanc<strong>in</strong>g mechanisms so that <strong>the</strong> usershave <strong>on</strong>ly to give <strong>the</strong> least descripti<strong>on</strong> for <strong>the</strong> page layout.7. f<strong>on</strong>tencStandard package for select<strong>in</strong>g f<strong>on</strong>t encod<strong>in</strong>gs9


4.1 List <strong>of</strong> packagesThe package allows <strong>the</strong> user to select f<strong>on</strong>t encod<strong>in</strong>gs, and for each encod<strong>in</strong>g providesan <strong>in</strong>terface to f<strong>on</strong>t-encod<strong>in</strong>g-specific commands for each f<strong>on</strong>t. Its most powerfuleffect is to enable hyphenati<strong>on</strong> to operate <strong>on</strong> texts c<strong>on</strong>ta<strong>in</strong><strong>in</strong>g any character <strong>in</strong><strong>the</strong> f<strong>on</strong>t.8. mathptmxThis package def<strong>in</strong>es Adobe Times Roman (or equivalent) as default text f<strong>on</strong>t, andprovides maths support us<strong>in</strong>g glyphs from <strong>the</strong> Symbol, Chancery and ComputerModern f<strong>on</strong>ts toge<strong>the</strong>r with letters, etc., from Times Roman. It supersedes both <strong>the</strong>orig<strong>in</strong>al times and <strong>the</strong> mathptm packages.9. fancyhdrCreat<strong>in</strong>g headers and footers <strong>in</strong> LATEXcan be d<strong>on</strong>e by us<strong>in</strong>g <strong>the</strong> package “fancyhdr”.First <strong>of</strong> all, you need to tell LATEXto use <strong>the</strong> package:\usepackage{fancyhdr}and change <strong>the</strong> style from pla<strong>in</strong> to fancy:\pagestyle{fancy}You will now get <strong>the</strong> default fancy pagestyle which adds a l<strong>in</strong>e at <strong>the</strong> top <strong>of</strong> everypage, except for some excepti<strong>on</strong>s (title-page, abstract, new chapter <strong>in</strong> <str<strong>on</strong>g>report</str<strong>on</strong>g>). Eventhough fancyhdr has a default page style, you are free to def<strong>in</strong>e headers/footersyourself.10. capti<strong>on</strong>Customis<strong>in</strong>g capti<strong>on</strong>s <strong>in</strong> float<strong>in</strong>g envir<strong>on</strong>mentsThe capti<strong>on</strong> package provides many ways to customise <strong>the</strong> capti<strong>on</strong>s <strong>in</strong> float<strong>in</strong>genvir<strong>on</strong>ments like figure and table, and cooperates with many o<strong>the</strong>r packages. Facilities<strong>in</strong>clude rotat<strong>in</strong>g capti<strong>on</strong>s, sideways capti<strong>on</strong>s, and c<strong>on</strong>t<strong>in</strong>ued capti<strong>on</strong>s (fortables or figures that come <strong>in</strong> several parts).10


4.1 List <strong>of</strong> packages11. appendixExtra c<strong>on</strong>trol <strong>of</strong> appendicesThe appendix package provides various ways <strong>of</strong> formatt<strong>in</strong>g <strong>the</strong> titles <strong>of</strong> appendices.Also (sub)appendices envir<strong>on</strong>ments are provided that can be used, for example, forper chapter/secti<strong>on</strong> appendices.12. beamerA LATEXclass for produc<strong>in</strong>g presentati<strong>on</strong>s and slidesThe beamer class can be used for produc<strong>in</strong>g slides. It does not need any externalprograms and can directly produce a presentati<strong>on</strong> us<strong>in</strong>g pdflatex. Beamer uses pgffor pdf/ps <strong>in</strong>dependent graphics. Frames are created us<strong>in</strong>g\frame{...}Beamer supports bibliographies, appendices and transiti<strong>on</strong>s. Short versi<strong>on</strong>s <strong>of</strong> title,authors, <strong>in</strong>stitute can also be specified as opti<strong>on</strong>al parameters.\pla<strong>in</strong>frame{}allows a picture, for example, to fill <strong>the</strong> whole frame. Support figure and tableenvir<strong>on</strong>ments, transparency effects, transdurati<strong>on</strong> command, animati<strong>on</strong> commands,pauses envir<strong>on</strong>ment.13. hyperrefExtensive support for hypertext <strong>in</strong> LATEXThe hyperref package is used to handle cross-referenc<strong>in</strong>g commands <strong>in</strong> LATEXtoproduce hypertext l<strong>in</strong>ks <strong>in</strong> <strong>the</strong> document. The package is distributed with <strong>the</strong> backrefand nameref packages, which make use <strong>of</strong> <strong>the</strong> facilities <strong>of</strong> hyperref. The packagedepends <strong>on</strong> <strong>the</strong> author’s kvopti<strong>on</strong>s, ltxcmds and refcount packages.11


4.2 CollegeNotice.cls4.2 CollegeNotice.cls4.2.1 Us<strong>in</strong>g <strong>the</strong> class CollegeNoticeTo use <strong>the</strong> CollegeNotice class, make sure that <strong>the</strong> CollegeNotice.cls file is <strong>on</strong> your TEX-INPUTS search path and use <strong>the</strong> follow<strong>in</strong>g command at <strong>the</strong> start <strong>of</strong> your <strong>in</strong>put file:\documentclass{ CollegeNotice}4.2.2 What <strong>the</strong> CollegeNotice class doesThe CollegeNotice class provides users <strong>of</strong> F<strong>in</strong>olex Academy <strong>of</strong> Management and Technology(FAMT)to prepare a notice accord<strong>in</strong>g to standard norms.The key features <strong>of</strong> <strong>the</strong> class are - By default this class uses FAMT as default collegeand Informati<strong>on</strong> Technology as default department, which can be changed as per user<strong>requirements</strong>.Default values for <strong>the</strong> commands are:College - F<strong>in</strong>olex Academy <strong>of</strong> Management and TechnologyDepartment - Informati<strong>on</strong> TechnologyIssuedate - LATEXtakes current date from <strong>the</strong> systemDesiganti<strong>on</strong> - Head <strong>of</strong> DepartmentMandatory values user needs to provide are:Subject <strong>of</strong> noticeC<strong>on</strong>tent <strong>of</strong> noticeTo overwrite default values commands to be used are:\College Specify <strong>the</strong> name <strong>of</strong> <strong>the</strong> college, if it is o<strong>the</strong>r than FAMT\Department Specify <strong>the</strong> name <strong>of</strong> <strong>the</strong> department, if it is o<strong>the</strong>r than IT\Issuedate The date when <strong>the</strong> notice is to be issued\Name The name <strong>of</strong> <strong>the</strong> pers<strong>on</strong> issu<strong>in</strong>g <strong>the</strong> notice\Designati<strong>on</strong> The name <strong>of</strong> <strong>the</strong> pers<strong>on</strong> issu<strong>in</strong>g <strong>the</strong> notice12


4.3 ProjectReport.cls4.3 ProjectReport.cls4.3.1 Us<strong>in</strong>g <strong>the</strong> class ProjectReportTo use <strong>the</strong> ProjectReport class, make sure that <strong>the</strong> ProjectReport.cls file is <strong>on</strong> your TEX-INPUTS search path and use <strong>the</strong> follow<strong>in</strong>g command at <strong>the</strong> start <strong>of</strong> your <strong>in</strong>put file:\documentclass{ProjectReport}4.3.2 What <strong>the</strong> ProjectReport class doesThe ProjectReport class is a modified versi<strong>on</strong> <strong>of</strong> <strong>the</strong> standard LATEXREPORT class thatis accepted for use with F<strong>in</strong>olex Academy <strong>of</strong> Management and Technology (FAMT) dissertati<strong>on</strong>s<strong>the</strong>ses. The ProjectReport class allows users to c<strong>on</strong>centrate <strong>on</strong> <strong>the</strong> c<strong>on</strong>tent <strong>of</strong><str<strong>on</strong>g>report</str<strong>on</strong>g> <strong>in</strong>stead <strong>of</strong> formatt<strong>in</strong>g.The key features <strong>of</strong> <strong>the</strong> class are:1. The title page and certificate page is designed to fulfill <strong>the</strong> specificati<strong>on</strong>s <strong>of</strong> FAMT<strong>in</strong>stitute.2. Marg<strong>in</strong>s are 1.3 <strong>in</strong>ches from <strong>the</strong> left, 1.1 <strong>in</strong>ches from right, 1.4 <strong>in</strong>ches from top and1.1 <strong>in</strong>ches from bottom.3. Uses 12 po<strong>in</strong>t by default.4. Page numbers are <strong>in</strong> <strong>the</strong> center at <strong>the</strong> bottom for all pages.5. Complete, correct fr<strong>on</strong>t matter for ProjectReport can be generated.Default values for commands are:College -F<strong>in</strong>olex Academy <strong>of</strong> Management and TechnologyDepartment - Informati<strong>on</strong> TechnologyUniversity- Mumbai UniversityM<strong>on</strong>th - AprilDegree - Bachelor <strong>of</strong> Eng<strong>in</strong>eer<strong>in</strong>g13


4.3 ProjectReport.clsMandatory values user needs to provide are:Name <strong>of</strong> studentsRegistrati<strong>on</strong> number <strong>of</strong> studentsName <strong>of</strong> GuideTitle <strong>of</strong> Project ReportTo overwrite default values, commands to be used are:\College\Department\University\Degree\m<strong>on</strong>thnum\YearLayout c<strong>on</strong>stra<strong>in</strong>ts:1. Marg<strong>in</strong>s - Us<strong>in</strong>g geometry package, marg<strong>in</strong>s are set to 1.3 <strong>in</strong>ches from <strong>the</strong> left, 1.1<strong>in</strong>ches from right, 1.4 <strong>in</strong>ches from top and 1.1 <strong>in</strong>ches from bottom.2. Headers and Footers - Us<strong>in</strong>g fancyhdr package, page numbers are set <strong>in</strong> <strong>the</strong> centerat <strong>the</strong> bottom for all pages and secti<strong>on</strong> name <strong>in</strong> header at <strong>the</strong> right corner.3. F<strong>on</strong>ts - Us<strong>in</strong>g f<strong>on</strong>tenc, mathptmx package, <strong>the</strong> default f<strong>on</strong>t size is set to 12, f<strong>on</strong>tfamily is set to Times New Roman.Fr<strong>on</strong>t matter:The title page, certificate page, abstract, table <strong>of</strong> c<strong>on</strong>tents, lists <strong>of</strong> figures MUST be put <strong>in</strong>side<strong>the</strong> "fr<strong>on</strong>tmatter" envir<strong>on</strong>ment, which ensures that page-number<strong>in</strong>g is handled properly.College Logo and o<strong>the</strong>r Figures:The College Logo is provided <strong>in</strong> eps format so that it cannot be edited.To <strong>in</strong>cludeLogo.eps <strong>in</strong>to <strong>the</strong> Project Report <strong>the</strong> package eps2pdf is used.14


4.3 ProjectReport.clsThe figures related to <str<strong>on</strong>g>project</str<strong>on</strong>g> should be <strong>in</strong>cluded <strong>in</strong> figure envir<strong>on</strong>ment to ensure thatnumber<strong>in</strong>g is handled properly.15


Chapter 5Technologies UsedThe recommended TEXdistributi<strong>on</strong>s are:• TEXLive is a major TEXdistributi<strong>on</strong> for Unix/L<strong>in</strong>ux, Mac OS and W<strong>in</strong>dows.• MiKTeX is a W<strong>in</strong>dows-specific distributi<strong>on</strong>.• MacTeX is a Mac OS-specific distributi<strong>on</strong> based <strong>on</strong> TEXLive.In <str<strong>on</strong>g>project</str<strong>on</strong>g>, MikTeX 2.9 has been used.5.1 MikTeX - An Introducti<strong>on</strong>MiKTeX (pr<strong>on</strong>ounced mick-tech) is a typesett<strong>in</strong>g system for Micros<strong>of</strong>t W<strong>in</strong>dows that isdeveloped by Christian Schenk. MiKTeX provides <strong>the</strong> tools necessary to prepare documentsus<strong>in</strong>g <strong>the</strong> TEX/LATEXmarkup language. The current versi<strong>on</strong> <strong>of</strong> MiKTeX is 2.9.S<strong>in</strong>ce versi<strong>on</strong> 2.7, MiKTeX has compatibility with W<strong>in</strong>dows 7. MiKTeX is currentlybe<strong>in</strong>g ported to GNU/L<strong>in</strong>ux, with a beta versi<strong>on</strong> be<strong>in</strong>g available for test<strong>in</strong>g.5.2 Features <strong>of</strong> MikTeX1. Easy to <strong>in</strong>stallIt is very easy to <strong>in</strong>stall MiKTeX. The MiKTeX Setup Wizard guides you through


5.2 Features <strong>of</strong> MikTeX<strong>the</strong> <strong>in</strong>stallati<strong>on</strong> process. You d<strong>on</strong>’t have to be a computer expert.2. CompleteA complete set <strong>of</strong> additi<strong>on</strong>s (programs, styles, f<strong>on</strong>ts, . . . ) are available to help youtypeset your documents.3. Integrated package managementMiKTeX’s <strong>in</strong>tegrated package manager <strong>in</strong>stalls miss<strong>in</strong>g comp<strong>on</strong>ents from <strong>the</strong> Internet,if required.For example, <strong>the</strong> LATEXdirective\usepackage{memoir}would trigger <strong>the</strong> <strong>in</strong>staller, if <strong>the</strong> memoir package is not already <strong>in</strong>stalled.This unique feature allows you to keep your computer clutter-free: <strong>on</strong>ly <strong>in</strong>stallpackages you actually need.4. Network friendlyMiKTeX can be run directly from a shared and read-<strong>on</strong>ly network directory5. Enhanced TEXcompiler capabilities6. Always up-to-dateThe MiKTeX Update Wizard helps you to keep your MiKTeX system up-to-dateby <strong>in</strong>stall<strong>in</strong>g <strong>the</strong> latest package updates.7. Fast previewerThe TEXoutput viewer Yap allows for an optimized edit-compile-view cycle (if <strong>the</strong>TEXauthor<strong>in</strong>g system <strong>in</strong> use supports source specials).8. Well ma<strong>in</strong>ta<strong>in</strong>edThe MiKTeX package repository is updated regularly17


5.3 Comp<strong>on</strong>ents <strong>of</strong> MikTeX9. Open sourceMiKTeX is open source. You are welcome to redistribute MiKTeX under certa<strong>in</strong>c<strong>on</strong>diti<strong>on</strong>s.5.3 Comp<strong>on</strong>ents <strong>of</strong> MikTeXThe MiKTeX distributi<strong>on</strong> c<strong>on</strong>sists <strong>of</strong> <strong>the</strong> follow<strong>in</strong>g comp<strong>on</strong>ents:• TEX, METAFONT, TeXware, METAFONTware, Computer Modern F<strong>on</strong>ts-<strong>the</strong> baseTEXsystem• pdfTeX, XeTeX, Omega, NTS-various TEXderivatives• MetaPost-a METAFONT derivative for <strong>the</strong> creati<strong>on</strong> <strong>of</strong> PostScript figures• Dvipdfm-c<strong>on</strong>verts TEXoutput <strong>in</strong>to PDF documents• macro packages-almost all free TEXmacro packages• f<strong>on</strong>ts-almost all free f<strong>on</strong>ts• TeXify-a TEXcompiler driver• MiKTeX Opti<strong>on</strong>s-assists <strong>in</strong> c<strong>on</strong>figur<strong>in</strong>g MiKTeX• MiKTeX Update Wizard-assists <strong>in</strong> keep<strong>in</strong>g <strong>the</strong> MiKTeX system up-to-date• lots <strong>of</strong> utilities tools for <strong>the</strong> creati<strong>on</strong> <strong>of</strong> bibliographies & <strong>in</strong>dexes, PostScript utilities5.4 Utilities <strong>in</strong> MikTeXA few utilities required <strong>in</strong> MiKTex packag<strong>in</strong>g are:1. cabextractcabextract is used <strong>in</strong>tnernally (by MPC) to extract files from cab<strong>in</strong>et files. It is apart <strong>of</strong> <strong>the</strong> Cygw<strong>in</strong> distributi<strong>on</strong> for W<strong>in</strong>dows.18


5.4 Utilities <strong>in</strong> MikTeX2. lzmalzma is used <strong>in</strong>tnernally (by MPC) to extract files from .tar.lzma files. It is a part <strong>of</strong><strong>the</strong> Cygw<strong>in</strong> distributi<strong>on</strong> for W<strong>in</strong>dows.3. md5walkMD5Walk is used to calculate <strong>the</strong> f<strong>in</strong>gerpr<strong>in</strong>t <strong>of</strong> a package. The source code <strong>of</strong>MD5Walk can be obta<strong>in</strong>ed from <strong>the</strong> MiKTeX <str<strong>on</strong>g>project</str<strong>on</strong>g> page.4. mpcThe MiKTeX Package Creator (MPC) is used to ma<strong>in</strong>ta<strong>in</strong> <strong>the</strong> c<strong>on</strong>tents <strong>of</strong> a custompackage repository. The source code <strong>of</strong> MPC can be obta<strong>in</strong>ed from <strong>the</strong> MiKTeX<str<strong>on</strong>g>project</str<strong>on</strong>g> page.5. rsyncrsync is used to <strong>in</strong>itialize <strong>the</strong> custom package repository. It is a part <strong>of</strong> <strong>the</strong> Cygw<strong>in</strong>distributi<strong>on</strong> for W<strong>in</strong>dows.6. tartar is used <strong>in</strong>ternally (by MPC) to create package archive files. It is a part <strong>of</strong> <strong>the</strong>Cygw<strong>in</strong> distributi<strong>on</strong> for W<strong>in</strong>dows.All but MPC and MD5Walk are standard utilities which are available <strong>on</strong> all platforms(W<strong>in</strong>dows, GNU/L<strong>in</strong>ux, . . . ). The portable source code <strong>of</strong> mpc and md5walk can beobta<strong>in</strong>ed from <strong>the</strong> MiKTeX <str<strong>on</strong>g>project</str<strong>on</strong>g> page.19


Chapter 6Project Timel<strong>in</strong>eFigure 6.1 Gantt Chart


Chapter 7Task Distributi<strong>on</strong>Figure 7.1 Work Breakdown Structure


Chapter 8C<strong>on</strong>clusi<strong>on</strong> and Future Work8.1 C<strong>on</strong>clusi<strong>on</strong>Thus our <str<strong>on</strong>g>project</str<strong>on</strong>g> “Some c<strong>on</strong>tributi<strong>on</strong> to LATEXto facilitate document formatt<strong>in</strong>g <strong>in</strong> technical<strong>in</strong>stitute” c<strong>on</strong>centrates <strong>on</strong> <strong>the</strong> documentati<strong>on</strong> <strong>of</strong> notices, <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g>s which <strong>in</strong>cludes<str<strong>on</strong>g>project</str<strong>on</strong>g> title page, certificate etc. The standard formatt<strong>in</strong>g c<strong>on</strong>stra<strong>in</strong>ts for <strong>the</strong>sedocuments are def<strong>in</strong>ed <strong>in</strong> packages developed under this <str<strong>on</strong>g>project</str<strong>on</strong>g>, which will thus help <strong>the</strong>user to complete his/her work <strong>in</strong> stipulated time and mak<strong>in</strong>g it less tedious.8.2 Future WorkIn order to make use <strong>of</strong> class files developed <strong>in</strong> <strong>the</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g>, <strong>the</strong> basic requirement isthat <strong>the</strong> user must have <strong>the</strong> sound knowledge <strong>of</strong> LATEX. So to make it more handy, user<strong>in</strong>terface can be developed which will take <strong>on</strong>ly <strong>the</strong> required values as <strong>in</strong>put viz; <strong>the</strong>c<strong>on</strong>tent <strong>of</strong> notice and <strong>the</strong> packages <strong>in</strong> <strong>the</strong> back-end will take care <strong>of</strong> formatt<strong>in</strong>g without<strong>the</strong> user hav<strong>in</strong>g to know LATEXcommands.


References1. A document preparati<strong>on</strong> system LATEX-Leslie Lamport2. http://tug.org/tutorials/tug<strong>in</strong>dia/3. http://www.andy-roberts.net/writ<strong>in</strong>g/latex4. http://miktex.org5. http://www.ctan.org/23


AcknowledgementsThe efforts taken <strong>in</strong> this <str<strong>on</strong>g>project</str<strong>on</strong>g> would not have been possible without <strong>the</strong> k<strong>in</strong>d supportand help <strong>of</strong> many <strong>in</strong>dividuals. We would like to extend s<strong>in</strong>cere thanks to all <strong>of</strong> <strong>the</strong>m.We are highly <strong>in</strong>debted to Mr. S.V. Jadhav for his <strong>in</strong>valuable guidance and c<strong>on</strong>stantsupervisi<strong>on</strong> as well as for provid<strong>in</strong>g necessary support <strong>in</strong> complet<strong>in</strong>g <strong>the</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g>.We would like to express gratitude towards Mr. Parag Abhyankar for his encouragementwhich helped us <strong>in</strong> completi<strong>on</strong> <strong>of</strong> this <str<strong>on</strong>g>project</str<strong>on</strong>g>.We would like to express our special gratitude and thanks to all those user groups andcommunities who have worked <strong>on</strong> open source document preparati<strong>on</strong> system LATEXandhave made available <strong>the</strong>ir work for our use.Shilpa MahadikSadaf DesaiSayali KalyaniBhagyashree Chavan24


AppendixIt is .tex file <strong>of</strong> <str<strong>on</strong>g>project</str<strong>on</strong>g> <str<strong>on</strong>g>report</str<strong>on</strong>g>.\documentclass{ProjectReport}\Protitle{Title <strong>of</strong> Project}\MemberA{Shilpa S. Mahadik} \RegA{T-08-38}\MemberB{Sadaf H. Desai} \RegB{T-08-07}\MemberC{Sayali S. Kalyani} \RegC{T-08-06}\MemberD{Bhagyashree V. Chavan} \RegD{T-08-36}\Guidename{Mr. S. V. Jadhav}\beg<strong>in</strong>{document}\fr<strong>on</strong>tmatter\makeprelim<strong>in</strong>arypages\chapter*{Abstract}\table<strong>of</strong>c<strong>on</strong>tents\list<strong>of</strong>figures\ma<strong>in</strong>matter\chapter{Project Overview}\chapter{Introducti<strong>on</strong> and Motivati<strong>on</strong>}\chapter{Problem Statement}\chapter{Implementati<strong>on</strong> Details}\chapter{Technologies Used}\chapter{Project Timel<strong>in</strong>e}\chapter{Task Distributi<strong>on</strong>}25


8.2 Future Work\chapter{C<strong>on</strong>clusi<strong>on</strong> and Future Work}\chapter*{References}\chapter*{Acknowledgements}\end{document}26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!