Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sukree Sinthupinyo Department of Computer Engineering Chulalongkorn University 13 June 2008.

Similar presentations


Presentation on theme: "Sukree Sinthupinyo Department of Computer Engineering Chulalongkorn University 13 June 2008."— Presentation transcript:

1 Sukree Sinthupinyo Department of Computer Engineering Chulalongkorn University 13 June 2008

2 Outline  Reference Manager Endnote Bibus  Typesetting System (Latex)  Graph plotter (gnuplot)

3 Reference Manager Tools  EndNote & EndNote Web  Bibus  ProCite  Etc.

4 What can we do with these tools?  Organize papers  CWYW (Cite While You Write)  Search (Minor advantages)

5 EndNote X1

6 Entering & Editing References  Author names are entered one per line  Year  Title  Journal Name  Keywords  Abstract  URL  Attach PDF

7 Entering & Editing References

8

9 Bibus  Bibus is a bibliographic and reference management software.  It’s an open source software.  Designed for multiuser environments You can share the database between an "unlimited" number of users

10 Bibus

11

12 Latex  Typesetting Tool  Tex created by Donald E. Knuth  LaTeX was originally written by Leslie Lamport  In general, required information is included in LaTeX commands in {}, while optional information is included in square [].

13 Latex  File Structure Every input file must start with the command \documentclass[option]{class} Document classes include: ○ article ○ report ○ letter ○ book ○ slides

14 Latex  All the standard classes (except slides) accept the following options for selecting the typeface size (10 pt is default): 10pt, 11pt, 12pt  All classes accept these options for selecting the paper size (default is letter): a4paper, a5paper, b5paper, letterpaper, legalpaper, executivepaper  The options have to be separated by commas

15 Preamble  We can add new feature to our document by the command \usepackage{…}  And after all setup commands are done, we start the document with the command \begin{document}  And at the end of the document we add the command \end{document}

16 Titles  Provide this information in the preamble of your document: \title{yourtitlehere} \author{yournamehere} \date{currentdate}  Place a \maketitle command immediately after the \begin{document} command.

17 Other useful pages  \tableofcontents - generates TOC  \listoftables - generates LOT  \listoffigures - generates LOF

18 Sectioning  \part  \chapter (report and book class only)  \section  \subsection  \subsubsection  \paragraph  \subparagraph

19 Example  \chapter{Introduction}  \section{Methodology}  \section*{Methodology}  Etc

20 Hyphenation  \hyphenation{word list} \hyphenation{JAVA, Hy-phen-a-tion}

21 Miktex Thai  The current version is 2.7  It does not support Thai latex package.  Use xelatex instead. \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \defaultfontfeatures{Scale=1.10} \setmainfont[Mapping=tex-text]{BrowalliaUPC} \XeTeXlinebreaklocale "th_TH"

22 Mathematical Typesetting  We can insert equations by adding \begin{equation} \end{equation} The equation environment centres your equation on the page and places the equation number in the right margin.  Or \begin{align} \end{align} \usepackage{amsmath}

23 Mathematical Typesetting \begin{align*} f_A(x) = \begin{cases} 1, &\mbox{if }x \in A \\ 0, &\mbox{if }x \notin A \end{cases} \end{align*}

24 Mathematical Typesetting  Mathematical text within a paragraph is entered between \( and \) $ and $ \begin{math} and \end{math}  Mathematical text within a paragraph is entered between \[ and \] \begin{displaymath} and \end{displaymath} $$ and $$

25 Mathematical Typesetting $$ \sum_{k=0}^{n-1}x^k =\frac{x^n-1}{x-1} $$

26 Mathematical Typesetting  Summation of math-mode

27 Mathematical Typesetting  Math-mode symbols

28 Mathematical Typesetting  For Greek letter

29 Mathematical Typesetting \begin{align*} \left( \begin{array}{c} p\\ q \end{array} \right) &= \frac{p!}{q!(p-q)!} \\ &=\frac{\overbrace{(p)(p-1)\dots(q+1)}^{p-q}} {\underbrace{q(q-1)\dots 1}_{q}} \end{align*}

