From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/powerdot-tuliplab/README.md | 133 ++++++ .../contrib/powerdot-tuliplab/logos/tulip-logo.eps | Bin 0 -> 1059122 bytes .../powerdot-tuliplab/logos/tulip-wordmark.eps | Bin 0 -> 370272 bytes .../contrib/powerdot-tuliplab/logos/tulip.eps | Bin 0 -> 353318 bytes .../logos/tulip/tulip-wordmark0.eps | Bin 0 -> 706478 bytes .../logos/tulip/tulip-wordmark1.eps | Bin 0 -> 370272 bytes .../powerdot-tuliplab/logos/tulip/tulip0.eps | Bin 0 -> 511534 bytes .../powerdot-tuliplab/logos/tulip/tulip1.eps | Bin 0 -> 370882 bytes .../powerdot-tuliplab/logos/tulip/tulip2.eps | Bin 0 -> 425155 bytes .../powerdot-tuliplab/logos/tulip/tulip3.eps | Bin 0 -> 353318 bytes .../powerdot-tuliplab/powerdot-tuliplab.sty | 197 +++++++++ .../contrib/powerdot-tuliplab/tuliplab-P00.tex | 442 ++++++++++++++++++++ .../contrib/powerdot-tuliplab/tuliplab-P01.tex | 461 +++++++++++++++++++++ .../contrib/powerdot-tuliplab/tuliplab-P02.tex | 158 +++++++ 14 files changed, 1391 insertions(+) create mode 100644 macros/latex/contrib/powerdot-tuliplab/README.md create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip-logo.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip-wordmark.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark0.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark1.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip0.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip1.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip2.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip3.eps create mode 100644 macros/latex/contrib/powerdot-tuliplab/powerdot-tuliplab.sty create mode 100644 macros/latex/contrib/powerdot-tuliplab/tuliplab-P00.tex create mode 100644 macros/latex/contrib/powerdot-tuliplab/tuliplab-P01.tex create mode 100644 macros/latex/contrib/powerdot-tuliplab/tuliplab-P02.tex (limited to 'macros/latex/contrib/powerdot-tuliplab') diff --git a/macros/latex/contrib/powerdot-tuliplab/README.md b/macros/latex/contrib/powerdot-tuliplab/README.md new file mode 100644 index 0000000000..a86f5175bc --- /dev/null +++ b/macros/latex/contrib/powerdot-tuliplab/README.md @@ -0,0 +1,133 @@ + +`Powerdot` [TULIP Lab](http://www.tulip.org.au) Style Package +================== + +`powerdot-tuliplab` is the latex package used in TULIP Lab for presentation drafting. It comes with several sample `tex` files so that you can quickly start working with it. + +If you are creating a presentation using this package, you are recommended to use `git` to host the repository, and use `git-flow` to manage the collaborative writing platform for academic presentation authoring. + + +--- +## I. Required Packages +--- + +You should be familiar with `LaTeX`, if not, you need learn it from [WikiBook](https://en.wikibooks.org/wiki/LaTeX). + +We recommend the following packages for cross platform writing: + +* [TeXLive!](https://tug.org/texlive/) with `powerdot` package +* [SmartGit](https://www.syntevo.com/smartgit/) +* [Bitbucket](http://bitbucket.org) or [GitHub](https://github.com/) + +--- +## II. Contained Files +--- + +This package contains the following files + +1. `powerdot-tuliplab.sty` TULIP-Lab Style File +2. `tuliplab-P00.tex` A Simple Presentation Sample with Transitions +3. `tuliplab-P01.tex` One Academic Presentation Sample with References List +4. `tuliplab-P03.tex` One Sample file with PSTrick figures. +5. `logos/tulip` Folder of images for slides graphics. + +You can use replace `logos/tulip.eps`, `logos/tulip-wordmark.eps` with your favorite images. Four alternatives are also provided in the folder for top left picture, two banner options provided. + +--- +## III. Package Installation +--- + +1. Copy files the whole folder `powerdot-tuliplab` with file `powerdot-tuliplab.sty` and folder `logos` folders to your home directory under `~/texmf/tex/latex/powerdot-tuliplab`; for `macOS`, please put it under `/usr/local/texlive/texmf-local/tex/latex` + +2. Refresh `TexLive` by typing the following command: + +```shell +cd +sudo texhash +``` + +For `Mktex` on `Windows`, you can run `mktexlsr` + + +3. For compiling, you should use the chain operators `LaTeX -> DVI`, and then `DVI -> PS`, finally `PS -> PDF`. + + + +--- +## IV. Setup the Repository for Your Own Presentation Slides +--- + +Those examples provided in this package can be used as the template, and I recommend you create a new repository in your `git` platform, initialized with one sample `tex` file in this package. + +1. Customize the file name: + - change `tuliplab-P0X.tex` into a suitable file name + + +1. Check out the repository to local drive, and set up the local environment for `gitinfo2` package: + + + - Download/copy those files from `https://github.com/tulip-lab/templatex/tree/develop/templatex/gitinfo`, which is the `gitinfo` folder with three executive `bash` `shell` scripts: + * `post-checkout` + * `post-commit` + * `post-merge` + + - Copy or move these three files into your repository's `.git/hooks` folder. + - For example, if the root of your local repositories is `~/MyFancySlides`, then you can copy/move above three files to `~/MyFancySlides/.git/hooks/`. + + - Test Run: check out or pull your repository, and it should generate/update the file `./git/gitHeadInfo.gin` in your local repository. + - For example: check `~/MyFancySlides/.git/gitHeadInfo.gin`. + + - Compile the main `LaTeX` file, and view the `PDF`. + +1. Happy LaTeXing! + +## V. Rules for Collaborative LaTeXing +--- + +You MUST follow the following rules when writing collaboratively. Otherwise, your co-author will find it impossible to work together. + +### III.A. LaTeX Source Code + +1. Avoid **ineffective** modifications. + +1. Do not change line breaks without good reason. + +1. Turn off automatic line wrapping of your LaTeX editor. + +1. Start each new sentence in a new line. + +1. Split long sentences into several lines so that each line has at most `80` characters. + +1. For all the marginal comments by other co-authors, you MUST responed to them using a responsive marginal comment, such as + + ```latex + \gangli{What is wrong here?} + \qwu{This is my response ...} + ``` + +1. If your comment has been properly addressed by co-authors, you **MUST** remove or comment out both the *original* and the *response* marginal comments. + + +1. You can use the following code to indicate where you are updating up to: + + ```latex + \HRule %TODO: YourName up to here! + ``` + +### III. B. Repository + +1. Put only those files that are directly modified by the user under version control. + +1. Verify that your code can be compiled flawlessly before - committing your modifications to the repository. + +1. Use `git-latexdiff` or `latediff` (or `git` compare tools) to critically review your modifications before committing them to the repository. + +1. Add a meaningful and descriptive comment when committing your modifications to the repository. + +1. Use the `git` client for copying, moving, or renaming files and folders that are under revision control. + +1. Use `git-flow` scheme to create `feature`, `branch`, `release` and `version` of your paper. Be really careful when you are touching `develop` or `master` branch. + + + + diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip-logo.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip-logo.eps new file mode 100644 index 0000000000..0a17e4e2d9 Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip-logo.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip-wordmark.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip-wordmark.eps new file mode 100644 index 0000000000..d0f92ad5e5 Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip-wordmark.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip.eps new file mode 100644 index 0000000000..d5c845a42f Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark0.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark0.eps new file mode 100644 index 0000000000..e0d1e4278a Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark0.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark1.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark1.eps new file mode 100644 index 0000000000..d0f92ad5e5 Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip-wordmark1.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip0.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip0.eps new file mode 100644 index 0000000000..32f942b6d2 Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip0.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip1.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip1.eps new file mode 100644 index 0000000000..df28e932ff Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip1.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip2.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip2.eps new file mode 100644 index 0000000000..113dac99fc Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip2.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip3.eps b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip3.eps new file mode 100644 index 0000000000..d5c845a42f Binary files /dev/null and b/macros/latex/contrib/powerdot-tuliplab/logos/tulip/tulip3.eps differ diff --git a/macros/latex/contrib/powerdot-tuliplab/powerdot-tuliplab.sty b/macros/latex/contrib/powerdot-tuliplab/powerdot-tuliplab.sty new file mode 100644 index 0000000000..b2ea2c469a --- /dev/null +++ b/macros/latex/contrib/powerdot-tuliplab/powerdot-tuliplab.sty @@ -0,0 +1,197 @@ +%% +%% --------------------------------------------------------------- +%% Copyright (C) 2012-2018 Gang Li +%% --------------------------------------------------------------- +%% +%% This work is a modification of the default powerdot style and may be +%% distributed and/or modified under the conditions of the LaTeX Project Public +%% License, either version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +%% distributions of LaTeX version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Gang Li. +%% +%% + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-tuliplab}[2011/04/25 v1.4g default style (HA)] +\RequirePackage{pifont} + +\definecolor{pdcolor1}{rgb}{.17,.31,.44} +\definecolor{pdcolor2}{rgb}{.75,.85,.92} +\definecolor{pdcolor3}{rgb}{.9,.95,.98} +\pddefinepalettes{purple}{ + \colorlet{pdcolor1}{pdcolor1>wheel,45} + \colorlet{pdcolor2}{pdcolor2>wheel,45} + \colorlet{pdcolor3}{pdcolor3>wheel,45} +} + +% clockrefresh=60000, +% clockhook=bl, +% clockpos=, +% clockwidth=3cm, +% clockheight=\baselineskip, +% clockcharsize=16pt, +% clockalign=2, +% clockcolor=red, + + +%% TOP Left Image +\newbox\pd@imagebox +\pdifsetup{landscape}{% + \sbox\pd@imagebox{\includegraphics[%trim=50 20 0 20,clip,% + width=.17\slidewidth,height=.1\slideheight]{logos/tulip.eps}% + }% +}{% + \sbox\pd@imagebox{\includegraphics[%trim=170 0 80 0,clip,% + width=.17\slidewidth,height=.1\slideheight]{logos/tulip.eps}% + }% +} + +%% Bottom banner +\newbox\pd@wordmark +\pdifsetup{landscape}{ + \sbox\pd@wordmark{\includegraphics[width=0.3\slidewidth%]scale=.15% %0.2 + ]{logos/tulip-wordmark.eps}% + } +}{ + \sbox\pd@wordmark{\includegraphics[width=0.3\slidewidth%[scale=.15% %0.3 + ]{logos/tulip-wordmark.eps}% + } +} +% defining the seal +\newbox\pd@seal +\pdifsetup{landscape}{ + \sbox\pd@seal{\includegraphics[ + width=.2\slidewidth]{logos/tulip-logo.eps}% + } +}{ + \sbox\pd@seal{\includegraphics[ + width=.2\slidewidth]{logos/tulip-logo.eps}% +% width=.12\slidewidth,height=.12\slidewidth]{logos/tulip-logo.eps}% + } +} + +%% TITLE PAGE +\pddefinetemplate{titleslide}{% + titlefont=\large\bfseries\centering, + % clockcolor=pdcolor3,clockpos={.5\slidewidth,.5\slideheight}, + rftemp=\pd@@rf, + lfpos={.03\slidewidth,.04\slideheight}, + cfpos={.5\slidewidth,.04\slideheight}, + rfpos={.97\slidewidth,.04\slideheight}, + texthook=t,textpos={.5\slidewidth,.7\slideheight}, + textwidth=.9\slidewidth,textfont=\centering, + textheight=.6\slideheight +}{% +%% TODO: psframe (a,b)(c,d) +%% where a, b specifies the left corner, +%% c, d specifies right corner +%% value at left botton is (0,0) + \psframe*[linecolor=pdcolor2,linewidth=0pt]% + (0,0)(\slidewidth,.1\slideheight)% + \psframe*[linecolor=pdcolor3,linewidth=0pt]% + (0,\slideheight)(\slidewidth,.8\slideheight)% + \rput[bl](.05\slidewidth,.08\slideheight){\usebox\pd@seal}% + \psline[linecolor=pdcolor3]% + (.01\slidewidth,.8\slideheight)(0.99\slidewidth,.8\slideheight)% + \psline[linecolor=pdcolor1]% + (0,.8\slideheight)(\slidewidth,.8\slideheight)% +} + +\pddefinetemplate{basic}{% + titlepos={.2\slidewidth,.93\slideheight}, + titlewidth=.75\slidewidth,textheight=.68\slideheight, + titlefont=\large\bfseries\raggedright, + % clockcolor=pdcolor3,clockpos={.5\slidewidth,.5\slideheight}, + lfpos={.03\slidewidth,.04\slideheight}, + cfpos={.5\slidewidth,.04\slideheight}, + rfpos={.97\slidewidth,.04\slideheight}, + tocslidesep=.6ex, + toctcolor=pdcolor1, + tochlcolor=pdcolor1, + tochltcolor=pdcolor3, + ifsetup=portrait, + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + tocsecsep=.6ex, + stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.52\slidewidth,.09\slideheight}, + ifsetup=landscape, + textpos={.2\slidewidth,.83\slideheight}, + textwidth=.75\slidewidth +}{% + \psframe*[linecolor=pdcolor2,linewidth=0pt]% + (0,0)(\slidewidth,.1\slideheight)% + \psframe*[linecolor=pdcolor3,linewidth=0pt]% + (0,\slideheight)(\slidewidth,.9\slideheight)% + \rput(.16\slidewidth,.048\slideheight){\usebox\pd@wordmark}% + \rput[tl](0,\slideheight){\usebox\pd@imagebox}% +% positioning of slide nr and date +% \rput[rb](.97\slidewidth,.010\slideheight){\black \tiny (\theslide)} +% \rput[lb](.03\slidewidth,.010\slideheight){\black \tiny \@date} +} +% }{% +% % positioning of maroon lines and logo +% \psframe*[linecolor=pdcolor3,linewidth=0pt]% +% (.01\slidewidth,.91\slideheight)(.99\slidewidth,.915\slideheight)% +% \psframe*[linecolor=pdcolor2,linewidth=0pt]% +% (0,0)(\slidewidth,.1\slideheight)% +% % \psframe*[linecolor=pdcolor3,linewidth=0pt]% +% % (.0\slidewidth,.080\slideheight)(.99\slidewidth,.055\slideheight)% +% \rput[rb](.98\slidewidth,.06\slideheight){\usebox\pd@wordmark}% +% % positioning of slide nr and date +% \rput[rb](.97\slidewidth,.010\slideheight){\black \tiny \theslide} +% \rput[lb](.03\slidewidth,.010\slideheight){\black \tiny \@date} +% } + + + +\pddefinetemplate[basic]{wideslide}{% + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth}{ + \psframe*[linecolor=pdcolor2,linewidth=0pt]% + (0,0)(\slidewidth,.1\slideheight)% +\rput[bl](.05\slidewidth,.08\slideheight){\usebox\pd@seal}% +} +\pddefinetemplate[basic]{slide}{% + ifsetup=landscape, + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1](-.05,-.05)(.143\slidewidth,-.05)} +}{% + \pdifsetup{landscape}{% + \psframe[fillstyle=solid,fillcolor=pdcolor3,linestyle=none,% + linewidth=0pt](0,.9\slideheight)(.17\slidewidth,.1\slideheight)% + }{}% +} +\pddefinetemplate[slide]{sectionslide}{% + titlehook=c,titlefont=\Large\bfseries\centering, + ifsetup=landscape, + titlepos={.575\slidewidth,.55\slideheight}, + ifsetup=portrait, + titlewidth=.9\slidewidth, + titlepos={.5\slidewidth,.55\slideheight} +}{} +\pddefinetemplate[wideslide]{sectionwideslide}{ + titlehook=c,titlefont=\Large\bfseries\centering, + titlewidth=.9\slidewidth, + titlepos={.5\slidewidth,.55\slideheight} +}{} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} +\def\labelitemi{\footnotesize\ding{110}} +\def\labelitemii{\small\ding{117}} +\def\labelitemiii{\tiny\ding{110}} +\def\labelitemiv{\tiny\ding{117}} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\def\rmdefault{cmss} +\endinput +%% +%% +%% End of file `powerdot-tuliplab.sty'. diff --git a/macros/latex/contrib/powerdot-tuliplab/tuliplab-P00.tex b/macros/latex/contrib/powerdot-tuliplab/tuliplab-P00.tex new file mode 100644 index 0000000000..cc9558a568 --- /dev/null +++ b/macros/latex/contrib/powerdot-tuliplab/tuliplab-P00.tex @@ -0,0 +1,442 @@ +% +% --------------------------------------------------------------- +% Copyright (C) 2012-2018 Gang Li +% --------------------------------------------------------------- +% +% This work is the default powerdot-tuliplab style test file and may be +% distributed and/or modified under the conditions of the LaTeX Project Public +% License, either version 1.3 of this license or (at your option) any later +% version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2003/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% This Current Maintainer of this work is Gang Li. +% +% + +\documentclass[ + size=12pt, + paper=smartboard, %a4paper, smartboard, screen + mode=present, %present, handout, print + display=slides, % slidesnotes, notes, slides +% nohandoutpagebreaks, +% pauseslide, +style=tuliplab, +% nopagebreaks,clock +% hlentries=true, +% hlsections = true, +pauseslide, +fleqn,leqno]{powerdot} + +\hypersetup{pdfpagemode=FullScreen} +% \usepackage[toc,highlight,blackslide,slidesonly,sounds,HA]{HA-prosper} + +\usepackage{amssymb} +\usepackage{amsmath} +\usepackage{rotating} +\usepackage{graphicx} +\usepackage{boxedminipage} +\usepackage{media9} +\usepackage{rotate} +\usepackage{calc} +\usepackage[absolute]{textpos} +\usepackage{psfrag,overpic} +\usepackage{fouriernc} +\usepackage{pstricks,pst-node,pst-text,pst-3d,pst-grad} +\usepackage{moreverb,epsfig,color,subfigure} +\usepackage{color} +\usepackage{pstricks} +\usepackage{pstricks-add} +\usepackage{pst-text} +\usepackage{pst-node, pst-tree} +\usepackage{booktabs} +\usepackage{etex} +\usepackage{breqn} +\usepackage{multirow} +\usepackage{gitinfo2} + + +\usepackage{listings} +\lstset{frameround=fttt, +frame=trBL, +stringstyle=\ttfamily, +backgroundcolor=\color{yellow!20}, +basicstyle=\footnotesize\ttfamily} +\lstnewenvironment{code}{ +\lstset{frame=single,escapeinside=`', +backgroundcolor=\color{yellow!20}, +basicstyle=\footnotesize\ttfamily} +}{} + + +\usepackage{fouriernc} +\usepackage{hyperref} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% title +% TODO: Customize to your Own Title, Name, Address +% +\title{Presentation Title} +\author{ +Gang Li +\\ +Deakin University +% \href{mailto:gangli@acm.org}{gangli@acm.org} +% \and % more authors +} +\date{\gitCommitterDate} + + +% Customize the setting of slides +\pdsetup{ +% theslide=\arabic{slide}~/~\pageref*{lastslide}, +% theslide=\arabic{slide}, +rf=\href{http://www.tulip.org.au} +{\copyright \emph{TULIP Lab} (\textsl{\gitCommitterName}\ \gitVtagn-\gitBranch)}, +cf=\hyperlink{blankslide}{Powerdot Example}, +trans=Fade, +list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}, +% counters={theorem,lemma}, +% randomdots,dmaxdots=80 +} + + +\begin{document} + +\maketitle + +\begin{slide}[toc=,bm=]{Overview} +\tableofcontents[content=sections] +\end{slide} +\section{First section} +\begin{slide}[toc=,bm=]{Overview of the first section} +\tableofcontents[content=currentsection,type=1] +\end{slide} +\begin{slide}{Some slide} +\end{slide} + +\begin{slide}{Content} + \begin{itemize} + \item Introduction\pause + \item Background + \item Method \pause + \begin{itemize} + \item Algorithm + \item Proof + \end{itemize} + \item Experiment + \item Conclusions + \end{itemize} +\end{slide} + + +\section{Itemize Pause} + + +\begin{slide}{Pause longer} +\begin{itemize} +\item A \pause +\item B \pause[2] +\item C +\end{itemize} +\end{slide} + + +\begin{slide}{Multiple pauses} +power\pause dot \pause +\begin{itemize} +\item Let me pause\ldots \pause +\item \ldots while I talk \pause and chew bubble gum. \pause +\item Perhaps you’ll be persuaded. +\item Perhaps not. +\end{itemize} +\end{slide} + + +\begin{slide}{Type 1 itemize} +\begin{itemize}[type=1] +\item A \pause +\item B \pause +\item C +\end{itemize} +\end{slide} + +\begin{slide}{Type 1 enumerate} +\begin{enumerate}[type=1]%[label=\romani*)] +\item A \pause +\item B \pause +\item C +\end{enumerate} +\end{slide} + + +\begin{slide}{Nested lists} +\begin{itemize} +\item A\pause +\begin{itemize}[type=1] +\item B\pause +\end{itemize} +\item C +\end{itemize} +\end{slide} + +\section{Overlay} + +\begin{slide}{Active itemize} +\begin{itemize}[type=1] +\item<1> A +\item<2> B +\item<3> C +\end{itemize} +\end{slide} + +\begin{slide}{Simple onslide} +\onslide{1,2}{power}\onslide{2}{dot} +\end{slide} + +\begin{slide}{Simple onslide+} +\texttt{onslide }: \onslide{1}{power}\onslide{2}{dot}\\ +\texttt{onslide+}: \onslide+{1}{power}\onslide+{2}{dot} +\end{slide} + +\begin{slide}{Simple onslide*} +\texttt{onslide }: \onslide{1}{power}\onslide{2}{dot}\\ +\texttt{onslide+}: \onslide+{1}{power}\onslide+{2}{dot}\\ +\texttt{onslide*}: \onslide*{1}{power}\onslide*{2}{dot} +\end{slide} + +\begin{slide}{Lists} +\onslide{10}{on overlay 10 only}\par +\onslide{-5}{on every overlay before and including overlay 5}\par +\onslide{5-}{on every overlay after and including overlay 5}\par +\onslide{2-5}{on overlays 2 through 5, inclusive}\par +\onslide{-3,5-7,9-}{on every overlay except overlays 4 and 8} +\end{slide} + +\begin{slide}{Relative overlays} +\begin{itemize} +\item A \pause +\item B \onslide{+1}{(visible 1 overlay after B)}\pause +\item C \onslide{+2-}{(appears 2 overlays after C, visible until the end)} +\pause +\item D \onslide{+1-6}{(appears 1 overlay after D, visible until overlay 6)} +\pause +\item E \pause +\item F \pause +\item G \onslide{+1-+3}{(appears 1 overlay after G for 3 overlays)}\pause +\item H \pause +\item I \pause +\item J \pause +\item K +\end{itemize} +\end{slide} + + +\begin{slide}{Slide 2} + \begin{itemize} + \item<1-> Here + \begin{itemize} + \item<2-> we + \begin{itemize} + \item<3-> demonstrate + \begin{itemize} + \item<4-> the itemize environment + \end{itemize} + \end{itemize} + \end{itemize} + \end{itemize} +\end{slide} + +\begin{slide}{Slide 3} + \begin{enumerate}[type=1] + \item<1> Here + \begin{enumerate} + \item<2> we + \begin{enumerate} + \item<3> demonstrate + \begin{enumerate} + \item<4> the enumerate environment + \end{enumerate} + \end{enumerate} + \end{enumerate} + \end{enumerate} +\end{slide} + + +\section{Codings} + +\begin{slide}[method=direct]{Slide 2} +Steps 1 and 2: +\begin{code} +compute a;`\pause' +compute b; +\end{code} +\end{slide} + +\begin{slide}[method=file]{Slide 3} +Steps 1 and 2: +\begin{code} +compute a;`\pause' +compute b; +\end{code} +\end{slide} + + +%% Coding Example +\begin{slide}[method=direct]{Hello World in C} + \begin{lstlisting}[language=c,gobble=4] + #include + + int main(int c, char **v) { + fprintf(stdout, "Hello, world!\n"); + return 0; + } + \end{lstlisting} +\end{slide} +\begin{note}{Personal Note} + This is a test. Let us try +\begin{description} + \item[ab] ab + \item[bb] ab + \item[bb] ab +\end{description} +\end{note} + +\section{Citations} + +\begin{slide}{Cite} +\cite{someone} +\end{slide} + +\begin{slide}{References} +\begin{thebibliography}{1} +\bibitem{someone} Article of someone. +\end{thebibliography} +\end{slide} + +% \begin{slide}{References (1)} +% \bibliographystyle{plain} +% \nobibliography{YourBib} +% \bibentry{someone1} +% \bibentry{someone2} +% \end{slide} +% \begin{slide}{References (2)} +% \bibentry{someone3} +% \end{slide} + +% \begin{slide}{Slide} +% \cite{someone} +% \end{slide} +% +% \begin{slide}{References} +% \bibliographystyle{plain} +% % \bibliography{YourBib} +% \end{slide} + + +\section{Two Columns} + +\begin{slide}{Two columns} +Here are two columns. + +\twocolumn[ +lfrprop={linestyle=dotted,linewidth=3pt}, +lfrheight=4cm,rfrheight=5cm,lineheight=3cm,topsep=0.3cm +]{left}{right} + +% \hline +Another two columns: + +\twocolumn[ +\savevalue{lfrheight}=3cm, +\savevalue{lfrprop}={ +linestyle=dotted,framearc=.2,linewidth=3pt}, +rfrheight=\usevalue{lfrheight}, +rfrprop=\usevalue{lfrprop} +]{left}{right} + + +Those were two columns. +\end{slide} + +\begin{slide}[method=direct]{Two Columns} + \begin{lstlisting}[language=c,gobble=4] + #include + + int main(int c, char **v) { + fprintf(stdout, "Hello, world!\n"); + return 0; + } + \end{lstlisting} +Another two columns: + +\twocolumn[ +\savevalue{lfrheight}=3cm, +\savevalue{lfrprop}={ +linestyle=dotted,framearc=.2,linewidth=3pt}, +rfrheight=\usevalue{lfrheight}, +rfrprop=\usevalue{lfrprop} +]{ +\begin{itemize} +\item A \pause +\item B \pause[2] +\item C +\end{itemize} +} +{ + \centerline{\includegraphics[scale=.3]{logos/tulip-logo.eps}} +} + +\end{slide} + + + +\section{Misc} + +\begin{emptyslide}{} +\centering +\vspace{\stretch{1}} +\includegraphics[height=0.8\slideheight]{logos/tulip-logo.eps} +\vspace{\stretch{1}} +\end{emptyslide} + + +\begin{slide}[toc=,bm={LaTeX, i*i=-1}]{\color{red}\LaTeX, $i^2=-1$} +My slide contents. +\end{slide} + +%%========================================================================================== +% TODO: Contact Page +\begin{wideslide}[toc=,bm=]{Contact Information} +\centering +\vspace{\stretch{1}} +\twocolumn[ +lcolwidth=0.35\linewidth, +rcolwidth=0.65\linewidth +] +{ +% \centerline{\includegraphics[scale=.2]{tulip-logo.eps}} +} +{ +\vspace{\stretch{1}} +Associate Professor \emph{Gang Li}\\ +School of Information Technology\\ +Deakin University, Geelong, Australia +\begin{description} + \item[Email] \href{mailto:gangli@acm.org} + {\textsc{\footnotesize{gangli@acm.org}}} + + \item[Lab] \href{http://www.tulip.org.au} + {\textsc{\footnotesize{Team for Universal Learning and Intelligent Processing}}} +\end{description} +} +\vspace{\stretch{1}} +\end{wideslide} + + + +\end{document} + +\endinput diff --git a/macros/latex/contrib/powerdot-tuliplab/tuliplab-P01.tex b/macros/latex/contrib/powerdot-tuliplab/tuliplab-P01.tex new file mode 100644 index 0000000000..2829036732 --- /dev/null +++ b/macros/latex/contrib/powerdot-tuliplab/tuliplab-P01.tex @@ -0,0 +1,461 @@ +% +% --------------------------------------------------------------- +% Copyright (C) 2012-2018 Gang Li +% --------------------------------------------------------------- +% +% This work is the default powerdot-tuliplab style test file in TULIP Lab and may be +% distributed and/or modified under the conditions of the LaTeX Project Public +% License, either version 1.3 of this license or (at your option) any later +% version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +% distributions of LaTeX version 2003/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% This Current Maintainer of this work is Gang Li. +% +% + +% Document Class +\documentclass[ + size=12pt, + paper=smartboard, %a4paper, smartboard, screen + mode=present, %present, handout, print + display=slides, % slidesnotes, notes, slides + style=tuliplab, % TULIP Lab style + pauseslide, + fleqn,leqno]{powerdot} + +\usepackage{amssymb} +\usepackage{amsmath} +\usepackage{rotating} +\usepackage{graphicx} +\usepackage{boxedminipage} +\usepackage{media9} +\usepackage{rotate} +\usepackage{calc} +\usepackage[absolute]{textpos} +\usepackage{psfrag,overpic} +\usepackage{fouriernc} +\usepackage{pstricks,pst-node,pst-text,pst-3d,pst-grad} +\usepackage{moreverb,epsfig,color,subfigure} +\usepackage{color} +\usepackage{pstricks} +\usepackage{pstricks-add} +\usepackage{pst-text} +\usepackage{pst-node, pst-tree} +\usepackage{booktabs} +\usepackage{etex} +\usepackage{breqn} +\usepackage{multirow} +\usepackage{gitinfo2} +% \usepackage{pst-rel-points} + +\usepackage{listings} +\lstset{frameround=fttt, +frame=trBL, +stringstyle=\ttfamily, +backgroundcolor=\color{yellow!20}, +basicstyle=\footnotesize\ttfamily} +\lstnewenvironment{code}{ +\lstset{frame=single,escapeinside=`', +backgroundcolor=\color{yellow!20}, +basicstyle=\footnotesize\ttfamily} +}{} + + +\usepackage{hyperref} +\hypersetup{ % TODO: PDF meta Data + pdftitle={Presentation Title}, + pdfauthor={Gang Li}, + pdfpagemode={FullScreen}, + pdfborder={0 0 0} +} + + +% \usepackage{auto-pst-pdf} +% package to show source code + +\definecolor{LightGray}{rgb}{0.9,0.9,0.9} +\newlength{\pixel}\setlength\pixel{0.000714285714\slidewidth} +\setlength{\TPHorizModule}{\slidewidth} +\setlength{\TPVertModule}{\slideheight} +\newcommand\highlight[1]{\fbox{#1}} +\newcommand\icite[1]{{\footnotesize [#1]}} + +\newcommand\twotonebox[2]{\fcolorbox{pdcolor2}{pdcolor2} +{#1\vphantom{#2}}\fcolorbox{pdcolor2}{white}{#2\vphantom{#1}}} +\newcommand\twotoneboxo[2]{\fcolorbox{pdcolor2}{pdcolor2} +{#1}\fcolorbox{pdcolor2}{white}{#2}} +\newcommand\vpspace[1]{\vphantom{\vspace{#1}}} +\newcommand\hpspace[1]{\hphantom{\hspace{#1}}} +\newcommand\COMMENT[1]{} + +\newcommand\placepos[3]{\hbox to\z@{\kern#1 + \raisebox{-#2}[\z@][\z@]{#3}\hss}\ignorespaces} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% title +% TODO: Customize to your Own Title, Name, Address +% +\title{Presentation Title} +\author{ +Gang Li +\\ +Deakin University +% \href{mailto:gangli@acm.org}{gangli@acm.org} +% \and % more authors +} +\date{\gitCommitterDate} + + +% Customize the setting of slides +\pdsetup{ +% TODO: Customize the left footer, and right footer +rf=\href{http://www.tulip.org.au} +{\copyright \emph{TULIP Lab} (\textsl{\gitCommitterName}\ \gitVtagn-\gitBranch)}, +cf={Presentation Title}, +} + + +% Starts the document +\begin{document} + +\maketitle + +%%========================================================================================== +%% +\begin{slide}[toc=,bm=]{Table of Content} + \tableofcontents[type=1,content=futuresections] +% \tableofcontents[content=sections] +\end{slide} +%% +%%========================================================================================== + +\section{Background} + +\begin{slide}{Pause longer} +\begin{itemize} +\item A \pause +\item B \pause[2] +\item C +\end{itemize} +\end{slide} + + +\section{Aggregation Functions} + + +%%========================================================================================== +%% +\begin{slide}{Multi-Criteria Decision Making} +\twotonebox{Problem}{\parbox{.8\textwidth} +{A customer wants to select a product +that is \emph{inexpensive}, \emph{good quality}, +and with \emph{good service}. +Choices have been narrowed down to three products +with following utility values: +}} +\smallskip +\begin{tabular}{ c| c c c | c } +\toprule +\centering +\texttt{Product} & \texttt{Price} & \texttt{Quality} & \texttt{Service} & Overall Rating \\ +\midrule +\onslide*{2}{\textcolor{red}{$P_1$}} \onslide*{-1,3-}{{$P_1$}} +& \onslide*{2}{\textcolor{red}{$0.4$}} \onslide*{-1,3-}{{$0.4$}} +& \onslide*{2}{\textcolor{red}{$0.3$}} \onslide*{-1,3-}{{$0.3$}} +& \onslide*{2}{\textcolor{red}{$0.8$}} \onslide*{-1,3-}{{$0.8$}} +& \onslide*{2}{\textcolor{red}{?}} \onslide*{-1,3-}{{?}} \\ +\onslide*{3}{\textcolor{red}{$P_2$}} \onslide*{-2,4-}{{$P_2$}} +& \onslide*{3}{\textcolor{red}{$0.1$}} \onslide*{-2,4-}{{$0.1$}} +& \onslide*{3}{\textcolor{red}{$0.6$}} \onslide*{-2,4-}{{$0.6$}} +& \onslide*{3}{\textcolor{red}{$0.5$}} \onslide*{-2,4-}{{$0.5$}} +& \onslide*{3}{\textcolor{red}{?}} \onslide*{-2,4-}{{?}} \\ +\onslide*{4}{\textcolor{red}{$P_3$}} \onslide*{-3,5-}{{$P_3$}} +& \onslide*{4}{\textcolor{red}{$0.6$}} \onslide*{-3,5-}{{$0.6$}} +& \onslide*{4}{\textcolor{red}{$0.4$}} \onslide*{-3,5-}{{$0.4$}} +& \onslide*{4}{\textcolor{red}{$0.3$}} \onslide*{-3,5-}{{$0.3$}} +& \onslide*{4}{\textcolor{red}{?}} \onslide*{-3,5-}{{?}} \\ +\bottomrule +\end{tabular} +\bigskip +\begin{center} + \onslide{5}{\twotonebox{\Huge ?}{\large \emph{Which is the \textcolor{red}{best} product}}} +\end{center} +\end{slide} +%% +%%========================================================================================== + +%%========================================================================================== +%% +\begin{slide}[toc=,bm=]{Aggregation Functions --- WAM} +\twotonebox{Problem}{\parbox{.8\textwidth} +{A customer wants to select a product +that is \emph{inexpensive}, \emph{good quality}, +and with \emph{good service}. +Choices have been narrowed down to three products +with following utility values: +}} +\smallskip +\begin{tabular}{ c| c c c | c } +\toprule +\centering +\texttt{Product} & \texttt{Price} & \texttt{Quality} & \texttt{Service} & Overall Rating \\ +\midrule +\onslide*{3}{\textcolor{red}{$P_1$}} \onslide*{-2,4-}{{$P_1$}} +& \onslide*{3}{\textcolor{red}{$0.4$}} \onslide*{-2,4-}{{$0.4$}} +& \onslide*{3}{\textcolor{red}{$0.3$}} \onslide*{-2,4-}{{$0.3$}} +& \onslide*{3}{\textcolor{red}{$0.8$}} \onslide*{-2,4-}{{$0.8$}} +& \onslide*{3}{\textcolor{red}{?}} \onslide*{4-}{{$0.475$}} \\ +\onslide*{4}{\textcolor{red}{$P_2$}} \onslide*{-3,5-}{{$P_2$}} +& \onslide*{4}{\textcolor{red}{$0.1$}} \onslide*{-3,5-}{{$0.1$}} +& \onslide*{4}{\textcolor{red}{$0.6$}} \onslide*{-3,5-}{{$0.6$}} +& \onslide*{4}{\textcolor{red}{$0.5$}} \onslide*{-3,5-}{{$0.5$}} +& \onslide*{4}{\textcolor{red}{?}} \onslide*{5-}{{$0.325$}} \\ +\onslide*{5}{\textcolor{red}{$P_3$}} \onslide*{-4,6-}{{$P_3$}} +& \onslide*{5}{\textcolor{red}{$0.6$}} \onslide*{-4,6-}{{$0.6$}} +& \onslide*{5}{\textcolor{red}{$0.4$}} \onslide*{-4,6-}{{$0.4$}} +& \onslide*{5}{\textcolor{red}{$0.3$}} \onslide*{-4,6-}{{$0.3$}} +& \onslide*{5}{\textcolor{red}{?}} \onslide*{6-}{{\rnode{t1}{$0.950$}}} \\ +\midrule +\onslide*{2-}{\texttt{Weights}} +& \onslide*{2-}{$0.5$} +& \onslide*{2-}{$0.25$} +& \onslide*{2-}{$0.25$} & \\ +\bottomrule +\end{tabular} +\smallskip +\twocolumn[lcolwidth=.54\textwidth,rcolwidth=.34\textwidth] +{\scriptsize +\begin{itemize}[type=0] + \item<2-> Weighted Arithmetic Mean +% \tiny +\begin{description}[type=0] + \item[$P_1$]<3-> $0.5(0.4)+0.25(0.3)+0.25(0.8) = 0.475$\\ + \item[$P_2$]<4-> $0.5(0.1)+0.25(0.6)+0.25(0.5) = 0.325$\\ + \item[$P_3$]<5-> $0.5(0.6)+0.25(0.4)+0.25(0.3) = 0.950$ +\end{description} +\end{itemize} +} +{ +\medskip %\vspace{.5cm} +\vspace{\stretch{1}} +\onslide*{7-}{\centering \twotonebox{?}{ +\emph{the +\onslide*{7}{\textcolor{red}{best}} +\onslide*{8-}{\rnode[tc]{T1}{\textcolor{red}{best}} +\psset{arrowscale=2,arrows=->} +\nccurve[linecolor=red,angleA=45,angleB=180]{T1}{t1}} +product}}} +} +\vspace{\stretch{1}} +\end{slide} +%% +%%========================================================================================== +%%========================================================================================== +%% +\begin{slide}[toc={Choquet Integral},bm=]{Fuzzy Measure} +\twotonebox{\rotatebox{0}{Definition}}{\parbox{.8\textwidth} +{ +A \emph{fuzzy measure} is a set of functions $v: 2^N \to [0,1]$ +on all possible combinations of $n$ criteria, +which satisifies: +\begin{itemize} + \item $v(A) \le v(B)$ whenever $A \subset B$; + \item $v(\emptyset) = 0$ and $v(N) = 1$. +\end{itemize} +}} +\medskip +\onslide*{2-}{ \begin{itemize} +\item Since $A \subseteq N$ is a \emph{coalition} of criteria, +$v(A)$ represents the importance of this coalition. +\end{itemize} +} +\end{slide} +%% +%%========================================================================================== + +%%========================================================================================== +%% +\begin{slide}[toc=,bm=]{\emph{Choquet Integral} --- Summary} +\begin{itemize}[type=1] +\item<1-> The Choquet Integral generalises many important aggregation functions including +the \emph{mean}, \emph{weighted arithmetic mean}, \emph{maximum}, +\emph{minimum} and \emph{ordered weighted average}. +\begin{itemize}[type=1] +\item<2-> Unlike WAM which allocates a weight to each input, +it assigns a weight to all the subsets of inputs, +hence $2^n$ parameters. +\end{itemize} +\item<3-> \emph{K-Additivity}: +$k$-additive fuzzy measures model no interaction of groups with more than $k$ criteria +\begin{itemize}[type=1] + \item<4-> It allows an arbitrary reduction in complexity at the expense of modelling ability. + \item<5-> In the case of $3$-addivitity, +we can model the interactions of pairs and triples, +but not of larger groups. +\end{itemize} +\end{itemize} +\end{slide} +%% +%%========================================================================================== + + +\section{Application and Analysis} + +%%========================================================================================== +%% +\begin{slide}{Data Collection} +\begin{description}[type=1] +\item[Source] <1-> +\emph{Tripadvisor} website (\url{www.tripadvisor.com}) +\item[Extractor] <2-> +\emph{Visual Web Ripper} %(\url{www.visualwebripper.com}) +\item[Data] <3-> +\begin{itemize} + \item<4-> $8561$ records about ratings on \emph{Singapore} hotel \emph{features} and overall \emph{ratings}; + \item<5-> \emph{Demographic}, \emph{Region}, \emph{Travel Types}, etc +\end{itemize} +\end{description} +% \medskip +\end{slide} +%% +%%========================================================================================== + +%%========================================================================================== +%% +\begin{slide}[toc=,bm=]{Data Collection} +\begin{itemize} + \item<1-> Hotel Rating Data Collections: +\end{itemize} +\onslide*{2-} +{ \footnotesize \centering +\begin{tabular}{cccr} +\toprule +\textbf{Travel Type} & \textbf{Region} & \multicolumn{1}{c}{\textbf{Size}}\\ +\midrule +\multirow{4}{*}{Business} & Asia & $1210$ instances\\ + & Europe & $581$ instances\\ + & North America & $407$ instances \\ + & Oceania & $381$ instances\\ +\midrule + \multirow{4}{*}{Couple} & Asia & $1169$ instances\\ + & Europe & $1389$ instances\\ + &North America & $320$ instances\\ + & Oceania & $1188$ instances\\ +\midrule + \multirow{4}{*}{Family} & Asia & $951$ instances\\ + & Europe & $309$ instances\\ +& North America & $131$ instances\\ + & Oceania & $525$ instances\\ +\midrule +\multicolumn{2}{r}{\textbf{Total:}} & \textbf{8561} instances \\ +\bottomrule +\end{tabular} +} +\end{slide} +%% +%%========================================================================================== + +%%========================================================================================== +%% +\begin{slide}[toc=,bm=]{Model Evaluation} +\begin{itemize} + \item<1-> \emph{Choquet Integral} is evaluated against typical aggregation methods such as AM, WAM and OWA; + \item<2-> Evaluation using the \emph{mean absolute error} (MAE) based on $10$-fold cross validation. +\end{itemize} +\onslide*{2-} +{ \footnotesize \centering +\begin{tabular}{c c c c c} +\toprule +& &\multicolumn{3}{c}{\textbf{Data Sets}}\\ +\multicolumn{2}{c}{\textbf{Algorithms}} & Business & Couple & Family \\ +\midrule +\multicolumn{2}{c}{\textbf{AM}} &$0.0757$ & $0.0689$& $0.0706$ \\ +\multicolumn{2}{c}{\textbf{OWA}} &$0.0718$ & $0.0666$& $0.0682$ \\ +\multicolumn{2}{c}{\textbf{WAM}} &$0.0701$ & $0.0633$& $0.0665$ \\ +\midrule +\multirow{6}{*}{\textbf{CI}} +& $kadd = 1$ & $0.0701$ & $0.0633$& $0.0665$ \\ +& $kadd = 2$ & $0.0661$ & $0.0614$& $0.0646$ \\ +& $kadd = 3$ & $0.0618$ & $0.0556$& $0.0611$ \\ +& $kadd = 4$ & $0.0619$ & $0.0561$& $0.0620$ \\ +& $kadd = 5$ & $0.0579$ & $0.0541$& $0.0598$ \\ +& $kadd = 6$ & \underline{0.0576} & \underline{0.0540}& \underline{0.0591} \\ +\bottomrule +\end{tabular} +} +\end{slide} +%% +%%========================================================================================== + +\section{Conclusion} + + +\begin{slide}[toc=,bm=]{Related Resources} +\begin{thebibliography}{1} +\bibitem{LLVR12} Gang Li, Rob Law, Huy Quan Vu, Jia Rong. +Discovering the Hotel Selection Preferences of Hong Kong Inbound Travelers Using the Choquet Integral, +\emph{Tourism Management}, Accepted on 21/10/2012 +\footnote{An extensive invesigation on \emph{HK} hotels preferences.} + +\bibitem{VBL12} Huy Quan Vu, Gleb Beliakov, Gang Li. +A Choquet Ingtegral Toolbox and its Application in Customer's Preference Analysis, +in \emph{Data Mining Applications with R}, Book Chapter, \emph{Elsevier} 2013 +\footnote{RFMTool usage and a case study on \emph{Singapore} hotels preferences.} +\footnote{RFMTool: A R toolbox package publically available at TULIP Portal: \url{http://www.tulip.org.au/resources/rfmtool}} +\end{thebibliography} +\end{slide} + + +\begin{slide}[toc=,bm=]{Conclusion} +\begin{itemize} +\item This work has extended practical capability of feature-based sentiment mining; \pause + +\item introduced a new aggregation techniques for effective MCMD modeling; \pause + +\item constructed a hotel preference profile for travels from different areas and under different travel modes. +This will be also helpful for hotel managers in strategic planning and decision making. +\end{itemize} +\pause +\begin{center} +\textcolor{red}{\scalebox{1.5}{Questions?}} +\end{center} +\end{slide} + + +%%========================================================================================== +% TODO: Contact Page +\begin{wideslide}[toc=,bm=]{Contact Information} +\centering +\vspace{\stretch{1}} +\twocolumn[ +lcolwidth=0.35\linewidth, +rcolwidth=0.65\linewidth +] +{ +% \centerline{\includegraphics[scale=.2]{tulip-logo.eps}} +} +{ +\vspace{\stretch{1}} +Associate Professor \emph{Gang Li}\\ +School of Information Technology\\ +Deakin University, Geelong, Australia +\begin{description} + \item[Email] \href{mailto:gangli@acm.org} + {\textsc{\footnotesize{gangli@acm.org}}} + + \item[Lab] \href{http://www.tulip.org.au} + {\textsc{\footnotesize{Team for Universal Learning and Intelligent Processing}}} +\end{description} +} +\vspace{\stretch{1}} +\end{wideslide} + + + +\end{document} + +\endinput diff --git a/macros/latex/contrib/powerdot-tuliplab/tuliplab-P02.tex b/macros/latex/contrib/powerdot-tuliplab/tuliplab-P02.tex new file mode 100644 index 0000000000..34db0ced54 --- /dev/null +++ b/macros/latex/contrib/powerdot-tuliplab/tuliplab-P02.tex @@ -0,0 +1,158 @@ +%% +%% --------------------------------------------------------------- +%% Copyright (C) 2012-2018 Gang Li +%% --------------------------------------------------------------- +%% +%% This work is distributed and/or modified under the conditions of the LaTeX Project Public +%% License, either version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all +%% distributions of LaTeX version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Gang Li. +%% +%% + +\documentclass[12pt]{article} +\usepackage{pstricks-add} +\usepackage{pst-node, pst-tree} +\usepackage{color} + + +\psset{braceWidthInner=7\pslinewidth,braceWidthOuter=5\pslinewidth} +\def\Wert#1{\makebox[1.75em][r]{$#1$}~} + + +\begin{document} + +%%========================================================================================== +%% +\begin{pspicture} +\psset{arrowscale=2,arrows=->} +\def\psBox#1#2{\psframebox[fillcolor=#1,fillstyle=solid]{\parbox{1.5cm}{\centering #2}}} + +$ +\psmatrix[colsep= 1cm] +& +\psBox{green!30}{$v(1,2,3)$} \\ +\psBox{green!30}{$v(1,2)$} & \psBox{green!30}{$v(1,3)$} & \psBox{green!30}{$v(2,3)$} \\ +\psBox{green!30}{$v(1)$} & \psBox{green!30}{$v(2)$} & \psBox{green!30}{$v(3)$} \\ +& +\psBox{green!30}{$0$} +\endpsmatrix +$ +\end{pspicture} + + +%%========================================================================================== +%% +\begin{pspicture} +\psset{arrowscale=2,arrows=->} +\def\psBox#1#2{\psframebox[fillcolor=#1,fillstyle=solid]{\parbox{1.5cm}{\centering #2}}} + +$ +\psmatrix[colsep= 1cm] +& +\psBox{orange}{$v(1,2,3)$} \\ +\psBox{green!30}{$v(1,2)$} & \psBox{orange}{$v(1,3)$} & \psBox{green!30}{$v(2,3)$} \\ +\psBox{green!30}{$v(1)$} & \psBox{green!30}{$v(2)$} & \psBox{orange}{$v(3)$} \\ +& +\psBox{orange}{$0$} +\endpsmatrix +$ + +\ncline{1,2}{2,2} +\ncline{2,2}{3,3} +\ncline{3,3}{4,2} +\end{pspicture} + + +%%========================================================================================== +%% +\begin{pspicture} +\psset{arrowscale=2,arrows=<-} +\def\psBox#1#2{\psdblframebox[fillcolor=#1,fillstyle=solid]{\parbox{1cm}{\centering #2}}} +\def\psedge{\ncdiag[angleA=180,angleB=0,arm=1.5]} +% \psset{angleB=180,linearc=5pt} + +\pstree[levelsep=145pt,treemode=L]{ +\TR[name=aggresult]{\psBox{green!30}{\Huge ?}} +} +{\pstree[levelsep=145pt,treemode=L]{ + \TR[name=aggfunc]{\psdblframebox[fillcolor=green!30,fillstyle=solid] +{\parbox{2.2cm}{\centering Aggregation\\Function}}} +} +{ +\TR[name=M1]{\psBox{white}{$0.6$}} +\TR[name=EN]{\psBox{white}{$0.3$}} +\TR[name=M2]{\psBox{white}{$0.2$}} +\TR[name=P1]{\psBox{white}{$0.8$}} +\TR[name=P2]{\psBox{white}{$0.7$}} +\TR[name=EM]{\psBox{white}{$0.6$}} +} +} +\nput*{180}{M1}{ Maths $1$} +\nput*{180}{EN}{ English} +\nput*{180}{M2}{ Maths $2$} +\nput*{180}{P1}{ \begin{tabular}{r}Physics\\ \footnotesize (mathematical) \end{tabular}} +\nput*{180}{P2}{ Physics $1$} +\nput*{180}{EM}{ Extra Maths} + +% \nput*{90}{aggfunc}{\large Aggregation\\Function} +\nput*{90}{aggresult}{\large Output} +\end{pspicture} + + + + + +%%========================================================================================== +%% +\begin{pspicture} +\pstree[levelsep=35pt,ArrowInside=->,ArrowInsidePos=.75, +arrowscale=2,labelsep=14pt] +{\Tr{$\{1,2,3\}$}}{ +\pstree{\Tr[name=OT]{$\{1,2\}$}}{ +\Tr[name=One]{$\{1\}$} +} +\pstree{\Tr[name=OThree]{$\{1,3\}$}}{ +\psset{linestyle=none,ArrowInside=none}{ +\pstree{\Tr[name=Two]{$\{2\}$}} +{\psset{linestyle=solid,ArrowInside=->}\Tr[name=Phi]{$\{\phi\}$}}} +} +\pstree{\Tr[name=TThree]{$\{2,3\}$}}{ +{\Tr[name=Three]{$\{3\}$}} +\ncline[ArrowInsidePos=.9]{TThree}{Two} +\ncline[ArrowInsidePos=.9]{OThree}{One} +\ncline[ArrowInsidePos=.9]{OThree}{Three} +\ncline{One}{Phi} +\ncline{Three}{Phi} +\ncline[ArrowInsidePos=.9]{OT}{Two} +} +} +\end{pspicture} + + +%%========================================================================================== +%% +\begin{figure} +% \def\VPh{\vphantom{\displaystyle\sum_{i=n}^m {i^2}}} +\psset{arrowscale=2,arrows=->} +\def\psBox#1#2{\psframebox[fillcolor=#1,fillstyle=solid]{#2}} +% +\rnode{t1}{\psBox{green!30}{abc}} +\begin{itemize} + \item Try this one \rnode[rc]{T1}{series} \nccurve[angleB=-75]{T1}{t1} +\end{itemize} +% +% {\psframebox[fillcolor=#1,fillstyle=solid]{\VPh\displaystyle#2}} +% +\end{figure} + + + + + +\end{document} -- cgit v1.2.3