610 likes | 760 Views
Sukree Sinthupinyo Department of Computer Engineering Chulalongkorn University 13 June 2008. Research tools. Outline. Reference Manager Endnote Bibus Typesetting System (Latex) Graph plotter (gnuplot). Reference Manager Tools. EndNote & EndNote Web Bibus ProCite Etc.
E N D
Sukree Sinthupinyo Department of Computer Engineering Chulalongkorn University 13 June 2008 Research tools
Outline • Reference Manager • Endnote • Bibus • Typesetting System (Latex) • Graph plotter (gnuplot)
Reference Manager Tools • EndNote & EndNote Web • Bibus • ProCite • Etc.
What can we do with these tools? • Organize papers • CWYW (Cite While You Write) • Search (Minor advantages)
Entering & Editing References • Author names are entered one per line • Year • Title • Journal Name • Keywords • Abstract • URL • Attach PDF
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
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 [].
Latex • File Structure • Every input file must start with the command \documentclass[option]{class} • Document classes include: • article • report • letter • book • slides
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
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}
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.
Other useful pages • \tableofcontents - generates TOC • \listoftables - generates LOT • \listoffigures - generates LOF
Sectioning • \part • \chapter (report and book class only) • \section • \subsection • \subsubsection • \paragraph • \subparagraph
Example • \chapter{Introduction} • \section{Methodology} • \section*{Methodology} • Etc
Hyphenation • \hyphenation{word list} \hyphenation{JAVA, Hy-phen-a-tion}
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"
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}
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*}
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 $$
Mathematical Typesetting $$ \sum_{k=0}^{n-1}x^k =\frac{x^n-1}{x-1} $$
Mathematical Typesetting • Summation of math-mode
Mathematical Typesetting • Math-mode symbols
Mathematical Typesetting • For Greek letter
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*}
Mathematical Typesetting • Sums, Integrals, and Limits • $$ \sum_{k=0}^\infty\frac{(-1)^k}{k+1} = \int_0^1\frac{dx}{1+x} $$
Mathematical Typesetting • Sums, Integrals, and Limits • $$ \lim_{x\rightarrow 0} \frac{\sin x}{x} = 1 $$
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) $$
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] $$
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| $$
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
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}
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}
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}.
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}} • …
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{sideways}ดีกรีของความเป็นสมาชิก\end{sideways}}}} • \put(1623,42){\makebox(0,0){ความสูง(เซนติเมตร)}} • \thicklines \path(349,249)(349,249)(1525,249)(1525,1175)(2701,1175) • \thinlines \path(349,1268)(349,249)(2897,249) • \end{picture}
Useful Packages • \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
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}
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}
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}, }
Bib file • @article{zadeh1965, author = {Lotfi A. Zadeh}, title = {Fuzzy Set}, year = {1965}, journal = {Information and Control}, volume = {8}, pages = {338-353} }