30 Mathematical Typesetting

31  Sums, Integrals, and Limits  $$ \sum_{k=0}^\infty\frac{(-1)^k}{k+1} = \int_0^1\frac{dx}{1+x} $$

32 Mathematical Typesetting  Sums, Integrals, and Limits  $$ \lim_{x\rightarrow 0} \frac{\sin x}{x} = 1 $$

33 Arrays $$ \left( \begin{array}{rcl} i_{11}&i_{12}&i_{13}\\ i_{21}&i_{22}&i_{23}\\ i_{31}&i_{32}&i_{33}\\ \end{array} \right) $$

34 Arrays $$ \left[ \begin{array}{rcl} i_{11}&i_{12}&i_{13}\\ i_{21}&i_{22}&i_{23}\\ i_{31}&i_{32}&i_{33}\\ \end{array} \right] $$

35 Arrays $$ \left| \begin{array}{rcl} i_{11}&i_{12}&i_{13}\\ i_{21}&i_{22}&i_{23}\\ i_{31}&i_{32}&i_{33}\\ \end{array} \right| $$

36 Tables  A table can be inserted by the command \begin{tabular} and \end{tabular} But to make it complete we must cover it by the command \begin{table} and \end{table} In the table environment, we can insert label (to be referred by other parts of the document) and caption

37 Tables \begin{table}[t] \caption{ ค่าความเป็นสมาชิกในเซตทวินัยและเซตวิภัชนัยของความสูง } \begin{center} \begin{tabular}{|c|c|c|} \hline ความสูง ( เซนติเมตร )&\multicolumn{2}{|c|}{ ดีกรีของความเป็นสมาชิก } \\ % see next table for explanation of this command \cline{2-3} & ความเป็นสมาชิกของเซตทวินัย & ความเป็นสมาชิกของเซตวิภัชนัย \\ \hline 150&0&0.00\\ 157&0&0.00\\ 170&0&0.00\\ 171&0&0.05\\ \hline \end{tabular} \end{center} \label{t_fuzzyset} \end{table}

38 Tables

39 Indenting  The default for a LaTeX document is to indent new paragraphs unless the paragraph follows a section heading.  If you want to change the indentation, use the \indent and \noindent commands respectively, at the beginning of the paragraph.  If you wish to choose the amount of indentation for some reason, then use the command: \setlength{\parindent}{size of indentation with unit}

40 Including Graphics  You use the \includegraphics{graphicfile} command to include your graphic file in your document.  If you wish to control the size of the document, you can also specify the height and width: \includegraphics[height=2in, width =3in]{graphicfile}.

41 Useful Packages  For drawing picture in the document \usepackage{epic} \usepackage{eepic} ○ \setlength{\unitlength}{0.120450pt} ○ \begin{picture}(3000,1350)(0,0) ○ \footnotesize ○ \thinlines \path(349,249)(390,249) ○ \put(308,249){\makebox(0,0)[r]{ 0}} ○ \thinlines \path(349,434)(390,434) ○ \put(308,434){\makebox(0,0)[r]{ 0.2}} ○ \thinlines \path(349,620)(390,620) ○ \put(308,620){\makebox(0,0)[r]{ 0.4}} ○ \thinlines \path(349,805)(390,805) ○ \put(308,805){\makebox(0,0)[r]{ 0.6}} ○ …

42 Useful Packages ○ … ○ \thinlines \path(2701,249)(2701,290) ○ \put(2701,166){\makebox(0,0){ 210}} ○ \thinlines \path(349,1268)(349,249)(2897,249) ○ \put(61,758){\makebox(0,0)[l]{\shortstack{\begin{si deways} ดีกรีของความเป็นสมาชิก \end{sideways}}}} ○ \put(1623,42){\makebox(0,0){ ความสูง ( เซนติเมตร )}} ○ \thicklines \path(349,249)(349,249)(1525,249)(1525,1175)(27 01,1175) ○ \thinlines \path(349,1268)(349,249)(2897,249) ○ \end{picture}

43 Useful Packages

44  \usepackage{rotating} To rotate text  \usepackage[Bjornstrup]{fncychap} To decorate your chapter title page  \usepackage{amsmath} For math-mode  \usepackage{subfigure} To include sub figure in your document

45 Fancy Header

46 Sub Figures

47 Bibliography  BibTeX  We can easily manage the bibliography using BibTex  Without bibtex, the bibliography can be inserted into the last part of document \begin{thebibliography}{} \bibitem[Come95]{Come95} Comer, D. E., {\it Internetworking with TCP/IP: Principles, Protocols and Architecture}, volume 1, 3rd edition. Prentice-Hall, 1995. \end{thebibliography}

48 Bibliography using Bibtex  Bibliography information is stored in a *.bib file, in Bibtex format.  Include style package \usepackage{chicago} or \usepackage{natbib}  Set referencing style \bibliographystyle{chicago} or \bibliographystyle{plainnat}  Create reference section by \bibliography{bibfile with no extension}

49 Bib file  @book{aibooknegnevitsky, author = {Michael Negnevitsky}, title = {Artificial Intelligence: A Guide to Intelligent Systems}, year = {2001}, isbn = {0201711591}, publisher = {Addison-Wesley Longman Publishing Co., Inc.}, address = {Boston, MA, USA}, }

50 Bib file  @article{zadeh1965, author = {Lotfi A. Zadeh}, title = {Fuzzy Set}, year = {1965}, journal = {Information and Control}, volume = {8}, pages = {338-353} }

51 Bibliography  Citing references in text \cite{cuc98} = (Cuce 1998) \citeN{cru98} = Crud (1998) \shortcite{tom98} = (Tom, et. al. 1998)

52 Graph Plotter  Gnuplot The current released version is 4.2.3

53 Gnuplot

54 Gnuplot features  Free, command-driven, interactive  Plots data from file  Also plots functions.  Export to various formats, e.g. jpg, eepic, windows, and etc.

55 Gnuplot  Main command plot (2d), splot (3d), replot (replot the last one) ○ plot { } { | {" " {datafile-modifiers}}} {axes } { } {with } {, {definitions,}...}  Example set terminal eepic set output 'c:\users\pop\Documents\Book\ai\fuzzysetallwithvery.tex' set border 3 set xtics nomirror set ytics nomirror set size 1,0.75 set yrange [0:1.1] set xrange [150:215] …

56 Gnuplot  Example set xlabel " ความสูง ( เซนติเมตร )" font "BrowalliaUPC,12" set ylabel " ความไม่สูง ( เซนติเมตร )" font "BrowalliaUPC,12" plot 'c:\users\pop\Documents\Book\ai\short.dat' using 1:2 title '' w l lw 3, \ 'c:\users\pop\Documents\Book\ai\average.dat' using 1:2 title '' w l lw 3, \ 'c:\users\pop\Documents\Book\ai\tall.dat' using 1:2 title '' w l lw 3, \ 'c:\users\pop\Documents\Book\ai\verytall.dat' using 1:2 smooth csplines title '' w l lw 3, \ 'c:\users\pop\Documents\Book\ai\veryshort.dat' using 1:2 smooth csplines title '' w l lw 3

57 Gnuplot  Miscellaneous set border – control the border of graph (top, left, right, bottom) ○ 1-bottom, 2-left, 4-top, 8-right set title "NACA0012 Airfoil" set xlabel “label name” set ylabel “label name” set xtics nomirror set ytics nomirror set size 1,0.75 set yrange [0:1.1] set xrange [150:215]

58 Question & Answer


Download ppt "Sukree Sinthupinyo Department of Computer Engineering Chulalongkorn University 13 June 2008."

Similar presentations


Ads by Google