├── howto ├── pdf │ ├── pdf-forms.pdf │ ├── pdfcomments.pdf │ ├── pdfcomments.tex │ ├── pdf-forms.tex │ └── pdfcomments.sty ├── code │ ├── code-indents.pdf │ ├── code-highlight.pdf │ ├── csobaniec-indents.pdf │ ├── Example.java │ ├── code-highlight.tex │ ├── csobaniec-indents.tex │ └── code-indents.tex ├── tables │ ├── mid-align.pdf │ ├── longtable-right-align.pdf │ ├── jedit-formatting-macro │ │ └── eclipse-project.zip │ ├── mid-align.tex │ └── longtable-right-align.tex ├── algorithms │ ├── linespace.pdf │ └── linespace.tex ├── poster │ ├── poster1 │ │ ├── logo-pp.pdf │ │ ├── poster.pdf │ │ ├── background.pdf │ │ └── dcf-phases.pdf │ └── poster2 │ │ ├── poster.pdf │ │ ├── bitmap │ │ ├── R102.png │ │ ├── RC101.png │ │ ├── RBXExample.png │ │ ├── CEPXExample.png │ │ ├── R102_2_Route1.png │ │ ├── R102_2_Route2.png │ │ ├── R102_2_Route3.png │ │ ├── R102_2_Route4.png │ │ ├── R102_2_Solutions_1.png │ │ ├── R102_2_Solutions_2.png │ │ ├── R102_2_Solutions_3.png │ │ ├── customerExchangeExample.png │ │ └── customerRelocateExample.png │ │ ├── logo_pp_crop.pdf │ │ ├── vector │ │ ├── Comparison_C.pdf │ │ ├── Comparison_R.pdf │ │ ├── QualityMeasures_R2.tex │ │ ├── QualityMeasures_R1.tex │ │ ├── AchievementScalarizingFunction.tex │ │ ├── QualityMeasures_C1.tex │ │ ├── QualityMeasures_C2.tex │ │ ├── StagesPMA_1.tex │ │ ├── StagesPMA_5.tex │ │ ├── StagesPMA_2.tex │ │ ├── StagesPMA_4.tex │ │ └── StagesPMA_3.tex │ │ ├── README.txt │ │ ├── motivation.tex │ │ ├── main.tex │ │ ├── pma.tex │ │ ├── addconclusions.tex │ │ ├── fvrptw.tex │ │ └── poster.tex ├── beamer │ ├── clock │ │ ├── clock-example.pdf │ │ ├── clock-example.tex │ │ └── clock.sty │ └── slides-number │ │ ├── slides-number.pdf │ │ └── slides-number.tex ├── fonts │ ├── texttt │ │ ├── texttt-line-breaks.pdf │ │ └── texttt-line-breaks.tex │ └── minion-myriad │ │ ├── legal-adobe-fonts.pdf │ │ ├── figures │ │ ├── minion-test.pdf │ │ ├── openoffice.pdf │ │ └── minion-test.tex │ │ └── legal-adobe-fonts.tex ├── tricks │ ├── transparency │ │ ├── transparency.pdf │ │ ├── tetons-snake-river.jpg │ │ └── transparency.tex │ └── image-stretch-full-page │ │ ├── frontpage.jpg │ │ ├── frontpage.pdf │ │ ├── frontpage-eps.pdf │ │ └── frontpage.tex ├── symbols │ ├── extract-symbol-to-eps │ │ ├── extract.tex │ │ ├── readme.txt │ │ └── extract.sh │ └── forall-limits │ │ └── forall-limits.tex └── spojniki │ └── readme.txt ├── templates ├── dcs │ ├── logopp.png │ ├── README │ ├── dcsalg.sty │ ├── dcsbook.layout │ ├── csthesis.layout │ ├── dcsarticle.layout │ ├── dcsarticle.cls │ └── csthesis.cls ├── example-msc-polish │ ├── figures │ │ ├── KS.pdf │ │ ├── blindtrie.pdf │ │ ├── zorroST.pdf │ │ ├── mississippi.pdf │ │ ├── zorroSTrie.pdf │ │ ├── mississippi_trie.pdf │ │ ├── template │ │ │ └── logo-pp.pdf │ │ ├── bucket-refinement.pdf │ │ ├── results │ │ │ ├── ibm-manzini.pdf │ │ │ ├── sun-manzini.pdf │ │ │ ├── ibm-gauntlet.pdf │ │ │ ├── sun-gauntlet.pdf │ │ │ ├── gauntlet-compare.pdf │ │ │ ├── harmony-gauntlet.pdf │ │ │ ├── harmony-manzini.pdf │ │ │ ├── jrockit-gauntlet.pdf │ │ │ ├── jrockit-manzini.pdf │ │ │ ├── manzini-compare.pdf │ │ │ ├── random-input-lcp.pdf │ │ │ ├── random-input-lcp-4.pdf │ │ │ ├── random-alphabet-lcp.pdf │ │ │ ├── random-alphabet-time.pdf │ │ │ ├── random-input-lcp-100.pdf │ │ │ ├── random-input-lcp-255.pdf │ │ │ ├── random-input-memory-4.pdf │ │ │ ├── random-input-time-100.pdf │ │ │ ├── random-input-time-255.pdf │ │ │ ├── random-input-time-4.pdf │ │ │ ├── random-input-memory-100.pdf │ │ │ └── random-input-memory-255.pdf │ │ ├── reduced-string-sorting.pdf │ │ ├── zorroST.gviz │ │ ├── zorroSTrie.gviz │ │ ├── gviz.sh │ │ ├── mississippi.gviz │ │ └── mississippi_trie.gviz │ ├── mnowak-master-thesis.pdf │ ├── tables │ │ ├── manzini.vm.compare.tex │ │ ├── gauntlet.vm.compare.tex │ │ ├── sun │ │ │ ├── manzini.tex │ │ │ └── gauntlet.tex │ │ ├── ibm │ │ │ ├── manzini.tex │ │ │ └── gauntlet.tex │ │ ├── harmony │ │ │ ├── manzini.tex │ │ │ └── gauntlet.tex │ │ └── jrockit │ │ │ ├── manzini.tex │ │ │ └── gauntlet.tex │ ├── 06-zakonczenie.tex │ ├── mnowak-master-thesis.tex │ ├── a2-web-resources.tex │ ├── 01-wstep.tex │ └── a1-vm.tex ├── fcm-unofficial │ ├── thesis-master-english.pdf │ ├── thesis-master-polski.pdf │ ├── thesis-bachelor-english.pdf │ ├── thesis-bachelor-polski.pdf │ ├── figures │ │ └── template │ │ │ └── logo-pp.pdf │ ├── thesis-master-polski-nicer.pdf │ ├── render.sh │ ├── 04-zakonczenie.tex │ ├── render.cmd │ ├── 02-teoria.tex │ ├── README │ ├── bibliography.bib │ ├── thesis-master-english.tex │ ├── thesis-bachelor-english.tex │ ├── thesis-master-polski.tex │ ├── 01-wstep.tex │ ├── thesis-bachelor-polski.tex │ ├── 0a-zalacznik.tex │ ├── thesis-master-polski-nicer.tex │ ├── CHECKLIST │ └── 03-praca-wlasna.tex ├── readme.txt └── fcm-utils │ ├── fcmcode.sty │ └── fcmquote.sty ├── distcomp ├── doc │ ├── cs-infrastructure.pdf │ ├── dwlecture.sty │ └── cs-infrastructure.tex └── scripts │ ├── hpc.hosts │ ├── lab-43.hosts │ ├── lab-44.hosts │ ├── lab-45.hosts │ ├── lab-142.hosts │ ├── lab-143.hosts │ ├── rshlst.sh │ ├── rshknowhosts.sh │ ├── rshseq.sh │ ├── rshpar.sh │ ├── lab-all.hosts │ └── rshrunner.sh ├── fcm-guidelines ├── nazwy-wydzialow.pdf └── Zasady-redakcji-pracy-dyplomowej.pdf ├── README └── lingua └── CHECKLIST-pl.txt /howto/pdf/pdf-forms.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/pdf/pdf-forms.pdf -------------------------------------------------------------------------------- /howto/pdf/pdfcomments.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/pdf/pdfcomments.pdf -------------------------------------------------------------------------------- /templates/dcs/logopp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/dcs/logopp.png -------------------------------------------------------------------------------- /howto/code/code-indents.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/code/code-indents.pdf -------------------------------------------------------------------------------- /howto/tables/mid-align.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tables/mid-align.pdf -------------------------------------------------------------------------------- /howto/algorithms/linespace.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/algorithms/linespace.pdf -------------------------------------------------------------------------------- /howto/code/code-highlight.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/code/code-highlight.pdf -------------------------------------------------------------------------------- /howto/code/csobaniec-indents.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/code/csobaniec-indents.pdf -------------------------------------------------------------------------------- /howto/poster/poster1/logo-pp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster1/logo-pp.pdf -------------------------------------------------------------------------------- /howto/poster/poster1/poster.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster1/poster.pdf -------------------------------------------------------------------------------- /howto/poster/poster2/poster.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/poster.pdf -------------------------------------------------------------------------------- /distcomp/doc/cs-infrastructure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/distcomp/doc/cs-infrastructure.pdf -------------------------------------------------------------------------------- /fcm-guidelines/nazwy-wydzialow.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/fcm-guidelines/nazwy-wydzialow.pdf -------------------------------------------------------------------------------- /howto/poster/poster1/background.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster1/background.pdf -------------------------------------------------------------------------------- /howto/poster/poster1/dcf-phases.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster1/dcf-phases.pdf -------------------------------------------------------------------------------- /howto/beamer/clock/clock-example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/beamer/clock/clock-example.pdf -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/RC101.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/RC101.png -------------------------------------------------------------------------------- /howto/poster/poster2/logo_pp_crop.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/logo_pp_crop.pdf -------------------------------------------------------------------------------- /distcomp/scripts/hpc.hosts: -------------------------------------------------------------------------------- 1 | 10.10.0.1 2 | 10.10.0.2 3 | 10.10.0.3 4 | 10.10.0.4 5 | 10.10.0.5 6 | 10.10.0.6 7 | 10.10.0.7 8 | 10.10.0.8 9 | -------------------------------------------------------------------------------- /howto/tables/longtable-right-align.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tables/longtable-right-align.pdf -------------------------------------------------------------------------------- /howto/fonts/texttt/texttt-line-breaks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/fonts/texttt/texttt-line-breaks.pdf -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/RBXExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/RBXExample.png -------------------------------------------------------------------------------- /howto/tricks/transparency/transparency.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tricks/transparency/transparency.pdf -------------------------------------------------------------------------------- /howto/beamer/slides-number/slides-number.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/beamer/slides-number/slides-number.pdf -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/CEPXExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/CEPXExample.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102_2_Route1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102_2_Route1.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102_2_Route2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102_2_Route2.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102_2_Route3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102_2_Route3.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102_2_Route4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102_2_Route4.png -------------------------------------------------------------------------------- /howto/poster/poster2/vector/Comparison_C.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/vector/Comparison_C.pdf -------------------------------------------------------------------------------- /howto/poster/poster2/vector/Comparison_R.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/vector/Comparison_R.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/KS.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/KS.pdf -------------------------------------------------------------------------------- /howto/fonts/minion-myriad/legal-adobe-fonts.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/fonts/minion-myriad/legal-adobe-fonts.pdf -------------------------------------------------------------------------------- /howto/fonts/minion-myriad/figures/minion-test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/fonts/minion-myriad/figures/minion-test.pdf -------------------------------------------------------------------------------- /howto/fonts/minion-myriad/figures/openoffice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/fonts/minion-myriad/figures/openoffice.pdf -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102_2_Solutions_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102_2_Solutions_1.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102_2_Solutions_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102_2_Solutions_2.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/R102_2_Solutions_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/R102_2_Solutions_3.png -------------------------------------------------------------------------------- /howto/tricks/image-stretch-full-page/frontpage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tricks/image-stretch-full-page/frontpage.jpg -------------------------------------------------------------------------------- /howto/tricks/image-stretch-full-page/frontpage.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tricks/image-stretch-full-page/frontpage.pdf -------------------------------------------------------------------------------- /howto/tricks/transparency/tetons-snake-river.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tricks/transparency/tetons-snake-river.jpg -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/blindtrie.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/blindtrie.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/zorroST.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/zorroST.pdf -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-master-english.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/fcm-unofficial/thesis-master-english.pdf -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-master-polski.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/fcm-unofficial/thesis-master-polski.pdf -------------------------------------------------------------------------------- /fcm-guidelines/Zasady-redakcji-pracy-dyplomowej.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/fcm-guidelines/Zasady-redakcji-pracy-dyplomowej.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/mississippi.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/mississippi.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/zorroSTrie.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/zorroSTrie.pdf -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-bachelor-english.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/fcm-unofficial/thesis-bachelor-english.pdf -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-bachelor-polski.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/fcm-unofficial/thesis-bachelor-polski.pdf -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/customerExchangeExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/customerExchangeExample.png -------------------------------------------------------------------------------- /howto/poster/poster2/bitmap/customerRelocateExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/poster/poster2/bitmap/customerRelocateExample.png -------------------------------------------------------------------------------- /howto/tables/jedit-formatting-macro/eclipse-project.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tables/jedit-formatting-macro/eclipse-project.zip -------------------------------------------------------------------------------- /howto/tricks/image-stretch-full-page/frontpage-eps.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/howto/tricks/image-stretch-full-page/frontpage-eps.pdf -------------------------------------------------------------------------------- /templates/dcs/README: -------------------------------------------------------------------------------- 1 | Various styles and classes by Cezary Sobaniec. 2 | 3 | An up-to-date version always at: 4 | http://www.cs.put.poznan.pl/csobaniec/latex/ 5 | 6 | -------------------------------------------------------------------------------- /templates/example-msc-polish/mnowak-master-thesis.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/mnowak-master-thesis.pdf -------------------------------------------------------------------------------- /templates/fcm-unofficial/figures/template/logo-pp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/fcm-unofficial/figures/template/logo-pp.pdf -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-master-polski-nicer.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/fcm-unofficial/thesis-master-polski-nicer.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/mississippi_trie.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/mississippi_trie.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/template/logo-pp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/template/logo-pp.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/bucket-refinement.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/bucket-refinement.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/ibm-manzini.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/ibm-manzini.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/sun-manzini.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/sun-manzini.pdf -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | 2 | LaTeX snippets and templates 3 | ============================ 4 | 5 | (c) Poznan University of Technology, Institute of Computing Science 6 | Poznan, Poland 7 | -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/ibm-gauntlet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/ibm-gauntlet.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/sun-gauntlet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/sun-gauntlet.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/reduced-string-sorting.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/reduced-string-sorting.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/gauntlet-compare.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/gauntlet-compare.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/harmony-gauntlet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/harmony-gauntlet.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/harmony-manzini.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/harmony-manzini.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/jrockit-gauntlet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/jrockit-gauntlet.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/jrockit-manzini.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/jrockit-manzini.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/manzini-compare.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/manzini-compare.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-lcp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-lcp.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-lcp-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-lcp-4.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-alphabet-lcp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-alphabet-lcp.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-alphabet-time.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-alphabet-time.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-lcp-100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-lcp-100.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-lcp-255.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-lcp-255.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-memory-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-memory-4.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-time-100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-time-100.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-time-255.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-time-255.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-time-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-time-4.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-memory-100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-memory-100.pdf -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/results/random-input-memory-255.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/politechnika/put-latex/HEAD/templates/example-msc-polish/figures/results/random-input-memory-255.pdf -------------------------------------------------------------------------------- /howto/symbols/extract-symbol-to-eps/extract.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \usepackage{bbding} 4 | \pagestyle{empty} 5 | 6 | \begin{document} 7 | % Place your LaTeX code here. It must be single-page! 8 | \HandLeft 9 | \end{document} -------------------------------------------------------------------------------- /templates/readme.txt: -------------------------------------------------------------------------------- 1 | Przykladowe style (lub zaczatki stylow) prac magisterskich i inzynierskich. 2 | 3 | fcm-unofficial - Wzorzec pracy dyplomowej wg wytycznych FCM (nieautoryzowany) 4 | fcm-utils - Pakiety dodatkowe, moga sie przydac. -------------------------------------------------------------------------------- /distcomp/scripts/lab-43.hosts: -------------------------------------------------------------------------------- 1 | lab-43-1 2 | lab-43-2 3 | lab-43-3 4 | lab-43-4 5 | lab-43-5 6 | lab-43-6 7 | lab-43-7 8 | lab-43-8 9 | lab-43-9 10 | lab-43-10 11 | lab-43-11 12 | lab-43-12 13 | lab-43-13 14 | lab-43-14 15 | lab-43-15 16 | 17 | -------------------------------------------------------------------------------- /distcomp/scripts/lab-44.hosts: -------------------------------------------------------------------------------- 1 | lab-44-1 2 | lab-44-2 3 | lab-44-3 4 | lab-44-4 5 | lab-44-5 6 | lab-44-6 7 | lab-44-7 8 | lab-44-8 9 | lab-44-9 10 | lab-44-10 11 | lab-44-11 12 | lab-44-12 13 | lab-44-13 14 | lab-44-14 15 | lab-44-15 16 | 17 | -------------------------------------------------------------------------------- /distcomp/scripts/lab-45.hosts: -------------------------------------------------------------------------------- 1 | lab-45-1 2 | lab-45-2 3 | lab-45-3 4 | lab-45-4 5 | lab-45-5 6 | lab-45-6 7 | lab-45-7 8 | lab-45-8 9 | lab-45-9 10 | lab-45-10 11 | lab-45-11 12 | lab-45-12 13 | lab-45-13 14 | lab-45-14 15 | lab-45-15 16 | 17 | -------------------------------------------------------------------------------- /howto/symbols/extract-symbol-to-eps/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | An example showing how to extract a LaTeX symbol (math formula, symbol, text 3 | block) into a separate EPS file. 4 | 5 | This requires some shell tools -- see extract.sh. 6 | 7 | Dawid Weiss 8 | $Id$ -------------------------------------------------------------------------------- /distcomp/scripts/lab-142.hosts: -------------------------------------------------------------------------------- 1 | lab-142-1 2 | lab-142-2 3 | lab-142-3 4 | lab-142-4 5 | lab-142-5 6 | lab-142-6 7 | lab-142-7 8 | lab-142-8 9 | lab-142-9 10 | lab-142-10 11 | lab-142-11 12 | lab-142-12 13 | lab-142-13 14 | lab-142-14 15 | lab-142-15 16 | 17 | -------------------------------------------------------------------------------- /distcomp/scripts/lab-143.hosts: -------------------------------------------------------------------------------- 1 | lab-143-1 2 | lab-143-2 3 | lab-143-3 4 | lab-143-4 5 | lab-143-5 6 | lab-143-6 7 | lab-143-7 8 | lab-143-8 9 | lab-143-9 10 | lab-143-10 11 | lab-143-11 12 | lab-143-12 13 | lab-143-13 14 | lab-143-14 15 | lab-143-15 16 | 17 | -------------------------------------------------------------------------------- /howto/symbols/extract-symbol-to-eps/extract.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | latex extract.tex 4 | latex extract.tex 5 | latex extract.tex 6 | 7 | dvips extract.dvi 8 | rm -f extract.eps && ps2eps extract.ps 9 | epstopdf extract.eps 10 | 11 | rm -f *.log *.aux *.ps *.dvi -------------------------------------------------------------------------------- /howto/pdf/pdfcomments.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | 4 | \usepackage{hyperref} 5 | \usepackage{pdfcomments} 6 | 7 | \begin{document} 8 | Th\sidepdfnote{Side note.}is is an example of a margin PDF comment. 9 | 10 | And this is an example of an embedded\pdfcomment{Embedded note.} note. 11 | \end{document} 12 | -------------------------------------------------------------------------------- /templates/fcm-utils/fcmcode.sty: -------------------------------------------------------------------------------- 1 | 2 | \ProvidesPackage{fcmcode}[2006/07/17 v0.9 FCM utility - code blocks and such] 3 | 4 | \RequirePackage{fancyvrb} 5 | 6 | % Inline code. 7 | \newcommand{\code}[1]{\texttt{#1}} 8 | 9 | % Verbatim code block. 10 | \DefineVerbatimEnvironment{codeblock}{Verbatim}{% 11 | frame=lines,numbers=left,xleftmargin=2em,fontsize=\footnotesize} -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/manzini.vm.compare.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} \\ \midrule 3 | \texttt{sun} & --- & 218.09 & 173.10 \\ 4 | \texttt{ibm} & --- & 212.62 & 179.12 \\ 5 | \texttt{jrockit} & 200.84 & 416.30 & 170.00 \\ 6 | \texttt{harmony} & 251.82 & 235.16 & 203.76 \\ 7 | \bottomrule 8 | \end{tabular} 9 | 10 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/gauntlet.vm.compare.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew} \\ \midrule 3 | \texttt{sun} & 100.58 & 19.70 & 13.55 & 73.44 \\ 4 | \texttt{ibm} & --- & 18.49 & 14.71 & 71.02 \\ 5 | \texttt{jrockit} & 105.05 & 16.49 & 13.55 & 68.24 \\ 6 | \texttt{harmony} & 126.39 & 20.85 & 16.51 & 72.53 \\ 7 | \bottomrule 8 | \end{tabular} 9 | -------------------------------------------------------------------------------- /howto/spojniki/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | Przy pomocy JEdita lub innego edytora tekstowego poszukaj wyrażeniem regularnym: 3 | 4 | ([\t\n\r\ ~]+)([uioazw])([\t\n\r\ ]+) 5 | 6 | i zamień na: 7 | 8 | $1$2~ 9 | 10 | przy włączonym ignorowaniu wielkości znaków. I tak wielokrotnie, dopóki są 11 | jakieś zmiany (istotne przy sąsiadujących spójnikach, np. "i u siebie"). 12 | 13 | Oczywiście należy sprawdzić, czy się nic nie posypało. 14 | -------------------------------------------------------------------------------- /howto/code/Example.java: -------------------------------------------------------------------------------- 1 | import java.util.*; 2 | 3 | /** 4 | * An example class. 5 | * 6 | * @author Dawid Weiss 7 | */ 8 | public final class Example { 9 | /** 10 | * Command line entry point. 11 | */ 12 | public static void main(String [] args) { 13 | if (args.length == 0) { 14 | System.out.println("Hello world."); 15 | } else { 16 | System.out.println(Arrays.asList(args[0])); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /distcomp/scripts/rshlst.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | hook_usage_head="Lists SSH-accessible hosts." 4 | hook_usage_args="" 5 | 6 | hook_specific_args() { 7 | # forbid host keys being added 8 | SSH_STRICT_HK=yes 9 | } 10 | 11 | hook_foreach_host() { 12 | ( ssh $SSH_OPTS $H "true" && echo $H ) > $TMP/$H.result & 13 | } 14 | 15 | hook_afterall_hosts() { 16 | wait 17 | cat $TMP/*.result | sort 18 | } 19 | 20 | d=`dirname $0` 21 | . "$d/rshrunner.sh" 22 | -------------------------------------------------------------------------------- /distcomp/scripts/rshknowhosts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | hook_usage_head="Feeds SSH's known_hosts with a list of hosts." 4 | hook_usage_args="" 5 | 6 | hook_specific_args() { 7 | # allow host keys being added without asking 8 | SSH_STRICT_HK=no 9 | } 10 | 11 | hook_foreach_host() { 12 | ( ssh $SSH_OPTS $H "true" && echo $H ) > $TMP/$H.result & 13 | } 14 | 15 | hook_afterall_hosts() { 16 | wait 17 | cat $TMP/*.result | sort 18 | } 19 | 20 | d=`dirname $0` 21 | . "$d/rshrunner.sh" 22 | -------------------------------------------------------------------------------- /howto/pdf/pdf-forms.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | 4 | \usepackage{hyperref} 5 | 6 | \begin{document} 7 | 8 | Not many people know that \LaTeX{} lets you define elegant PDF forms. 9 | Compile this program with \texttt{pdflatex} and see for yourself! 10 | 11 | \begin{Form}[] 12 | \TextField[width=8cm,borderwidth=0]{Name:} \\ 13 | \TextField[width=8cm,borderwidth=0]{Surname:} \\ 14 | \CheckBox[borderwidth=1]{Likes chocolate:} \\ 15 | \end{Form} 16 | 17 | \end{document} 18 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/render.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # 4 | # This will work, although a proper Makefile or latexmk is recommended. 5 | # latexmk -pvc -pdf thesis-master-english.tex 6 | # 7 | 8 | for type in bachelor-english bachelor-polski master-english master-polski-nicer master-polski; do 9 | pdflatex thesis-$type.tex 10 | bibtex thesis-$type 11 | pdflatex thesis-$type.tex 12 | pdflatex thesis-$type.tex 13 | done 14 | 15 | rm -f *.aux *.bak *.log *.blg *.bbl *.toc *.out 16 | 17 | -------------------------------------------------------------------------------- /howto/poster/poster2/README.txt: -------------------------------------------------------------------------------- 1 | Przyklad plakatu na warsztaty AI-METH 2006. Z uzytecznych rzeczy: 2 | - absolutne pozycjonowanie elementow, 3 | - definicje pozwalajace na zarzadzanie logicznymi jednostkami, zamiast 4 | bezwzglednymi jednostkami, 5 | - osadzone grafiki z uzyciem PGF 6 | - wlasne boxy a'la beamer 7 | 8 | Prosze nie przerazac sie magicznymi wartosciami, tak osiaga sie niepowtarzalna 9 | precyzje w krotkim czasie. :) 10 | 11 | Przygotowane do kompilacji PDFLaTeXem. 12 | 13 | Oczywiscie tresc (c) by autorzy. 14 | -------------------------------------------------------------------------------- /howto/pdf/pdfcomments.sty: -------------------------------------------------------------------------------- 1 | 2 | % 3 | % A simple style for embedding PDF comments (use pdflatex for processing). 4 | % 5 | 6 | \newcommand{\pdfnote}[1]{% 7 | \pdfstringdef{\tmptext}{#1}% 8 | \pdfannot{/Subtype /Text /C [1 1 0] /Contents (\tmptext)}% 9 | } 10 | 11 | \newcommand{\sidepdfnote}[1]{% 12 | \pdfstringdef{\tmptext}{#1}% 13 | \marginpar{\pdfannot{/Subtype /Text /C [1 1 0] /Contents (\tmptext)}}% 14 | } 15 | 16 | \newcommand{\pdfcomment}[1]{\pdfnote{#1}} 17 | \newcommand{\sidepdfcomment}[1]{\sidepdfnote{#1}} 18 | -------------------------------------------------------------------------------- /howto/symbols/forall-limits/forall-limits.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | 3 | \pagestyle{empty} 4 | 5 | \begin{document} 6 | 7 | (absolutely nonsensical formulas, but just to demonstrate 8 | the use of quantifiers with top and bottom limits) 9 | 10 | \bigskip\noindent 11 | English: 12 | 13 | \begin{equation} 14 | \mathop \forall \limits_{i=1}^{5} a_i 15 | \end{equation} 16 | 17 | \bigskip\noindent 18 | Polish: 19 | \begin{equation} 20 | \mathop \bigwedge \limits_{i=1}^{5} a_i 21 | \end{equation} 22 | 23 | \end{document} -------------------------------------------------------------------------------- /howto/poster/poster2/motivation.tex: -------------------------------------------------------------------------------- 1 | \def\prc{\linewidth / 100} 2 | \begin{textblock*}{\prc * 100}(0cm,0cm)% 3 | \textbf{No diversity $\rightarrow$ no choice} 4 | \begin{mylist} 5 | \item no option for a DM: only one solution (the best one?) 6 | \item the best solution is the magic one (w.r.t. one objective) 7 | \end{mylist} 8 | 9 | \textbf{Unrealistic assumptions} 10 | \begin{mylist} 11 | \item deterministic parameters, e.g. travel times, are unrealistic 12 | \item stochastic models contain too strong assumptions 13 | \end{mylist} 14 | \end{textblock*} 15 | -------------------------------------------------------------------------------- /templates/fcm-utils/fcmquote.sty: -------------------------------------------------------------------------------- 1 | 2 | \ProvidesPackage{fcmquote}[2006/07/17 v0.9 FCM utility - redefine quotations in italic] 3 | 4 | \renewenvironment{quotation}% 5 | {\list{}{\listparindent 1.5em% 6 | \itemindent \listparindent 7 | \rightmargin \leftmargin 8 | \parsep \z@ \@plus\p@ 9 | \itshape}% 10 | \item[]}% 11 | {\endlist} 12 | \renewenvironment{quote}% 13 | {\list{}{\rightmargin\leftmargin\itshape}% 14 | \item[]}% 15 | {\endlist} -------------------------------------------------------------------------------- /howto/tables/mid-align.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | 4 | \usepackage[OT4]{fontenc} 5 | \usepackage[utf8]{inputenc} 6 | 7 | \usepackage{tabularx} 8 | 9 | \title{Pionowe środkowanie kolumn} 10 | \author{Dawid Weiss} 11 | 12 | 13 | \begin{document} 14 | 15 | \maketitle 16 | 17 | \section{Przykład} 18 | 19 | Ogólnie to pionowe środkowanie kolumn nie jest zalecane, jeśli ktoś się jednak upiera, to: 20 | 21 | \begin{center} 22 | \begin{tabular}{| m{1cm} | @{} c @{} |} 23 | \hline 24 | A & \begin{tabular}{ c } 25 | B \\ \hline 26 | C 27 | \end{tabular} \\ 28 | \hline 29 | \end{tabular} 30 | \end{center} 31 | 32 | \end{document} -------------------------------------------------------------------------------- /templates/fcm-unofficial/04-zakonczenie.tex: -------------------------------------------------------------------------------- 1 | 2 | \chapter{Zakończenie} 3 | 4 | Zakończenie pracy zwane również Uwagami końcowymi lub Podsumowaniem powinno zawierać ustosunkowanie 5 | się autora do zadań wskazanych we wstępie do pracy, a w szczególności do celu i zakresu pracy oraz 6 | porównanie ich z faktycznymi wynikami pracy. Podejście takie umożliwia jasne określenie stopnia 7 | realizacji założonych celów oraz zwrócenie uwagi na wyniki osiągnięte przez autora w ramach jego 8 | samodzielnej pracy. 9 | 10 | Integralną częścią pracy są również dodatki, aneksy i załączniki np.~płyty CDROM 11 | zawierające stworzone w ramach pracy programy, aplikacje i projekty. 12 | -------------------------------------------------------------------------------- /howto/beamer/slides-number/slides-number.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[12pt]{beamer} 3 | 4 | \usetheme{Warsaw} 5 | 6 | \setbeamertemplate{navigation symbols}{} 7 | \setbeamertemplate{footline}{ 8 | \hfill \insertframenumber{} / \inserttotalframenumber\hspace*{4pt} \vspace{4pt} 9 | } 10 | 11 | \title{Slide number in footline} 12 | \author{Dawid Weiss} 13 | 14 | 15 | \begin{document} 16 | 17 | \frame[plain]{\titlepage} 18 | 19 | \begin{frame} 20 | \frametitle{First frame} 21 | Buhuhu. Fufufu. Dududu. 22 | \end{frame} 23 | 24 | \begin{frame} 25 | \frametitle{Second frame} 26 | Buhuhu. Fufufu. Dududu. 27 | \end{frame} 28 | 29 | \end{document} 30 | 31 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/render.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | pdflatex thesis-bachelor-english.tex 4 | bibtex thesis-bachelor-english 5 | pdflatex thesis-bachelor-english.tex 6 | pdflatex thesis-bachelor-english.tex 7 | 8 | pdflatex thesis-master-english.tex 9 | bibtex thesis-master-english 10 | pdflatex thesis-master-english.tex 11 | pdflatex thesis-master-english.tex 12 | 13 | pdflatex thesis-bachelor-polski.tex 14 | bibtex thesis-bachelor-polski 15 | pdflatex thesis-bachelor-polski.tex 16 | pdflatex thesis-bachelor-polski.tex 17 | 18 | pdflatex thesis-master-polski.tex 19 | bibtex thesis-master-polski 20 | pdflatex thesis-master-polski.tex 21 | pdflatex thesis-master-polski.tex 22 | 23 | 24 | del *.aux *.bak *.log *.blg *.bbl *.toc *.out -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/zorroST.gviz: -------------------------------------------------------------------------------- 1 | digraph G { 2 | node [fontname=Helvetica, fontsize=18, label="", shape=point]; 3 | edge [fontname=Helvetica, fontsize=16]; 4 | 5 | nodesep = 1; 6 | rankdir = TB; 7 | 8 | dummy0 [label="",width=.1,style=invis] 9 | zorro[label="zorro$", shape=ellipse] 10 | orro[label="orro$", shape=ellipse] 11 | rro[label="rro$", shape=ellipse] 12 | ro[label="ro$", shape=ellipse] 13 | oFIN[label="o$", shape=ellipse] 14 | 15 | # FIN[label="$", shape=ellipse] 16 | # root -> FIN[label="$"] 17 | 18 | root -> o[label="o"] 19 | o -> oFIN[label="$"] 20 | o -> orro[label="rro$"] 21 | 22 | root -> r[label="r"] 23 | r -> ro[label="o$"] 24 | r -> rro[label="ro$"] 25 | 26 | root -> zorro[label="zorro$"] 27 | } 28 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/sun/manzini.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{chr22.dna} & \textbf{6.85} & 8.56 & 7.70 & 64.78\\ 4 | \texttt{etext99} & --- & 30.66 & \textbf{25.56} & ---\\ 5 | \texttt{gcc-3.0.tar} & 20.73 & 18.62 & \textbf{14.22} & ---\\ 6 | \texttt{howto} & 8.07 & 9.03 & \textbf{7.45} & 83.77\\ 7 | \texttt{jdk13c} & 15.63 & 15.44 & \textbf{11.58} & ---\\ 8 | \texttt{linux-2.4.5.tar} & --- & 23.94 & \textbf{19.98} & ---\\ 9 | \texttt{rctail96} & --- & 29.96 & \textbf{23.89} & ---\\ 10 | \texttt{rfc} & --- & 26.96 & \textbf{23.78} & ---\\ 11 | \texttt{sprot34.dat} & --- & 31.66 & \textbf{22.24} & ---\\ 12 | \texttt{w3c2} & --- & 23.25 & \textbf{16.71} & ---\\ 13 | \midrule 14 | Total & & 218.09 & \textbf{173.10} & \\ 15 | \bottomrule 16 | \end{tabular} 17 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/ibm/manzini.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{chr22.dna} & \textbf{7.31} & 8.54 & 8.15 & 60.73\\ 4 | \texttt{etext99} & 28.21 & 29.20 & \textbf{26.35} & ---\\ 5 | \texttt{gcc-3.0.tar} & --- & 17.25 & \textbf{14.81} & ---\\ 6 | \texttt{howto} & 8.44 & 10.33 & \textbf{7.94} & 79.66\\ 7 | \texttt{jdk13c} & 16.44 & 14.74 & \textbf{12.36} & ---\\ 8 | \texttt{linux-2.4.5.tar} & 25.60 & 24.09 & \textbf{20.30} & ---\\ 9 | \texttt{rctail96} & 30.55 & 28.08 & \textbf{24.60} & ---\\ 10 | \texttt{rfc} & 28.93 & 25.92 & \textbf{24.43} & ---\\ 11 | \texttt{sprot34.dat} & 28.55 & 28.94 & \textbf{22.89} & ---\\ 12 | \texttt{w3c2} & 24.87 & 25.55 & \textbf{17.29} & ---\\ 13 | \midrule 14 | Total & & 212.62 & \textbf{179.12} & \\ 15 | \bottomrule 16 | \end{tabular} 17 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/harmony/manzini.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{chr22.dna} & \textbf{7.93} & 9.15 & 8.38 & 63.94\\ 4 | \texttt{etext99} & 32.45 & 32.38 & \textbf{29.48} & ---\\ 5 | \texttt{gcc-3.0.tar} & 25.45 & 19.74 & \textbf{16.61} & ---\\ 6 | \texttt{howto} & 9.71 & 9.92 & \textbf{8.46} & 82.36\\ 7 | \texttt{jdk13c} & 18.77 & 16.84 & \textbf{13.59} & ---\\ 8 | \texttt{linux-2.4.5.tar} & 29.32 & 27.61 & \textbf{24.55} & ---\\ 9 | \texttt{rctail96} & 35.18 & 32.71 & \textbf{27.64} & ---\\ 10 | \texttt{rfc} & 32.69 & 29.21 & \textbf{28.99} & ---\\ 11 | \texttt{sprot34.dat} & 32.81 & 31.97 & \textbf{25.60} & ---\\ 12 | \texttt{w3c2} & 27.51 & 25.63 & \textbf{20.47} & ---\\ 13 | \midrule 14 | Total & 251.82 & 235.16 & \textbf{203.76} & \\ 15 | \bottomrule 16 | \end{tabular} 17 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/jrockit/manzini.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{chr22.dna} & \textbf{6.22} & 7.62 & 7.29 & 59.27\\ 4 | \texttt{etext99} & 25.38 & 59.93 & \textbf{25.21} & ---\\ 5 | \texttt{gcc-3.0.tar} & 19.56 & 37.32 & \textbf{14.07} & ---\\ 6 | \texttt{howto} & 7.43 & 8.05 & \textbf{7.20} & 78.05\\ 7 | \texttt{jdk13c} & 14.50 & 24.81 & \textbf{11.44} & ---\\ 8 | \texttt{linux-2.4.5.tar} & 23.68 & 57.76 & \textbf{19.53} & ---\\ 9 | \texttt{rctail96} & 28.61 & 56.08 & \textbf{23.49} & ---\\ 10 | \texttt{rfc} & 26.42 & 53.69 & \textbf{23.39} & ---\\ 11 | \texttt{sprot34.dat} & 26.51 & 65.53 & \textbf{21.90} & ---\\ 12 | \texttt{w3c2} & 22.53 & 45.49 & \textbf{16.43} & ---\\ 13 | \midrule 14 | Total & 200.84 & 416.30 & \textbf{169.95} & \\ 15 | \bottomrule 16 | \end{tabular} 17 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/02-teoria.tex: -------------------------------------------------------------------------------- 1 | 2 | \chapter{Podstawy teoretyczne} 3 | 4 | Rozdział teoretyczny --- przegląd literatury naświetlający stan wiedzy na dany temat. 5 | 6 | Przegląd literatury naświetlający stan wiedzy na dany temat obejmuje rozdziały pisane na podstawie 7 | literatury, której wykaz zamieszczany jest w części pracy pt.~\emph{Literatura} (lub inaczej \emph{Bibliografia}, 8 | \emph{Piśmiennictwo}). W tekście pracy muszą wystąpić odwołania do wszystkich pozycji zamieszczonych w 9 | wykazie literatury. \textbf{Nie należy odnośników do literatury umieszczać w stopce strony.} Student jest 10 | bezwzględnie zobowiązany do wskazywania źródeł pochodzenia informacji przedstawianych w pracy, 11 | dotyczy to również rysunków, tabel, fragmentów kodu źródłowego programów itd. Należy także podać 12 | adresy stron internetowych w przypadku źródeł pochodzących z Internetu. 13 | 14 | 15 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/ibm/gauntlet.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{abac} & --- & 0.01 & \textbf{0.01} & 0.03\\ 4 | \texttt{abba} & 4.13 & 2.76 & \textbf{2.51} & 11.71\\ 5 | \texttt{book1x20} & \textbf{3.48} & 3.76 & 3.67 & 23.45\\ 6 | \texttt{fib\_s14930352} & 10.47 & 5.48 & \textbf{3.59} & 14.46\\ 7 | \texttt{fss10} & 5.73 & 4.40 & \textbf{2.94} & 12.38\\ 8 | \texttt{fss9} & 1.06 & 0.68 & \textbf{0.66} & 2.11\\ 9 | \texttt{houston} & --- & \textbf{0.20} & 0.47 & 1.23\\ 10 | \texttt{paper5x80} & 0.18 & 0.12 & \textbf{0.07} & 0.43\\ 11 | \texttt{test1} & 2.39 & 0.37 & \textbf{0.21} & 2.16\\ 12 | \texttt{test2} & 0.86 & 0.32 & \textbf{0.21} & 2.10\\ 13 | \texttt{test3} & 71.43 & 0.38 & \textbf{0.38} & 0.95\\ 14 | \midrule 15 | Total & & 18.49 & \textbf{14.71} & 71.02\\ 16 | \bottomrule 17 | \end{tabular} 18 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/sun/gauntlet.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{abac} & 1.07 & 0.01 & \textbf{0.00} & 0.03\\ 4 | \texttt{abba} & 3.80 & 2.49 & \textbf{2.34} & 12.09\\ 5 | \texttt{book1x20} & \textbf{3.36} & 4.11 & 3.44 & 23.23\\ 6 | \texttt{fib\_s14930352} & 9.68 & 6.08 & \textbf{3.27} & 15.88\\ 7 | \texttt{fss10} & 5.18 & 4.84 & \textbf{2.65} & 13.01\\ 8 | \texttt{fss9} & 1.01 & 0.74 & \textbf{0.57} & 2.14\\ 9 | \texttt{houston} & 2.29 & \textbf{0.18} & 0.43 & 1.20\\ 10 | \texttt{paper5x80} & 0.14 & 0.12 & \textbf{0.06} & 0.47\\ 11 | \texttt{test1} & 2.37 & 0.40 & \textbf{0.21} & 2.17\\ 12 | \texttt{test2} & 0.81 & 0.30 & \textbf{0.21} & 2.18\\ 13 | \texttt{test3} & 70.87 & 0.45 & \textbf{0.36} & 1.04\\ 14 | \midrule 15 | Total & 100.58 & 19.70 & \textbf{13.55} & 73.44\\ 16 | \bottomrule 17 | \end{tabular} 18 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/harmony/gauntlet.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{abac} & 1.83 & 0.05 & \textbf{0.03} & 0.06\\ 4 | \texttt{abba} & 4.41 & \textbf{2.82} & 2.85 & 11.62\\ 5 | \texttt{book1x20} & \textbf{3.85} & 4.36 & 4.24 & 23.35\\ 6 | \texttt{fib\_s14930352} & 11.77 & 6.18 & \textbf{4.15} & 15.18\\ 7 | \texttt{fss10} & 6.50 & 4.87 & \textbf{3.04} & 12.26\\ 8 | \texttt{fss9} & 1.31 & 0.80 & \textbf{0.69} & 2.32\\ 9 | \texttt{houston} & 4.05 & \textbf{0.23} & 0.53 & 1.45\\ 10 | \texttt{paper5x80} & 0.19 & 0.15 & \textbf{0.07} & 0.53\\ 11 | \texttt{test1} & 3.14 & 0.49 & \textbf{0.25} & 2.27\\ 12 | \texttt{test2} & 0.96 & 0.36 & \textbf{0.23} & 2.28\\ 13 | \texttt{test3} & 88.37 & 0.54 & \textbf{0.42} & 1.22\\ 14 | \midrule 15 | Total & 126.39 & 20.85 & \textbf{16.51} & 72.53\\ 16 | \bottomrule 17 | \end{tabular} 18 | -------------------------------------------------------------------------------- /templates/example-msc-polish/tables/jrockit/gauntlet.tex: -------------------------------------------------------------------------------- 1 | \begin{tabular}{l r r r r } \toprule 2 | & \emph{bpr} & \emph{divsufsort} & \emph{qsufsort} & \emph{skew}\\ \midrule 3 | \texttt{abac} & 1.04 & 0.01 & \textbf{0.01} & 0.05\\ 4 | \texttt{abba} & 4.23 & \textbf{2.19} & 2.26 & 11.23\\ 5 | \texttt{book1x20} & \textbf{3.14} & 3.29 & 3.40 & 22.52\\ 6 | \texttt{fib\_s14930352} & 10.05 & 4.94 & \textbf{3.32} & 14.09\\ 7 | \texttt{fss10} & 5.36 & 3.88 & \textbf{2.69} & 12.34\\ 8 | \texttt{fss9} & 1.05 & 0.63 & \textbf{0.58} & 1.89\\ 9 | \texttt{houston} & 2.63 & \textbf{0.24} & 0.44 & 0.96\\ 10 | \texttt{paper5x80} & 0.18 & 0.15 & \textbf{0.08} & 0.42\\ 11 | \texttt{test1} & 2.26 & 0.41 & \textbf{0.20} & 1.91\\ 12 | \texttt{test2} & 0.71 & 0.34 & \textbf{0.20} & 1.91\\ 13 | \texttt{test3} & 74.40 & 0.42 & \textbf{0.37} & 0.91\\ 14 | \midrule 15 | Total & 105.05 & 16.49 & \textbf{13.55} & 68.24\\ 16 | \bottomrule 17 | \end{tabular} 18 | -------------------------------------------------------------------------------- /distcomp/scripts/rshseq.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | hook_usage_head="Executes the command sequentially." 4 | hook_usage_args="remote_command" 5 | 6 | hook_specific_args() { 7 | if [ $# -lt 1 ]; then 8 | print_usage 9 | exit 1 10 | fi 11 | 12 | # slurp the rest of command line 13 | SSH_REMOTE_CMD="$*" 14 | params_cnt=$# 15 | } 16 | 17 | hook_foreach_host() { 18 | if [ ! $quiet ]; then 19 | echo "--- $H:" 20 | ( ssh $SSH_OPTS $H "$SSH_REMOTE_CMD" && touch $TMP/$H.ok || touch $TMP/$H.failed ) 2>&1 21 | else 22 | ( ssh $SSH_OPTS $H "$SSH_REMOTE_CMD" && touch $TMP/$H.ok || touch $TMP/$H.failed ) >/dev/null 2>&1 23 | if [ -e $TMP/$H.ok ]; then echo -n "."; else echo -n "x"; fi 24 | fi 25 | } 26 | 27 | hook_afterall_hosts() { 28 | # Calculate summary 29 | # Calculate summary 30 | GOOD=`ls $TMP/*.ok 2>/dev/null | wc -l` 31 | BAD=`ls $TMP/*.failed 2>/dev/null | wc -l` 32 | echo "$GOOD successful, $BAD failed." 33 | } 34 | 35 | d=`dirname $0` 36 | . "$d/rshrunner.sh" 37 | -------------------------------------------------------------------------------- /distcomp/scripts/rshpar.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | hook_usage_head="Executes the command in parallel." 4 | hook_usage_args="remote_command" 5 | 6 | hook_specific_args() { 7 | if [ $# -lt 1 ]; then 8 | print_usage 9 | exit 1 10 | fi 11 | 12 | # slurp the rest of command line 13 | SSH_REMOTE_CMD="$*" 14 | params_cnt=$# 15 | } 16 | 17 | hook_foreach_host() { 18 | ( ssh $SSH_OPTS $H "$SSH_REMOTE_CMD" && touch $TMP/$H.ok || touch $TMP/$H.failed ) >$TMP/$H.result 2>&1 & 19 | } 20 | 21 | hook_afterall_hosts() { 22 | wait 23 | 24 | if [ ! $quiet ]; then 25 | for OUT in $TMP/*.result; do 26 | H=`basename $OUT .result` 27 | if [ -e $TMP/$H.ok ]; then 28 | echo "--- $H OK:" 29 | else 30 | echo "--- $H FAILED:" 31 | fi 32 | cat $OUT 33 | done 34 | echo 35 | fi 36 | 37 | # Calculate summary 38 | GOOD=`ls $TMP/*.ok 2>/dev/null | wc -l` 39 | BAD=`ls $TMP/*.failed 2>/dev/null | wc -l` 40 | echo "$GOOD successful, $BAD failed." 41 | } 42 | 43 | d=`dirname $0` 44 | . "$d/rshrunner.sh" 45 | -------------------------------------------------------------------------------- /howto/algorithms/linespace.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper,11pt]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage[OT4]{fontenc} 5 | \usepackage[noend,boxed]{algorithm2e} 6 | 7 | \begin{document} 8 | 9 | Some initial text before the algorithm is described. This is put here 10 | in order to see what is the line spacing. 11 | 12 | %\renewcommand{\baselinestretch}{2} 13 | %\linesnotnumbered 14 | %\linesnumbered 15 | 16 | \makeatletter 17 | \renewcommand{\algocf@linesnumbered}{\everypar={\rule{0pt}{.9\baselineskip}}} 18 | \makeatother 19 | 20 | \begin{algorithm}[h] 21 | \dontprintsemicolon 22 | Initialize\; 23 | \While{still this year}{ 24 | \Repeat{Tomorrow AFTERNOON}{ 25 | \If{condition satisfied}{ 26 | Do something\; 27 | } 28 | Do the next step\; 29 | } 30 | Finalize\; 31 | } 32 | \KwRet{The best from today} 33 | \end{algorithm} 34 | 35 | Some text after the algorithm is described. This is put here in order 36 | to see what is the line spacing. 37 | 38 | \end{document} 39 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/README: -------------------------------------------------------------------------------- 1 | 2 | WSTĘP 3 | ----- 4 | 5 | 6 | Niniejszy katalog zawiera LaTeX-owy style, który odpowiadają wytycznym 7 | formatowania prac inżynierskich i magisterskich 8 | Wydziału Informatyki i Zarządzania Politechniki Poznańskiej. 9 | 10 | Pytania proszę kierować na grupę użytkowników systemu LaTeX 11 | (po uprzednim zapisaniu się): 12 | 13 | put-latex@yahoogroups.com 14 | 15 | Zawsze aktualne wersje stylu PPFCM oraz przykłady pełnych prac 16 | formatowanych w tym stylu są dostępne w repozytorium SVN. 17 | 18 | https://github.com/politechnika/put-latex 19 | 20 | 21 | 22 | KOMPILACJA 23 | ---------- 24 | 25 | Zaleca się używanie kompilatora pdflatex, choć jest możliwe (i powinno działać) 26 | kompilowanie również przy pomocy latex (do pliku DVI). 27 | 28 | Użyteczne zapewne będą następujące narzędzia: 29 | 30 | - TeXlipse (http://texlipse.sourceforge.net/) 31 | 32 | - LED (http://www.latexeditor.org/) 33 | 34 | - KILE (http://kile.sourceforge.net/) 35 | 36 | - JEdit + latexmk (skrypt do kompilacji z linii poleceń) 37 | -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/zorroSTrie.gviz: -------------------------------------------------------------------------------- 1 | digraph G { 2 | node [fontname=Helvetica, fontsize=18, label="", shape=point]; 3 | edge [fontname=Helvetica, fontsize=16]; 4 | 5 | nodesep = 1; 6 | rankdir = TB; 7 | 8 | zorroFIN[label="zorro$", shape=ellipse] 9 | orroFIN[label="orro$", shape=ellipse] 10 | rroFIN[label="rro$", shape=ellipse] 11 | roFIN[label="ro$", shape=ellipse] 12 | oFIN[label="o$", shape=ellipse] 13 | # FIN[label="$", shape=ellipse] 14 | 15 | 16 | # root -> FIN[label="$"] 17 | root -> z[label="z"] 18 | z -> zo[label="o"] 19 | zo -> zor[label="r"] 20 | zor -> zorr[label="r"] 21 | zorr -> zorro[label="o"] 22 | zorro -> zorroFIN[label="$"] 23 | root -> o[label="o"] 24 | o -> oFIN[label="$"] 25 | o -> or[label="r"] 26 | or -> orr[label="r"] 27 | orr -> orro[label="o"] 28 | orro -> orroFIN[label="$"] 29 | root -> r[label="r"] 30 | r -> ro[label="o"] 31 | ro -> roFIN[label="$"] 32 | r -> rr[label="r"] 33 | rr -> rro[label="o"] 34 | rro -> rroFIN[label="$"] 35 | 36 | } 37 | -------------------------------------------------------------------------------- /howto/tables/longtable-right-align.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass{article} 3 | 4 | \usepackage[OT1]{fontenc} 5 | \usepackage[utf8]{inputenc} 6 | 7 | \usepackage{polski} 8 | 9 | \usepackage{tabularx} 10 | \usepackage{longtable} 11 | \usepackage{calc} 12 | 13 | 14 | \title{Justowanie kolumn w środowisku \texttt{longtable}} 15 | \author{Dawid Weiss} 16 | 17 | 18 | \begin{document} 19 | 20 | \maketitle 21 | 22 | \section{Przykład} 23 | 24 | \begin{longtable}{>{\leftskip\fill}p{2.5cm} @{\hspace{0.5cm}} >{\rightskip\fill}p{\linewidth-2cm}} 25 | \hline 26 | Opis: & 27 | Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. 28 | Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. \\ 29 | \hline 30 | Długi opis Długi opis Długi opis Długi opis Długi opis: & 31 | Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. 32 | Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. Zawartość komórki. \\ 33 | \hline 34 | \end{longtable} 35 | 36 | 37 | \end{document} -------------------------------------------------------------------------------- /distcomp/scripts/lab-all.hosts: -------------------------------------------------------------------------------- 1 | lab-142-1 2 | lab-142-2 3 | lab-142-3 4 | lab-142-4 5 | lab-142-5 6 | lab-142-6 7 | lab-142-7 8 | lab-142-8 9 | lab-142-9 10 | lab-142-10 11 | lab-142-11 12 | lab-142-12 13 | lab-142-13 14 | lab-142-14 15 | lab-142-15 16 | 17 | lab-143-1 18 | lab-143-2 19 | lab-143-3 20 | lab-143-4 21 | lab-143-5 22 | lab-143-6 23 | lab-143-7 24 | lab-143-8 25 | lab-143-9 26 | lab-143-10 27 | lab-143-11 28 | lab-143-12 29 | lab-143-13 30 | lab-143-14 31 | lab-143-15 32 | 33 | lab-43-1 34 | lab-43-2 35 | lab-43-3 36 | lab-43-4 37 | lab-43-5 38 | lab-43-6 39 | lab-43-7 40 | lab-43-8 41 | lab-43-9 42 | lab-43-10 43 | lab-43-11 44 | lab-43-12 45 | lab-43-13 46 | lab-43-14 47 | lab-43-15 48 | 49 | lab-44-1 50 | lab-44-2 51 | lab-44-3 52 | lab-44-4 53 | lab-44-5 54 | lab-44-6 55 | lab-44-7 56 | lab-44-8 57 | lab-44-9 58 | lab-44-10 59 | lab-44-11 60 | lab-44-12 61 | lab-44-13 62 | lab-44-14 63 | lab-44-15 64 | 65 | lab-45-1 66 | lab-45-2 67 | lab-45-3 68 | lab-45-4 69 | lab-45-5 70 | lab-45-6 71 | lab-45-7 72 | lab-45-8 73 | lab-45-9 74 | lab-45-10 75 | lab-45-11 76 | lab-45-12 77 | lab-45-13 78 | lab-45-14 79 | lab-45-15 80 | 81 | -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/gviz.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # maly skrypcik do konwersji dot i gviz'ow do PDFow. Moze sie przydac. 4 | 5 | EXT=gviz 6 | for i in `find . -name "*.${EXT}"`; do 7 | NAME=`basename $i .${EXT}` 8 | DIR=`dirname $i` 9 | BASE=${DIR}/${NAME} 10 | 11 | if [ $i -nt ${BASE}.eps ]; then 12 | echo "Processing ${EXT}: " $i 13 | dot -Tps -o ${BASE}.eps $i 14 | cat ${BASE}.eps | gs -q -dEPSCrop -dNOCACHE -sDEVICE=epswrite -sOutputFile=tmp - -c quit 15 | mv tmp ${BASE}.eps 16 | epstopdf ${BASE}.eps 17 | else 18 | echo "Skipping ${EXT}: " $i 19 | fi 20 | done 21 | 22 | EXT=dot 23 | for i in `find . -name "*.${EXT}"`; do 24 | NAME=`basename $i .${EXT}` 25 | DIR=`dirname $i` 26 | BASE=${DIR}/${NAME} 27 | 28 | if [ $i -nt ${BASE}.eps ]; then 29 | echo "Processing ${EXT}: " $i 30 | neato -s -n2 -Tps -o ${BASE}.eps $i 31 | cat ${BASE}.eps | gs -q -dEPSCrop -dNOCACHE -sDEVICE=epswrite -sOutputFile=tmp - -c quit 32 | mv tmp ${BASE}.eps 33 | epstopdf ${BASE}.eps 34 | else 35 | echo "Skipping ${EXT}: " $i 36 | fi 37 | done 38 | -------------------------------------------------------------------------------- /lingua/CHECKLIST-pl.txt: -------------------------------------------------------------------------------- 1 | 2 | Częste błędy językowe dla prac pisanych w języku polskim 3 | -------------------------------------------------------- 4 | 5 | 1. Nie używać żargonu i unikać kalek językowych. Wyrazy absolutnie zabronione: 6 | 7 | ENGINE 8 | "oparty na enginie Hadoop" -> w oparciu o projekt Hadoop 9 | 10 | FRAMEWORK 11 | "frameworka, frameworku" -> bibliotece, projekcie [w zależności od kontekstu] 12 | 13 | MAPA 14 | "trzymamy w mapie" -> "przechowujemy w tablicy asocjacyjnej" 15 | 16 | PARAGRAF 17 | Po polsku mówi się "akapit"; no chyba, że faktycznie chodzi o paragraf w sensie prawnym. 18 | 19 | SEKCJA 20 | Po polsku mówi się "rozdział", "podrozdział", ew. "część". Sekcja może być użyta we frazie 21 | "sekcja zwłok". 22 | 23 | 24 | 2. Funkcjonalność. 25 | 26 | Funkcjonalność nie ma liczby mnogiej (mówi się o funkcjonalności aplikacji, 27 | ale aplikacja nie ma _wielu_ funkcjonalności; ma wiele _funkcji_). 28 | 29 | 30 | 3. Inne błędy ortograficzne i stylistyczne. 31 | 32 | za pomocą -> przy pomocy, z pomocą, lepiej: przy użyciu. 33 | oparty na -> w oparciu o, oparty o 34 | napewno -> na pewno 35 | 36 | 37 | 4. Internet. 38 | 39 | Internet raczej spowszedniał, więc internet, a nie Internet (obie formy są 40 | poprawne, choć preferuję pisownię małymi literami). 41 | 42 | -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/mississippi.gviz: -------------------------------------------------------------------------------- 1 | digraph G { 2 | node [fontname=Helvetica, fontsize=12. label="", shape=point]; 3 | graph[page="8.5,11",size="7.5,7",ratio=fill,center=1]; 4 | 5 | rankdir=TD; 6 | compound=true; 7 | pack=1; 8 | 9 | mississippi[label="mississippi", shape=ellipse] 10 | ississippi[label="ississippi", shape=ellipse] 11 | ssissippi[label="ssissippi", shape=ellipse] 12 | sissippi[label="sissippi", shape=ellipse] 13 | issippi[label="issippi", shape=ellipse] 14 | ssippi[label="ssippi", shape=ellipse] 15 | sippi[label="sippi", shape=ellipse] 16 | ippi[label="ippi", shape=ellipse] 17 | ppi[label="ppi", shape=ellipse] 18 | pi[label="pi", shape=ellipse] 19 | i[label="i", shape=ellipse] 20 | 21 | 22 | 23 | 24 | 25 | 26 | root -> mississippi[label="mississippi"] 27 | root -> i[label="i"] 28 | i -> ippi[label="ppi"] 29 | i -> issi[label="ssi"] 30 | issi -> issippi[label="ppi"] 31 | issi -> ississippi[label="ssippi"] 32 | 33 | root -> s[label="s"] 34 | s -> ss[label="s"] 35 | ss -> ssippi[label="ippi"] 36 | ss -> ssissippi[label="ssippi"] 37 | s -> si[label="i"] 38 | si -> sippi[label="ppi"] 39 | si -> sissippi[label="ssippi"] 40 | root -> p[label="p"] 41 | p -> pi[label="i"] 42 | p -> ppi[label="pi"] 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /howto/fonts/texttt/texttt-line-breaks.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[10pt]{article} 3 | 4 | \usepackage[T1]{fontenc} 5 | \usepackage[utf8]{inputenc} 6 | 7 | \begin{document} 8 | 9 | \section{Justification and hyphenation of texttt} 10 | 11 | \begin{center} 12 | \begin{minipage}{4cm} 13 | \ttfamily\spaceskip .5em plus .3em minus .3em\hyphenchar\font=`\- 14 | (JUSTIFICATION AND HYPHENATION) \\[5mm] 15 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce eu metus. Aliquam ac sem quis lectus laoreet semper. Maecenas viverra dui sit amet ipsum. Vestibulum pretium, mauris venenatis porta cursus. 16 | \end{minipage} 17 | \hspace{1cm} 18 | \begin{minipage}{4cm} 19 | \ttfamily\spaceskip .5em plus .3em minus .3em\hyphenchar\font=-1 20 | (JUSTIFICATION ONLY) \\[5mm] 21 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce eu metus. Aliquam ac sem quis lectus laoreet semper. Maecenas viverra dui sit amet ipsum. Vestibulum pretium, mauris venenatis porta cursus. 22 | \end{minipage} 23 | 24 | \end{center} 25 | 26 | \section{Special macro for tt-style keywords} 27 | 28 | \newcommand\kw[1]{% keywords 29 | \texttt{\spaceskip .5em plus .3em minus .3em 30 | \hyphenchar\font=`\-\relax #1}} 31 | 32 | \begin{center} 33 | \begin{minipage}{4cm} 34 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. \kw{MyKeyWordIsLongAndBlahBlah} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 35 | \end{minipage} 36 | \end{center} 37 | 38 | \end{document} -------------------------------------------------------------------------------- /howto/tricks/image-stretch-full-page/frontpage.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[a4paper,twoside]{article} 3 | 4 | \usepackage[utf8]{inputenc} 5 | \usepackage[OT1]{fontenc} 6 | \usepackage[absolute]{textpos} 7 | \usepackage{graphicx} 8 | \usepackage[bookmarks=false,pdffitwindow]{hyperref} 9 | 10 | \usepackage{pdfpages} 11 | 12 | \title{How to stretch a picture to fill the whole page?} 13 | \author{Dawid Weiss} 14 | \date{April 12, 2006} 15 | 16 | \begin{document} 17 | 18 | \maketitle 19 | 20 | \section{Solution using \textsf{textpos} Package} 21 | 22 | Perhaps the simplest way to do it is with \textsf{textpos} package 23 | using the \texttt{absolute} option. 24 | 25 | Note that if you are already using \textsf{textpos}, then it may 26 | be difficult to position the box absolutely. 27 | 28 | \clearpage\thispagestyle{empty}~% 29 | \textblockorigin{0cm}{0cm} 30 | \begin{textblock*}{\paperwidth}(0cm,0cm) 31 | \noindent \includegraphics[width=\paperwidth]{frontpage.jpg} 32 | \end{textblock*} 33 | 34 | \clearpage% 35 | \section{Solution by PDF inclusion} 36 | 37 | This solution is perhaps even better (if you're using \texttt{pdflatex}). Just 38 | include a PDF page directly in the generated document. You'll need \textsf{pdfpages} 39 | package for that. To create a PDF from an image (JPG or PNG), use GIMP to save it as 40 | an EPS file and then convert the EPS to a PDF with GhostScript or anything else. 41 | 42 | \includepdfmerge{frontpage-eps.pdf,1} 43 | 44 | 45 | 46 | 47 | \end{document} 48 | 49 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/bibliography.bib: -------------------------------------------------------------------------------- 1 | @String{pub-AW = "Ad{\-d}i{\-s}on-Wes{\-l}ey"} 2 | @String{pub-AW:adr = "Reading, MA, USA"} 3 | 4 | @Book{Knuth:ct-a, 5 | author = "Donald E. Knuth", 6 | title = "The {\TeX}book", 7 | publisher = pub-AW, 8 | address = pub-AW:adr, 9 | year = "1986", 10 | series = "Computers and Typesetting", 11 | ISBN = "0-201-13447-0", 12 | LCCN = "Z253.4.T47 K58 1986", 13 | pages = "ix + 483", 14 | bibdate = "Wed Dec 15 10:36:52 1993", 15 | } 16 | 17 | @Book{Lamport:LDP85, 18 | author = "Leslie Lamport", 19 | title = "{\LaTeX} --- A Document Preparation System --- 20 | User's Guide and Reference Manual", 21 | publisher = pub-AW, 22 | address = pub-AW:adr, 23 | year = "1985", 24 | ISBN = "0-201-15790-X", 25 | LCCN = "Z253.4.L38 L35 1986", 26 | pages = "xiv + 242", 27 | bibdate = "Wed Dec 15 10:38:04 1993", 28 | } 29 | 30 | @misc{fcm-red, 31 | author = "Zbyszko Kr{\'o}likowski and Maciej Drozdowski", 32 | title = "{Jak pisać pracę dyplomową? Uwagi o formie. Zasady redakcji pracy dyplomowej.}", 33 | howpublished = "[on-line] \url{www.fcm.put.poznan.pl/platon/dokumenty/dlaStudentow/egzaminDyplomowy/zasadyRedakcji}", 34 | year = "2006", 35 | } 36 | 37 | @misc{mdro, 38 | author = "Maciej Drozdowski", 39 | title = "Jak pisać prace dyplomowe -- uwagi o formie", 40 | howpublished = "[on-line] \url{http://www.cs.put.poznan.pl/mdrozdowski/dyd/txt/jak_mgr.html}", 41 | year = {2006}, 42 | } -------------------------------------------------------------------------------- /howto/poster/poster2/main.tex: -------------------------------------------------------------------------------- 1 | \begin{textblock*}{\posterboxwidth * 3/4}(0pt,0pt)% 2 | \includegraphics[width=\posterboxwidth * 3 / 8]{bitmap/R102}\includegraphics[width=\posterboxwidth * 3 / 8]{bitmap/RC101}% 3 | \end{textblock*} 4 | 5 | % komentarz tekstowy 6 | \begin{textblock*}{\posterboxwidth / 4}(\posterboxwidth * 3 / 4, 0pt)% 7 | \textbf{Advantages} 8 | \begin{mylist} 9 | \item diversified solutions 10 | \item lower cost and satisfaction vs. high cost and satisfaction 11 | \item possibility of choice of a solution 12 | \item possibility of renegotiation of time windows 13 | \end{mylist}% 14 | \end{textblock*} 15 | 16 | % rozwiazania ze zbioru Pareto 17 | \newcommand\twolines[2]{\vbox{\hbox{#1}\vskip.5em\hbox{#2}}} 18 | \begin{textblock*}{\posterboxwidth}(0pt,\posterboxheight / 3 + 3ex)% 19 | \centering% 20 | \textbf{Examples of solutions from a Pareto set}\\[1ex] 21 | \begin{tabular}{ccccc} 22 | \includegraphics[height=\posterboxheight / 4]{bitmap/R102_2_Solutions_1} & \hspace{2ex} & 23 | \includegraphics[height=\posterboxheight / 4]{bitmap/R102_2_Solutions_2} & \hspace{2ex} & 24 | \includegraphics[height=\posterboxheight / 4]{bitmap/R102_2_Solutions_3} \\ 25 | \twolines{routes = 19}{sat = 1.0; cost = 1587} & & 26 | \twolines{routes = 16}{sat = 0.68; cost = 1451} & & 27 | \twolines{routes = 15}{sat = 0.13; cost = 1362} 28 | \end{tabular} 29 | \\[1ex] 30 | 31 | % szczegoly rozwiazania 32 | \centerbox{\includegraphics[scale=0.4]{bitmap/R102_2_Route1}}% 33 | \centerbox{\includegraphics[scale=0.4]{bitmap/R102_2_Route2}}% 34 | \centerbox{\includegraphics[scale=0.4]{bitmap/R102_2_Route3}}% 35 | \centerbox{\includegraphics[scale=0.4]{bitmap/R102_2_Route4}}% 36 | \end{textblock*} 37 | -------------------------------------------------------------------------------- /howto/poster/poster2/vector/QualityMeasures_R2.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, 0.4) node[anchor=center, rotate=90] {cost (min)}; 6 | % The Tchebycheff functions 7 | \begin{scope}[red, very thick, dashed] 8 | \draw (8, 0) -- (0, 1.2); 9 | \draw (8, 0) -- (0, 3); 10 | \draw (8, 0) -- (0, 6); 11 | \draw (8, 0) -- (4, 6); 12 | \draw (8, 0) -- (6.4, 6); 13 | \end{scope} 14 | % The Tchebycheff functions' whiskers 15 | \begin{scope}[red, thin] 16 | \filldraw (0, 2.92) -- (8,2.92); 17 | \filldraw (0.19, 0) -- (0.19, 2.92) circle (0.05cm) -- (8,2.92); 18 | \filldraw (2.96, 0) -- (2.96, 3.77) circle (0.05cm) -- (8,3.77); 19 | \filldraw (4.75, 0) -- (4.75, 4.87) circle (0.05cm) -- (8,4.87); 20 | \filldraw (6.4, 0 ) -- (6.4, 6) circle (0.05cm) -- (8, 6); 21 | \end{scope} 22 | % Second series of points 23 | \begin{scope}[green] 24 | \filldraw (2.2, 2.92) circle (0.1cm); 25 | \filldraw (3.2, 3.77) circle (0.1cm); 26 | \filldraw (4.2, 4.40) circle (0.1cm); 27 | \filldraw (5.2, 4.87) circle (0.1cm); 28 | \filldraw (6.4, 5.20) circle (0.1cm); 29 | \end{scope} 30 | % The ideal point 31 | \draw (8, 0) node [above left=1pt, fill = white] {ideal point}; 32 | \filldraw[fill=black] (8, 0) circle (0.1cm); 33 | % Legend 34 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (2.7, 5.9) -- (2.7, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 35 | \draw (0.1, 5.9) node[anchor=north west] {nondominated}; % first function text 36 | \draw (0.1, 5.45) node[anchor=north west] {solutions B}; % second function text 37 | \filldraw[green] (2.3, 5.2) circle (0.1cm); % first function line -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-master-english.tex: -------------------------------------------------------------------------------- 1 | % Szkielet dla pracy pisanej w języku angielskim. 2 | 3 | \documentclass[english,a4paper,oneside]{ppfcmthesis} 4 | 5 | \usepackage[utf8]{inputenc} 6 | \usepackage[OT4]{fontenc} 7 | 8 | \authortitle{} % Do not change. 9 | \author{Ignacy Iksiński} % Your name comes here 10 | \title{A Few Words About the Nature~of~Things} % Note how we protect the final title phrase from breaking 11 | \ppsupervisor{prof.~dr hab.~inż.~Alojzy Wołodyjowski} % Your supervisor comes here. 12 | \ppyear{2006} % Year of final submission (not graduation!) 13 | 14 | \begin{document} 15 | 16 | % Front matter starts here 17 | \frontmatter\pagestyle{empty}% 18 | \maketitle\cleardoublepage% 19 | 20 | % Blank info page for "karta dyplomowa" 21 | \thispagestyle{empty}\vspace*{\fill}% 22 | \begin{center}Tutaj przychodzi karta pracy dyplomowej;\\oryginał wstawiamy do wersji dla archiwum PP, w pozostałych kopiach wstawiamy ksero.\end{center}% 23 | \vfill\cleardoublepage% 24 | 25 | % Table of contents. 26 | \pagenumbering{Roman}\pagestyle{ppfcmthesis}% 27 | \tableofcontents* \cleardoublepage% 28 | 29 | % Main content of your thesis starts here. 30 | \mainmatter% 31 | \input{0x-lorem-ipsum.tex} 32 | 33 | % All appendices and extra material, if you have any. 34 | \cleardoublepage\appendix% 35 | %\input{0a-appendix.tex} 36 | 37 | % Bibliography (books, articles) starts here. 38 | \bibliographystyle{alpha}{\raggedright\sloppy\small\bibliography{bibliography}} 39 | 40 | % Colophon is a place where you should let others know about copyrights etc. 41 | \ppcolophon 42 | 43 | \end{document} 44 | -------------------------------------------------------------------------------- /howto/poster/poster2/pma.tex: -------------------------------------------------------------------------------- 1 | \begin{textblock*}{\posterboxwidth}(0cm,0cm) 2 | \centering% 3 | \textbf{Main loop of the multiobjective evolutionary algorithm}\\[.5em] 4 | 5 | \def\figscale{.5} 6 | \def\figfontsize{\footnotesize} 7 | 8 | \newcommand\pmabox[1]{% 9 | \scalebox{\figscale}{% 10 | \begin{tikzpicture}[font=\figfontsize] 11 | \input{vector/StagesPMA_#1} 12 | \draw (7,1.5) node[font=\normalsize,draw,circle] {#1}; 13 | \end{tikzpicture}}% 14 | } 15 | 16 | \newcommand\circled[1]{% 17 | \raisebox{-.5em}{\tikz \draw (0,0) node[circle,draw] {#1};}% 18 | } 19 | 20 | \begin{tabular}{ccc} 21 | \hspace{1em}\parbox[b]{4cm}{% 22 | \small% 23 | 1. Choose a direction\\ 24 | 2. Choose parents\\ 25 | 3. Recombine\\ 26 | 4. Do local search\\ 27 | 5. Update Pareto set\\ 28 | \vspace*{1.5ex} 29 | }&\pmabox{1}&\pmabox{2}\\ 30 | \pmabox{3}&\pmabox{4}&\pmabox{5} 31 | \end{tabular} 32 | \end{textblock*} 33 | 34 | \begin{textblock*}{\posterboxwidth / 100 * 55 - 2ex}(\posterboxwidth / 100 * 45 + 2ex,\posterboxheight /4) 35 | \centering% 36 | \textbf{Achievement scalarizing functions}\\[.5em] 37 | 38 | \scalebox{.5}{% 39 | \begin{tikzpicture}[font=\small] 40 | \input{vector/AchievementScalarizingFunction} 41 | \end{tikzpicture}}\\[1em] 42 | 43 | \textbf{Local search: exchange of two customers}\\ 44 | \includegraphics[width=\posterboxwidth / 100 * 55 - 5ex]{bitmap/customerExchangeExample}\\[1em] 45 | 46 | \textbf{Local search: relocation of a customer}\\ 47 | \includegraphics[width=\posterboxwidth / 100 * 55 - 5ex]{bitmap/customerRelocateExample}\\[1em] 48 | 49 | \textbf{Route-based crossover}\\ 50 | \includegraphics[width=\posterboxwidth / 100 * 55 - 5ex]{bitmap/CEPXExample}\\[1em] 51 | 52 | \textbf{Common edges preserving crossover}\\ 53 | \includegraphics[width=\posterboxwidth / 100 * 55 - 5ex]{bitmap/RBXExample}\\[1em] 54 | \end{textblock*} -------------------------------------------------------------------------------- /howto/fonts/minion-myriad/figures/minion-test.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[10pt]{article} 3 | 4 | \usepackage[T1]{fontenc} 5 | \usepackage[utf8]{inputenc} 6 | \usepackage{ams} 7 | 8 | \usepackage[textosf,mathlf]{MinionPro} 9 | \usepackage{pifont} 10 | 11 | \begin{document} 12 | 13 | \thispagestyle{empty} 14 | 15 | \noindent% 16 | This is Minion. ABCDEFGHIJKLMNOPQRSTUVWXYZ. 17 | abcdefghijklmnopqrstuvwxyz. 0123456789. 18 | Support for ligatures: ffi fi fl 19 | 20 | \noindent\textbf{% 21 | This is Minion Bold. ABCDEFGHIJKLMNOPQRSTUVWXYZ. 22 | abcdefghijklmnopqrstuvwxyz. 0123456789. 23 | Support for ligatures: ffi fi fl 24 | } 25 | 26 | \noindent\textsl{% 27 | This is Minion Slanted. ABCDEFGHIJKLMNOPQRSTUVWXYZ. 28 | abcdefghijklmnopqrstuvwxyz. 0123456789. 29 | Support for ligatures: ffi fi fl 30 | } 31 | 32 | \noindent\textit{% 33 | This is Minion Oblique. ABCDEFGHIJKLMNOPQRSTUVWXYZ. 34 | abcdefghijklmnopqrstuvwxyz. 0123456789. 35 | Support for ligatures: ffi fi fl 36 | } 37 | 38 | \noindent\textit{\textbf{% 39 | This is Minion Bold Oblique. ABCDEFGHIJKLMNOPQRSTUVWXYZ. 40 | abcdefghijklmnopqrstuvwxyz. 0123456789. 41 | Support for ligatures: ffi fi fl 42 | }} 43 | 44 | \noindent 45 | Math mode: 46 | \begin{equation} 47 | w(i,j) = 123 + 4 + \mathrm{mi}_{ij} \times 48 | \frac{\mathrm{tf}_{ij}}{\mathrm{tf}_{ij} + 1} \times 49 | \frac{\min\Big(\sum\limits_{k}^{}\mathrm{tf}_{kj}, 50 | \sum\limits_{k}^{}\mathrm{tf}_{ik}\Big)} 51 | {\min\Big(\sum\limits_{k}^{}\mathrm{tf}_{kj}, 52 | \sum\limits_{k}^{}\mathrm{tf}_{ik}\Big) + 1} 53 | \end{equation} 54 | 55 | \noindent 56 | And a few ornaments: \Pisymbol{MinionPro-Extra}{111} 57 | \Pisymbol{MinionPro-Extra}{112} \Pisymbol{MinionPro-Extra}{110} 58 | 59 | \end{document} -------------------------------------------------------------------------------- /howto/poster/poster2/vector/QualityMeasures_R1.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, 0.4) node[anchor=center, rotate=90] {cost (min)}; 6 | % The Tchebycheff functions 7 | \begin{scope}[red, very thick, dashed] 8 | \draw (8, 0) -- (0, 1.2); 9 | \draw (8, 0) -- (0, 3); 10 | \draw (8, 0) -- (0, 6); 11 | \draw (8, 0) -- (4, 6); 12 | \draw (8, 0) -- (6.4, 6); 13 | \end{scope} 14 | % The Tchebycheff functions' whiskers 15 | \begin{scope}[red, thin] 16 | \filldraw (2.4, 0) -- (2.4, 0.84) circle (0.05cm) -- (8, 0.84); 17 | \filldraw (3.4, 0) -- (3.4, 1.725) circle (0.05cm) -- (8, 1.725); 18 | \filldraw (4.44, 0) --(4.44, 2.67) circle (0.05cm) -- (8, 2.67); 19 | \filldraw (5.41, 0) -- (5.41, 3.88) circle (0.05cm) -- (8, 3.88); 20 | \filldraw (6.4, 0 ) -- (6.4, 6) circle (0.05cm) -- (8, 6); 21 | \end{scope} 22 | % First series of points 23 | \begin{scope}[blue] 24 | \filldraw (2.4, 0.66) circle (0.1cm); 25 | \filldraw (3.4, 1.14) circle (0.1cm); 26 | % \filldraw (4.4, 1.8) circle (0.1cm); % the original point lying on a circle 27 | \filldraw (4.2, 2.0) circle (0.1cm); 28 | \filldraw (5.4, 2.67) circle (0.1cm); 29 | \filldraw (6.4, 4.2) circle (0.1cm); 30 | \end{scope} 31 | % The ideal point 32 | \draw (8, 0) node [above left=1pt, fill = white] {ideal point}; 33 | \filldraw[fill=black] (8, 0) circle (0.1cm); 34 | % Legend 35 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (2.7, 5.9) -- (2.7, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 36 | \draw (0.1, 5.9) node[anchor=north west] {nondominated}; % first function text 37 | \draw (0.1, 5.45) node[anchor=north west] {solutions A}; % second function text 38 | \filldraw[blue] (2.3, 5.2) circle (0.1cm); % first function line 39 | -------------------------------------------------------------------------------- /howto/poster/poster2/addconclusions.tex: -------------------------------------------------------------------------------- 1 | \begin{textblock*}{\posterboxwidth / 5}(0cm,0cm) 2 | 3 | \def\figscale{.6} 4 | \def\figfontsize{\small} 5 | 6 | \newcommand\tikzbox[1]{% 7 | \scalebox{\figscale}{% 8 | \begin{tikzpicture}[font=\figfontsize] 9 | \input{#1} 10 | \end{tikzpicture}}% 11 | } 12 | 13 | \centering% 14 | \textbf{Comparison of approximations: coverage C}\\[.5em] 15 | 16 | \tikzbox{vector/QualityMeasures_C1}\\ 17 | \tikzbox{vector/QualityMeasures_C2} 18 | 19 | \end{textblock*} 20 | 21 | 22 | \begin{textblock*}{\posterboxwidth / 5}(\posterboxwidth * 4 / 5,0cm) 23 | 24 | \def\figscale{.6} 25 | \def\figfontsize{\small} 26 | 27 | \newcommand\tikzbox[1]{% 28 | \scalebox{\figscale}{% 29 | \begin{tikzpicture}[font=\figfontsize] 30 | \input{#1} 31 | \end{tikzpicture}}% 32 | } 33 | 34 | \centering% 35 | \textbf{Comparison of approximations: R measure}\\[.5em] 36 | 37 | \tikzbox{vector/QualityMeasures_R1}\\ 38 | \tikzbox{vector/QualityMeasures_R2} 39 | 40 | \end{textblock*} 41 | 42 | 43 | \begin{textblock*}{\posterboxwidth * 3 / 5}(\posterboxwidth / 5,-0.7cm)% 44 | \centering% 45 | \begin{tabular}{lll} 46 | \includegraphics[height=\posterboxheight * 6/10]{vector/Comparison_C}&\hspace{2em}&% 47 | \includegraphics[height=\posterboxheight * 6/10]{vector/Comparison_R}\\ 48 | \hspace{1em}\parbox[t]{\posterboxwidth / 4}{% 49 | Comparison of instances: 50 | \begin{mylist} 51 | \item clustered instances are easier than random ones 52 | \item wide time window $\rightarrow$ easier random instances 53 | \item wide time window $\rightarrow$ harder clustered instances 54 | \end{mylist}% 55 | }& &% 56 | \hspace{1em}\parbox[t]{\posterboxwidth / 4}{% 57 | Comparison of crossovers: 58 | \begin{mylist} 59 | \item RBX is random, CEPX is deterministic 60 | \item RBX is usually better than CEPX 61 | \item randomness in RBX is useful 62 | \end{mylist}% 63 | } 64 | \end{tabular} 65 | \end{textblock*} 66 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-bachelor-english.tex: -------------------------------------------------------------------------------- 1 | % Szkielet dla pracy inżynierskiej pisanej w języku angielskim. 2 | 3 | \documentclass[english,bachelor,a4paper,oneside]{ppfcmthesis} 4 | 5 | \usepackage[utf8]{inputenc} 6 | \usepackage[OT4]{fontenc} 7 | 8 | % Authors here. 9 | \author{% 10 | Ignacy Iksiński \album{22222} \and 11 | Wincent Woliński \album{22222} \and 12 | Zdzisio Szmal \album{22222} \and 13 | Barnaba Wojnowski \album{22222}} 14 | \authortitle{} % Do not change. 15 | \title{A Few Words About the Nature~of~Things} % Note how we protect the final title phrase from breaking 16 | \ppsupervisor{prof.~dr hab.~inż.~Alojzy Wołodyjowski} % Your supervisor comes here. 17 | \ppyear{2006} % Year of final submission (not graduation!) 18 | 19 | \begin{document} 20 | 21 | % Front matter starts here 22 | \frontmatter\pagestyle{empty}% 23 | \maketitle\cleardoublepage% 24 | 25 | % Blank info page for "karta dyplomowa" 26 | \thispagestyle{empty}\vspace*{\fill}% 27 | \begin{center}Tutaj przychodzi karta pracy dyplomowej;\\oryginał wstawiamy do wersji dla archiwum PP, w pozostałych kopiach wstawiamy ksero.\end{center}% 28 | \vfill\cleardoublepage% 29 | 30 | % Table of contents. 31 | \pagenumbering{Roman}\pagestyle{ppfcmthesis}% 32 | \tableofcontents* \cleardoublepage% 33 | 34 | % Main content of your thesis starts here. 35 | \mainmatter% 36 | \input{0x-lorem-ipsum.tex} 37 | 38 | % All appendices and extra material, if you have any. 39 | \cleardoublepage\appendix% 40 | %\input{0a-appendix.tex} 41 | 42 | % Bibliography (books, articles) starts here. 43 | \bibliographystyle{alpha}{\raggedright\sloppy\small\bibliography{bibliography}} 44 | 45 | % Colophon is a place where you should let others know about copyrights etc. 46 | \ppcolophon 47 | 48 | \end{document} 49 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-master-polski.tex: -------------------------------------------------------------------------------- 1 | 2 | % Szkielet dla pracy pisanej w języku polskim. 3 | 4 | \documentclass[polish,a4paper,oneside]{ppfcmthesis} 5 | 6 | 7 | \usepackage[utf8]{inputenc} 8 | \usepackage[OT4]{fontenc} 9 | 10 | 11 | \authortitle{} % You can place "inż.~" here, if you really want to. 12 | \author{Ignacy Iksiński} % Your name comes here 13 | \title{W zdrowym ciele zdrowy~duch} % Note how we protect the final title phrase from breaking 14 | \ppsupervisor{prof.~dr hab.~inż.~Alojzy Wołodyjowski} % Your supervisor comes here. 15 | \ppyear{2006} % Year of final submission (not graduation!) 16 | 17 | 18 | \begin{document} 19 | 20 | % Front matter starts here 21 | \frontmatter\pagestyle{empty}% 22 | \maketitle\cleardoublepage% 23 | 24 | % Blank info page for "karta dyplomowa" 25 | \thispagestyle{empty}\vspace*{\fill}% 26 | \begin{center}Tutaj przychodzi karta pracy dyplomowej;\\oryginał wstawiamy do wersji dla archiwum PP, w pozostałych kopiach wstawiamy ksero.\end{center}% 27 | \vfill\cleardoublepage% 28 | 29 | % Table of contents. 30 | \pagenumbering{Roman}\pagestyle{ppfcmthesis}% 31 | \tableofcontents* \cleardoublepage% 32 | 33 | % Main content of your thesis starts here. 34 | \mainmatter% 35 | \input{01-wstep.tex} 36 | \input{02-teoria.tex} 37 | \input{03-praca-wlasna.tex} 38 | \input{04-zakonczenie.tex} 39 | 40 | % All appendices and extra material, if you have any. 41 | \cleardoublepage\appendix% 42 | \input{0a-zalacznik.tex} 43 | \input{0b-pisanie-w-latexu.tex} 44 | 45 | % Bibliography (books, articles) starts here. 46 | \bibliographystyle{plalpha}{\raggedright\sloppy\small\bibliography{bibliography}} 47 | 48 | % Colophon is a place where you should let others know about copyrights etc. 49 | \ppcolophon 50 | 51 | \end{document} 52 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/01-wstep.tex: -------------------------------------------------------------------------------- 1 | 2 | \chapter{Wstęp} 3 | 4 | Wstęp\footnote{Treść przykładowych rozdziałów została skopiowana 5 | z ,,zasad'' redakcji prac dyplomowych FCMu~\cite{fcm-red}.} do pracy powinien zawierać następujące elementy: 6 | \begin{itemize} 7 | \item krótkie uzasadnienie podjęcia tematu; 8 | \item cel pracy (patrz niżej); 9 | \item zakres (przedmiotowy, podmiotowy, czasowy) wyjaśniający, w jakim rozmiarze praca będzie realizowana; 10 | \item ewentualne hipotezy, które autor zamierza sprawdzić lub udowodnić; 11 | \item krótką charakterystykę źródeł, zwłaszcza literaturowych; 12 | \item układ pracy (patrz niżej), czyli zwięzłą charakterystykę zawartości poszczególnych rozdziałów; 13 | \item ewentualne uwagi dotyczące realizacji tematu pracy np.~trudności, które pojawiły się w trakcie 14 | realizacji poszczególnych zadań, uwagi dotyczące wykorzystywanego sprzętu, współpraca z firmami zewnętrznymi. 15 | \end{itemize} 16 | 17 | \noindent 18 | \textbf{Wstęp do pracy musi się kończyć dwoma następującymi akapitami:} 19 | \begin{quote} 20 | Celem pracy jest opracowanie / wykonanie analizy / zaprojektowanie / ........... 21 | \end{quote} 22 | oraz: 23 | \begin{quote} 24 | Struktura pracy jest następująca. W rozdziale 2 przedstawiono przegląd literatury na temat ........ 25 | Rozdział 3 jest poświęcony ....... (kilka zdań). 26 | Rozdział 4 zawiera ..... (kilka zdań) ............ itd. 27 | Rozdział X stanowi podsumowanie pracy. 28 | \end{quote} 29 | 30 | W przypadku prac inżynierskich zespołowych lub magisterskich 2-osobowych, po tych dwóch w/w akapitach 31 | musi w pracy znaleźć się akapit, w którym będzie opisany udział w pracy poszczególnych członków zespołu. Na przykład: 32 | 33 | \begin{quote} 34 | Jan Kowalski w ramach niniejszej pracy wykonał projekt tego i tego, opracował ...... 35 | Grzegorz Brzęczyszczykiewicz wykonał ......, itd. 36 | \end{quote} 37 | 38 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-bachelor-polski.tex: -------------------------------------------------------------------------------- 1 | 2 | % Szkielet dla pracy inżynierskiej pisanej w języku polskim. 3 | 4 | \documentclass[polish,bachelor,a4paper,oneside]{ppfcmthesis} 5 | 6 | 7 | \usepackage[utf8]{inputenc} 8 | \usepackage[OT4]{fontenc} 9 | 10 | 11 | % Authors of the thesis here. Separate them with \and 12 | \author{% 13 | Ignacy Iksiński \album{22222} \and 14 | Wincent Woliński \album{22222} \and 15 | Zdzisio Szmal \album{22222} \and 16 | Barnaba Wojnowski \album{22222}} 17 | \authortitle{} % Do not change. 18 | \title{W zdrowym ciele zdrowy~duch} % Note how we protect the final title phrase from breaking 19 | \ppsupervisor{prof.~dr hab.~inż.~Alojzy Wołodyjowski} % Your supervisor comes here. 20 | \ppyear{2006} % Year of final submission (not graduation!) 21 | 22 | 23 | \begin{document} 24 | 25 | % Front matter starts here 26 | \frontmatter\pagestyle{empty}% 27 | \maketitle\cleardoublepage% 28 | 29 | % Blank info page for "karta dyplomowa" 30 | \thispagestyle{empty}\vspace*{\fill}% 31 | \begin{center}Tutaj przychodzi karta pracy dyplomowej;\\oryginał wstawiamy do wersji dla archiwum PP, w pozostałych kopiach wstawiamy ksero.\end{center}% 32 | \vfill\cleardoublepage% 33 | 34 | % Table of contents. 35 | \pagenumbering{Roman}\pagestyle{ppfcmthesis}% 36 | \tableofcontents* \cleardoublepage% 37 | 38 | % Main content of your thesis starts here. 39 | \mainmatter% 40 | \input{01-wstep.tex} 41 | \input{02-teoria.tex} 42 | \input{03-praca-wlasna.tex} 43 | \input{04-zakonczenie.tex} 44 | 45 | % All appendices and extra material, if you have any. 46 | \cleardoublepage\appendix% 47 | \input{0a-zalacznik.tex} 48 | \input{0b-pisanie-w-latexu.tex} 49 | 50 | % Bibliography (books, articles) starts here. 51 | \bibliographystyle{plalpha}{\raggedright\sloppy\small\bibliography{bibliography}} 52 | 53 | % Colophon is a place where you should let others know about copyrights etc. 54 | \ppcolophon 55 | 56 | \end{document} 57 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/0a-zalacznik.tex: -------------------------------------------------------------------------------- 1 | 2 | \chapter{Parę słów o stylu \texttt{ppfcmthesis}} 3 | 4 | \section{Różnice w stosunku do ,,oficjalnych'' zasad składu ze stron FCMu} 5 | 6 | Autor niniejszego stylu nie zgadza się z niektórymi zasadami wprowadzonymi w oficjalnym 7 | dokumencie FCMu.\footnote{\url{http://www.fcm.put.poznan.pl/platon/dokumenty/dlaStudentow/egzaminDyplomowy/zasadyRedakcji}} 8 | Poniższe elementy są składane nieco inaczej w stosunku do ,,oficjalnych'' wytycznych. 9 | 10 | \begin{itemize} 11 | \item Promotor na stronie tytułowej jest umiejscowiony w centralnej osi pionowej strony (a 12 | nie po prawej stronie). 13 | 14 | \item Czcionka użyta do składu to nie Times New Roman. 15 | 16 | \item Spacje między tytułami akapitów oraz wcięcia zostały pozostawione takie, jak są zdefiniowane 17 | oryginalnie w pakiecie Memoir (oraz w \LaTeX{}u). Jeśli zdefiniowano ,,polską'' opcję składu, 18 | to będzie w użyciu wcięcie pierwszego akapitu po tytułach rozdziałów. Przy składzie ,,angielskim'' 19 | tego wcięcia nie ma. 20 | 21 | \item Odwrócona jest kolejność rozdziałów \emph{Literatura} i \emph{Dodatki}. 22 | 23 | \item Na ostatniej stronie umieszczono stopkę informującą o prawach autorskich i programie 24 | użytym do składu. 25 | 26 | \item Nie do końca zgadzam się ze stwierdzeniem, iż ,,zamieszczanie list tabel, rysunków, 27 | wykresów w pracy dyplomowej jest nieuzasadnione''. Niektóre typy publikacji zawierają tabele i rysunki, których 28 | skorowidz umożliwia łatwiejsze ich odszukanie. Ale niech będzie. 29 | 30 | \item Styl podpisów tabel jest taki sam, jak rysunków i odmienny od FCMowego. 31 | Jeśli ktoś koniecznie chce mieć zgodne z wytycznymi 32 | podpisy, to zamiast \texttt{caption} niech użyje \texttt{fcmtcaption} do podpisywania tablic oraz 33 | \texttt{fcmfcaption} do podpisywania rysunków. Podpisy pod rysunkami pozostaną pełne, a nie skrócone (,,Rys.''). 34 | 35 | \item Styl formatowania literatury jest nieco inny niż proponowany przez FCM. 36 | \end{itemize} 37 | 38 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/thesis-master-polski-nicer.tex: -------------------------------------------------------------------------------- 1 | 2 | % Szkielet dla pracy pisanej w języku polskim, zmienione nieco fonty. 3 | 4 | \documentclass[polish,a4paper,oneside]{ppfcmthesis} 5 | 6 | \usepackage[utf8]{inputenc} 7 | \usepackage[OT4]{fontenc} 8 | 9 | \usepackage[widespace]{fourier} % Use Utopia font set 10 | \usepackage[scaled=0.875]{helvet} % Use Helvetica for sans-serif 11 | \renewcommand{\ttdefault}{lmtt} % Use Lucida Mono for monotype 12 | 13 | \usepackage{booktabs} % Booktabs for tables 14 | 15 | 16 | \authortitle{} % You can place "inż.~" here, if you really want to. 17 | \author{Ignacy Iksiński} % Your name comes here 18 | \title{W zdrowym ciele zdrowy~duch} % Note how we protect the final title phrase from breaking 19 | \ppsupervisor{prof.~dr hab.~inż.~Alojzy Wołodyjowski} % Your supervisor comes here. 20 | \ppyear{2006} % Year of final submission (not graduation!) 21 | 22 | 23 | \begin{document} 24 | 25 | % Front matter starts here 26 | \frontmatter\pagestyle{empty}% 27 | \maketitle\cleardoublepage% 28 | 29 | % Blank info page for "karta dyplomowa" 30 | \thispagestyle{empty}\vspace*{\fill}% 31 | \begin{center}Tutaj przychodzi karta pracy dyplomowej;\\oryginał wstawiamy do wersji dla archiwum PP, w pozostałych kopiach wstawiamy ksero.\end{center}% 32 | \vfill\cleardoublepage% 33 | 34 | % Table of contents. 35 | \pagenumbering{Roman}\pagestyle{ppfcmthesis}% 36 | \tableofcontents* \cleardoublepage% 37 | 38 | % Main content of your thesis starts here. 39 | \mainmatter% 40 | \input{01-wstep.tex} 41 | \input{02-teoria.tex} 42 | \input{03-praca-wlasna.tex} 43 | \input{04-zakonczenie.tex} 44 | 45 | % All appendices and extra material, if you have any. 46 | \cleardoublepage\appendix% 47 | \input{0a-zalacznik.tex} 48 | \input{0b-pisanie-w-latexu.tex} 49 | 50 | % Bibliography (books, articles) starts here. 51 | \bibliographystyle{plalpha}{\raggedright\sloppy\small\bibliography{bibliography}} 52 | 53 | % Colophon is a place where you should let others know about copyrights etc. 54 | \ppcolophon 55 | 56 | 57 | \end{document} 58 | -------------------------------------------------------------------------------- /howto/poster/poster2/vector/AchievementScalarizingFunction.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.9) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, +1.1) node[anchor=center, rotate=90] {cost (min)}; 6 | % Ticks on the horizontal axis 7 | \foreach \x / \xtext in {0 / 0, 2 / 0.25, 4 / 0.5, 6 / 0.75, 8 / 1} 8 | \draw (\x cm, 0.1cm) -- (\x cm, -0.1cm) node[anchor=north]{\xtext}; 9 | % Ticks on the vertical axis 10 | \foreach \y / \ytext in {0 / 0, 1.5/ 0.25, 3 / 0.5, 4.5 / 0.75, 6 / 1} 11 | \draw (-0.1cm, \y cm) node[anchor=east]{\ytext} -- (0.1cm, \y cm); 12 | % The related Tchebycheff weighted scalarizing function 13 | \begin{scope}[ultra thick, green] 14 | \draw (6, 0) -- node[near start, above, sloped, black]{} (6, 1.5) ++(0, 0) circle (0.05cm) -- (8, 1.5); 15 | \draw (4, 0) -- node[near start, above, sloped, black]{} (4, 3) ++(0, 0) circle (0.05cm) -- (8, 3); 16 | \draw (2, 0) -- node[near start, above, sloped, black]{} (2, 4.5) ++(0, 0) circle (0.05cm) -- (8, 4.5); 17 | \end{scope} 18 | % The achievement weighted scalarizing function 19 | \begin{scope}[very thick, red] 20 | \draw (5.818, 0) -- node[near start, above, sloped, black]{.15} (6, 1.5) ++(0, 0) circle (0.05cm) -- (8, 1.636); 21 | \draw (3.636, 0) -- node[near start, above, sloped, black]{.3} (4, 3) ++(0, 0) circle (0.05cm) -- (8, 3.273); 22 | \draw (1.456, 0) -- node[near start, above, sloped, black]{.45} (2, 4.5) ++(0, 0) circle (0.05cm) -- (8, 4.908); 23 | % the line through vertices 24 | \draw[dashed] (8, 0) -- (0, 6); 25 | \end{scope} 26 | % Legend 27 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (5.1, 5.9) -- (5.1, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 28 | \draw (0.1, 5.9) node[anchor=north west] {$\lambda_1=0.5\ \lambda_2=0.5\ \epsilon=0.1$}; % first function text 29 | \draw[very thick, red] (4.5, 5.65) -- ++(0.4, 0); % first function line 30 | \draw (0.1, 5.45) node[anchor=north west] {$\lambda_1=0.5\ \lambda_2=0.5\ \epsilon=0$}; % second function text 31 | \draw[ultra thick, green] (4.5, 5.15) -- ++(0.4, 0); % second function line 32 | % The ideal point 33 | \draw (8, 0) node [above left=.5pt, fill=white] {ideal point}; 34 | \filldraw[fill=black] (8, 0) circle (0.1cm); 35 | -------------------------------------------------------------------------------- /howto/poster/poster2/vector/QualityMeasures_C1.tex: -------------------------------------------------------------------------------- 1 | % The grid 2 | \draw[step=1cm, gray, dashed] (0, 0) grid (8, 6); % the grid 3 | % The axes 4 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 5 | % Description of the axes 6 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 7 | \draw [rotate=90] (3, +0.4) node[anchor=center, rotate=90] {cost (min)}; 8 | % The ideal point 9 | \draw (8, 0) node [above left=1pt, fill=white] {ideal point}; 10 | \filldraw[fill=black] (8, 0) circle (0.1cm); 11 | % Pareto set A: circles 12 | \filldraw[color=green] (0.5, 1.5) circle (0.1cm); 13 | \filldraw[color=green] (1.5, 1.75) circle (0.1cm); 14 | \filldraw[color=green] (2.5, 2) circle (0.1cm); 15 | \filldraw[color=green] (3.5, 2.25) circle (0.1cm); 16 | \filldraw[color=green] (4.5, 2.5) circle (0.1cm); 17 | \filldraw[color=green] (5.5, 2.75) circle (0.1cm); 18 | \filldraw[color=green] (6.5, 3) circle (0.1cm); 19 | \filldraw[color=green] (7.5, 3.25) circle (0.1cm); 20 | % Pareto set B: rectangles 21 | \filldraw[color=red] (2.1, 0.29) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 22 | \filldraw[color=red] (2.8, 0.92) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 23 | \filldraw[color=red] (3.5, 1.55) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 24 | \filldraw[color=red] (4.2, 2.18) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 25 | \filldraw[color=red] (4.9, 2.81) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 26 | \filldraw[color=red] (5.6, 3.44) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 27 | \filldraw[color=red] (6.3, 4.07) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 28 | \filldraw[color=red] (7, 4.7) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 29 | % Legend 30 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (1.1, 5.9) -- (1.1, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 31 | \draw (0.1, 5.9) node[anchor=north west] {A}; % the A items text 32 | \filldraw[color=green] (0.7, 5.65) circle (0.1cm); % the A items label 33 | \draw (0.1, 5.45) node[anchor=north west] {B}; % the B items text 34 | \filldraw[color=red] (0.7, 5.2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); % the B items label 35 | % Description of the measure 36 | \draw (4, 5.6) node[anchor=center, fill=white] {$C(A,B)=50\%$}; 37 | \draw (4, 5.15) node[anchor=center, fill=white] {$C(B,A)=50\%$}; 38 | -------------------------------------------------------------------------------- /templates/example-msc-polish/06-zakonczenie.tex: -------------------------------------------------------------------------------- 1 | \chapter{Podsumowanie i kierunki dalszego rozwoju} 2 | 3 | Nadrzędnym celem niniejszej pracy było napisanie (w formie biblioteki) implementacji wybranych 4 | algorytmów tworzenia tablic sufiksów w celu analizy ich efektywności i zachowania w języku wysokiego 5 | poziomu, jakim jest język \texttt{Java}. Zadanie to obejmowało zapoznanie się z~dostępną literaturą 6 | poświęconą tematyce tablic sufiksów, wybór najciekawszych algorytmów oraz ich opisanie. Dodatkowo, 7 | w~wyniku pracy powinna była powstać klasyfikacja algorytmów tworzenia tablic sufiksów. 8 | 9 | Największym wyzwaniem podczas tworzenia pracy było znalezienie najlepszych spośród algorytmów 10 | tworzenia tablic sufiksów. Bardzo pomocne były w~tym opracowania zawierające zestawienia algorytmów 11 | \cite{taxonomy, schurmann-phd} oraz publikowane w~internecie wyniki testów wydajnościowych 12 | [\ref{msufsort}, \ref{mori-benchmark}]. Pewnym problemem podczas implementacji algorytmów było tłumaczenie 13 | do języka \texttt{Java} takich konstrukcji języka \texttt{C++}, jak instrukcje \texttt{define}, 14 | wskaźniki oraz inne polecenia preprocesora. 15 | 16 | Podsumowując, należy stwierdzić, że wszystkie zakładane cele zostały zrealizowane. Przegląd 17 | literatury, opisy algorytmów oraz ich klasyfikacja znalazły się w~tekście tej pracy, podobnie jak 18 | wyniki testów wydajnościowych powstałej implementacji. Według naszej wiedzy niniejsza praca jest 19 | pierwszą publikacją w~języku polskim poświęconą w całości tematyce algorytmów tworzenia tablic 20 | sufiksów. Zaimplementowana biblioteka programowa jest zaś na dzień dzisiejszy jedyną taką pozycją 21 | dedykowaną algorytmom tworzenia tablic sufiksów napisaną w~języku \texttt{Java}. Kod źródłowy 22 | biblioteki jest udostępniony na licencji BSD, można go pobrać ze strony projektu: 23 | \url{http://www.jsuffixarrays.org}. 24 | 25 | Przewidywany dalszy rozwój biblioteki zakłada opracowanie algorytmu dobierającego najlepszą metodę 26 | tworzenia tablic sufiksów na podstawie charakterystyki danych wejściowych (rozmiaru alfabetu i 27 | rozkładu symboli w danych wejściowych). Interesującym kierunkiem rozwoju biblioteki jest również 28 | stworzenie własnej implementacji algorytmu \emph{improved two-stage}, dostosowanej do specyfiki 29 | języka \texttt{Java}. 30 | -------------------------------------------------------------------------------- /templates/example-msc-polish/mnowak-master-thesis.tex: -------------------------------------------------------------------------------- 1 | \documentclass[10pt,polish,a4paper,oneside]{ppfcmthesis} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage[OT4]{fontenc} 5 | 6 | 7 | 8 | \usepackage[widespace]{fourier} % Use Utopia font set 9 | \usepackage[scaled=0.875]{helvet} % Use Helvetica for sans-serif 10 | \renewcommand{\ttdefault}{lmtt} % Use Lucida Mono for monotype 11 | \usepackage{booktabs} % Booktabs for tables 12 | \usepackage{multirow} 13 | \usepackage{algorithm2e} 14 | \usepackage{placeins} 15 | \renewcommand{\listalgorithmcfname}{Lista algorytmów} 16 | \renewcommand{\algorithmcfname}{Algorytm} 17 | 18 | \newcommand{\SA}[1]{$\mathit{SA}_{#1}$} 19 | \newcommand{\ISA}[1]{$\mathit{ISA}_{#1}$} 20 | \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} 21 | \newcommand{\bigO}[0]{\mathcal{O}} 22 | \newcommand{\dollar}[0]{\$} 23 | 24 | \author{Michał Nowak} 25 | 26 | \title{Przegląd i~porównanie metod tworzenia tablic sufiksów oraz~ich~efektywna~implementacja~w~języku~Java} 27 | 28 | \ppsupervisor{dr~inż.~Dawid Weiss} 29 | \ppyear{2009} % Year of final submission (not graduation!) 30 | 31 | \begin{document} 32 | % Front matter starts here 33 | \frontmatter\pagestyle{empty}% 34 | \maketitle\cleardoublepage% 35 | 36 | % Blank info page for "karta dyplomowa" 37 | \thispagestyle{empty}\vspace*{\fill}% 38 | \begin{center}Tutaj przychodzi karta pracy dyplomowej;\\oryginał wstawiamy do wersji dla archiwum PP, w pozostałych kopiach wstawiamy ksero.\end{center}% 39 | \vfill\cleardoublepage% 40 | 41 | % Table of contents. 42 | \pagenumbering{Roman}\pagestyle{ppfcmthesis}% 43 | \tableofcontents* \cleardoublepage% 44 | 45 | % Main content of your thesis starts here. 46 | \mainmatter% 47 | \input{01-wstep.tex} 48 | \input{02-podstawy.tex} 49 | \input{03-przeglad.tex} 50 | \input{04-algorytmy.tex} 51 | \input{05-testy.tex} 52 | \input{06-zakonczenie.tex} 53 | 54 | 55 | 56 | % All appendices and extra material, if you have any. 57 | \cleardoublepage\appendix% 58 | \input{a1-vm.tex} 59 | 60 | % Bibliography (books, articles) starts here. 61 | \bibliographystyle{plalpha}{\raggedright\sloppy\small\bibliography{bibliography}} 62 | 63 | % Web resources 64 | \input{a2-web-resources.tex} 65 | 66 | % Colophon is a place where you should let others know about copyrights etc. 67 | \ppcolophon 68 | 69 | 70 | \end{document} 71 | -------------------------------------------------------------------------------- /howto/poster/poster2/vector/QualityMeasures_C2.tex: -------------------------------------------------------------------------------- 1 | % The grid 2 | \draw[step=1cm, gray, dashed] (0, 0) grid (8, 6); % the grid 3 | % The axes 4 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 5 | % Description of the axes 6 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 7 | \draw [rotate=90] (3, +0.4) node[anchor=center, rotate=90] {cost (min)}; 8 | % The ideal point 9 | \draw (8, 0) node [above left=1pt, fill=white] {ideal point}; 10 | \filldraw[fill=black] (8, 0) circle (0.1cm); 11 | % Pareto set A: circles 12 | \filldraw[color=green] (0.5, 0.31) circle (0.1cm); 13 | \filldraw[color=green] (0.85, 0.41) circle (0.1cm); 14 | \filldraw[color=green] (1.2, 0.52) circle (0.1cm); 15 | \filldraw[color=green] (1.55, 0.65) circle (0.1cm); 16 | \filldraw[color=green] (1.9, 0.79) circle (0.1cm); 17 | \filldraw[color=green] (2.25, 0.94) circle (0.1cm); 18 | \filldraw[color=green] (2.6, 1.12) circle (0.1cm); 19 | \filldraw[color=green] (2.95, 1.31) circle (0.1cm); 20 | \filldraw[color=green] (3.3, 1.52) circle (0.1cm); 21 | % Pareto set B: rectangles 22 | \filldraw[color=red](4.7, 2.35) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 23 | \filldraw[color=red](5.1, 2.47) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 24 | \filldraw[color=red](5.5, 2.63) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 25 | \filldraw[color=red](5.9, 2.84) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 26 | \filldraw[color=red](6.3, 3.10) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 27 | \filldraw[color=red](6.7, 3.42) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 28 | \filldraw[color=red](7.1, 3.82) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 29 | \filldraw[color=red](7.5, 4.34) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 30 | \filldraw[color=red](7.9, 5.08) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 31 | % Legend 32 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (1.1, 5.9) -- (1.1, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 33 | \draw (0.1, 5.9) node[anchor=north west] {A}; % the A items text 34 | \filldraw[color=green] (0.7, 5.65) circle (0.1cm); % the A items label 35 | \draw (0.1, 5.45) node[anchor=north west] {B}; % the B items text 36 | \filldraw[color=red] (0.7, 5.2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); % the B items label 37 | % Description of the measure 38 | \draw (4, 5.6) node[anchor=center, fill=white] {$C(A,B)=0\%$}; 39 | \draw (4, 5.15) node[anchor=center, fill=white] {$C(B,A)=0\%$}; 40 | -------------------------------------------------------------------------------- /templates/example-msc-polish/a2-web-resources.tex: -------------------------------------------------------------------------------- 1 | \chapter*{Zasoby internetowe}\label{sect:web-resources}% 2 | \phantomsection\addcontentsline{toc}{chapter}{Zasoby internetowe} 3 | 4 | \newcommand{\tturl}{\begingroup \urlstyle{tt}\Url} 5 | 6 | {\small 7 | \begin{enumerate}[{[}A{]}] 8 | \item \label{hart} Project Gutenberg. \\ 9 | \tturl{http://www.gutenberg.net} 10 | \item \label{aspectj} The AspectJ Project. \\ 11 | \tturl{http://www.eclipse.org/aspectj/} 12 | \item \label{gauntlet} The Gauntlet (Universal Robustness Corpus). \\ 13 | \tturl{http://www.michael-maniscalco.com/testset/gauntlet/} 14 | \item \label{manzini-corpus} Manzini's Large Corpus. \\ 15 | \tturl{http://www.mfn.unipmn.it/~manzini/lightweight/corpus/} 16 | % \item \label{carrot} Carrot2 Clustering Engine. \\ 17 | % \tturl{http://carrot2.org/} 18 | % \item \label{jsa} Java Suffix Arrays. \\ 19 | % \tturl{http://jsuffixarrays.org/} 20 | % \item \label{bsd} New BSD License \\ 21 | % \tturl{http://www.opensource.org/licenses/bsd-license.php} 22 | 23 | 24 | \item \label{mori-benchmark} Yuta Mori, Suffix Array Construction Benchmark \\ 25 | \tturl{http://homepage3.nifty.com/wpage/benchmark/index.html} 26 | 27 | \item \label{msufsort} Michael Maniscalco, The MSufSort Algorithm. \\ 28 | \tturl{http://www.michael-maniscalco.com/msufsort.htm} 29 | 30 | \item \label{KScode} Peter Sanders, Skew algorithm. \\ 31 | \tturl{http://www.mpi-inf.mpg.de/~sanders/programs/suffix/} 32 | 33 | 34 | \item \label{ssort} M. Douglas McIlroy, ssort.c \\ 35 | \tturl{http://cm.bell-labs.com/cm/who/doug/source.html} 36 | 37 | \item \label{archon} Dmitry A. Malyshev, Archon \\ 38 | \tturl{http://kvgate.com/index.php?root/comp/arch/archon/} 39 | 40 | \item \label{MFcode} Giovanni Manzini, A Lightweight Suffix Array and BWT Construction Algorithm \\ 41 | \tturl{http://web.unipmn.it/~manzini/lightweight/ds.tgz} 42 | 43 | \item \label{libdivsufsort} Yuta Mori, libdivsufsort project homepage. \\ 44 | \tturl{http://code.google.com/p/libdivsufsort/} 45 | 46 | 47 | \item \label{LScode} N.Jesper Larsson, qsufsort.c \\ 48 | \tturl{http://www.larsson.dogma.net/qsufsort.c} 49 | 50 | \item \label{bpr-code} Klaus-Bernd Sch\"{u}rmann i Jens Stoye, bpr downloadpage. \\ 51 | \tturl{http://bibiserv.techfak.uni-bielefeld.de/download/tools/bpr.html} 52 | 53 | 54 | 55 | \end{enumerate} 56 | } 57 | -------------------------------------------------------------------------------- /howto/poster/poster2/vector/StagesPMA_1.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, +0.4) node[anchor=center, rotate=90] {cost (min)}; 6 | % The randomly chosen direction of search 7 | \draw[very thick, red, dashed] (0, 4) -- (8, 0); 8 | % The current Pareto set 9 | \begin{scope}[blue] 10 | \filldraw (1, 0) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 11 | \filldraw (1.25, 1) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 12 | \filldraw (2, 2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 13 | \filldraw (2.25, 2.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 14 | \filldraw (3.5, 3.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 15 | \filldraw (4.5, 4) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 16 | \filldraw (5, 4.25) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 17 | \filldraw (6, 4.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 18 | \filldraw (7, 4.75) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 19 | \filldraw (7.5, 5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 20 | \end{scope} 21 | % The current set of solutions 22 | \begin{scope}[green] 23 | \filldraw (0.5, 0.5) circle (0.1cm); 24 | \filldraw (0.5, 2) circle (0.1cm); 25 | \filldraw (1, 1.5) circle (0.1cm); 26 | \filldraw (1.5, 2.5) circle (0.1cm); 27 | \filldraw (2, 3.5) circle (0.1cm); 28 | \filldraw (2, 3) circle (0.1cm); 29 | \filldraw (2.5, 4) circle (0.1cm); 30 | \filldraw (3, 4) circle (0.1cm); 31 | \filldraw (4, 4.5) circle (0.1cm); 32 | \filldraw (4.5, 5) circle (0.1cm); 33 | \filldraw (5.5, 5) circle (0.1cm); 34 | \filldraw (6.5, 5.5) circle (0.1cm); 35 | \filldraw (7, 5.5) circle (0.1cm); 36 | \end{scope} 37 | % The ideal point 38 | \draw (8, 0) node [above left=1pt, fill = white] {ideal point}; 39 | \filldraw[fill=black] (8, 0) circle (0.1cm); 40 | % Legend 41 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (3.8, 5.9) -- (3.8, 4.45) -- (0.1, 4.45) -- (0.1, 5.9); % the boundary 42 | \draw (0.1, 5.9) node[anchor=north west] {current solutions}; % first function text 43 | \filldraw[green] (3.4, 5.65) circle (0.1cm); % first function line 44 | \draw (0.1, 5.45) node[anchor=north west] {current Pareto set}; % second function text 45 | \filldraw[blue] (3.4, 5.25) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); % second function line 46 | \draw (0.1, 5.0) node [anchor=north west] {direction of search}; 47 | \draw[very thick, red, dashed] (3.4, 4.75) ++ (-0.25, 0) -- +(0.5, 0); -------------------------------------------------------------------------------- /howto/poster/poster2/vector/StagesPMA_5.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, +0.4) node[anchor=center, rotate=90] {cost (min)}; 6 | % The randomly chosen direction of search 7 | \draw[very thick, red, dashed] (0, 4) -- (8, 0); 8 | % The current Pareto set 9 | \begin{scope}[blue] 10 | \filldraw (1, 0) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 11 | \filldraw (1.25, 1) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 12 | \filldraw (2, 2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 13 | \filldraw (2.25, 2.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 14 | % \filldraw (3.5, 3.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); % it is a parent of recombination 15 | \filldraw (4.5, 4) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 16 | \filldraw (5, 4.25) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 17 | \filldraw (6, 4.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 18 | \filldraw (7, 4.75) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 19 | \filldraw (7.5, 5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 20 | \end{scope} 21 | % The current set of solutions 22 | \begin{scope}[green] 23 | \filldraw (0.5, 0.5) circle (0.1cm); 24 | \filldraw (0.5, 2) circle (0.1cm); 25 | \filldraw (1, 1.5) circle (0.1cm); 26 | \filldraw (1.5, 2.5) circle (0.1cm); 27 | \filldraw (2, 3.5) circle (0.1cm); 28 | \filldraw (2, 3) circle (0.1cm); % it is a parent of recombination 29 | \filldraw (2.5, 4) circle (0.1cm); 30 | \filldraw (3, 4) circle (0.1cm); 31 | \filldraw (4, 4.5) circle (0.1cm); 32 | \filldraw (4.5, 5) circle (0.1cm); 33 | \filldraw (5.5, 5) circle (0.1cm); 34 | \filldraw (6.5, 5.5) circle (0.1cm); 35 | \filldraw (7, 5.5) circle (0.1cm); 36 | \end{scope} 37 | % The offspring after LS 38 | \filldraw[black] (4, 3) node(offspringAfterLS){} circle (0.15cm); 39 | % The removed solution 40 | \draw[thin, blue] (3.5, 3.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 41 | % The ideal point 42 | \draw (8, 0) node [above left=1pt, fill = white] {ideal point}; 43 | \filldraw[fill=black] (8, 0) circle (0.1cm); 44 | % Legend 45 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (2.1, 5.9) -- (2.1, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 46 | \draw (0.1, 5.9) node[anchor=north west] {added}; 47 | \filldraw[black] (1.8, 5.65) circle (0.15cm); 48 | \draw (0.1, 5.45) node[anchor=north west] {removed}; 49 | \draw[thin, blue] (1.8, 5.2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); -------------------------------------------------------------------------------- /howto/poster/poster2/vector/StagesPMA_2.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, +0.4) node[anchor=center, rotate=90] {cost (min)}; 6 | % The randomly chosen direction of search 7 | \draw[very thick, red, dashed] (0, 4) -- (8, 0); 8 | % The current Pareto set 9 | \begin{scope}[blue] 10 | \filldraw (1, 0) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 11 | \filldraw (1.25, 1) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 12 | \filldraw (2, 2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 13 | \filldraw (2.25, 2.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 14 | % \filldraw (3.5, 3.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); % it is a parent of recombination 15 | \filldraw (4.5, 4) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 16 | \filldraw (5, 4.25) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 17 | \filldraw (6, 4.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 18 | \filldraw (7, 4.75) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 19 | \filldraw (7.5, 5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 20 | \end{scope} 21 | % The current set of solutions 22 | \begin{scope}[green] 23 | \filldraw (0.5, 0.5) circle (0.1cm); 24 | \filldraw (0.5, 2) circle (0.1cm); 25 | \filldraw (1, 1.5) circle (0.1cm); 26 | \filldraw (1.5, 2.5) circle (0.1cm); 27 | \filldraw (2, 3.5) circle (0.1cm); 28 | % \filldraw (2, 3) circle (0.1cm); % it is a parent of recombination 29 | \filldraw (2.5, 4) circle (0.1cm); 30 | \filldraw (3, 4) circle (0.1cm); 31 | \filldraw (4, 4.5) circle (0.1cm); 32 | \filldraw (4.5, 5) circle (0.1cm); 33 | \filldraw (5.5, 5) circle (0.1cm); 34 | \filldraw (6.5, 5.5) circle (0.1cm); 35 | \filldraw (7, 5.5) circle (0.1cm); 36 | \end{scope} 37 | % The parents of recombination 38 | \filldraw[red] (3.5, 3.5) circle (0.15cm); 39 | \filldraw[red] (2, 3) circle (0.15cm); 40 | % The first scalarizing function 41 | \draw[red, very thick] (1.45, 0) -- (2, 3) -- (8, 3.27); 42 | % The second scalarizing function 43 | \draw[red, very thick] (0.59, 0) -- (1.21, 3.4) circle (0.05cm) -- (8, 3.705); 44 | % The ideal point 45 | \draw (8, 0) node [above left=1pt, fill = white] {ideal point}; 46 | \filldraw[fill=black] (8, 0) circle (0.1cm); 47 | % Legend 48 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (3.0, 5.9) -- (3.0, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 49 | \draw (0.1, 5.9) node[anchor=north west] {parents of}; 50 | \draw (0.1, 5.45) node[anchor=north west] {recombination}; 51 | \filldraw[red] (2.7, 5.2) circle (0.15cm); -------------------------------------------------------------------------------- /howto/poster/poster2/vector/StagesPMA_4.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, +0.4) node[anchor=center, rotate=90] {cost (min)}; 6 | % The randomly chosen direction of search 7 | \draw[very thick, red, dashed] (0, 4) -- (8, 0); 8 | % The current Pareto set 9 | \begin{scope}[blue] 10 | \filldraw (1, 0) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 11 | \filldraw (1.25, 1) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 12 | \filldraw (2, 2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 13 | \filldraw (2.25, 2.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 14 | \filldraw (3.5, 3.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); % it is a parent of recombination 15 | \filldraw (4.5, 4) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 16 | \filldraw (5, 4.25) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 17 | \filldraw (6, 4.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 18 | \filldraw (7, 4.75) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 19 | \filldraw (7.5, 5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 20 | \end{scope} 21 | % The current set of solutions 22 | \begin{scope}[green] 23 | \filldraw (0.5, 0.5) circle (0.1cm); 24 | \filldraw (0.5, 2) circle (0.1cm); 25 | \filldraw (1, 1.5) circle (0.1cm); 26 | \filldraw (1.5, 2.5) circle (0.1cm); 27 | \filldraw (2, 3.5) circle (0.1cm); 28 | \filldraw (2, 3) circle (0.1cm); % it is a parent of recombination 29 | \filldraw (2.5, 4) circle (0.1cm); 30 | \filldraw (3, 4) circle (0.1cm); 31 | \filldraw (4, 4.5) circle (0.1cm); 32 | \filldraw (4.5, 5) circle (0.1cm); 33 | \filldraw (5.5, 5) circle (0.1cm); 34 | \filldraw (6.5, 5.5) circle (0.1cm); 35 | \filldraw (7, 5.5) circle (0.1cm); 36 | \end{scope} 37 | % The offspring 38 | \draw[black, thin] (1.5, 4) node(offspring){} circle (0.15cm); 39 | % The offspring after LS 40 | \filldraw[black] (4, 3) node(offspringAfterLS){} circle (0.15cm); 41 | % The arrow from the offspring to the offspring after LS 42 | \begin{scope}[>= angle 60] 43 | \draw[dashed, thick, ->] (offspring) -- (offspringAfterLS); 44 | \end{scope} 45 | % The ideal point 46 | \draw (8, 0) node [above left=1pt, fill = white] {ideal point}; 47 | \filldraw[fill=black] (8, 0) circle (0.1cm); 48 | % Legend 49 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (3.1, 5.9) -- (3.1, 4.9) -- (0.1, 4.9) -- (0.1, 5.9); % the boundary 50 | \draw (0.1, 5.9) node[anchor=north west] {the offspring after}; 51 | \draw (0.1, 5.45) node[anchor=north west] {local search}; 52 | \filldraw[black] (2.7, 5.2) circle (0.15cm); -------------------------------------------------------------------------------- /templates/example-msc-polish/figures/mississippi_trie.gviz: -------------------------------------------------------------------------------- 1 | digraph G { 2 | graph[page="8.5,11",size="7.5,7",ratio=fill,center=1]; 3 | node [fontname=Helvetica, fontsize=12. label="", shape=point]; 4 | 5 | rankdir=TD; 6 | compound=true; 7 | pack=1; 8 | 9 | mississippi[label="mississippi", shape=ellipse] 10 | ississippi[label="ississippi", shape=ellipse] 11 | ssissippi[label="ssissippi", shape=ellipse] 12 | sissippi[label="sissippi", shape=ellipse] 13 | issippi[label="issippi", shape=ellipse] 14 | ssippi[label="ssippi", shape=ellipse] 15 | sippi[label="sippi", shape=ellipse] 16 | ippi[label="ippi", shape=ellipse] 17 | ppi[label="ppi", shape=ellipse] 18 | pi[label="pi", shape=ellipse] 19 | i[label="i", shape=ellipse] 20 | 21 | 22 | 23 | 24 | 25 | 26 | root -> m[label="m"] 27 | m -> mi[label="i"] 28 | mi -> mis[label="s"] 29 | mis -> miss[label="s"] 30 | miss -> missi[label="i"] 31 | missi -> missis[label="s"] 32 | missis -> mississ[label="s"] 33 | mississ -> mississi[label="i"] 34 | mississi -> mississip[label="p"] 35 | mississip -> mississipp[label="p"] 36 | mississipp -> mississippi[label="i"] 37 | 38 | root -> i[label="i"] 39 | i -> ip[label="p"] 40 | ip -> ipp[label="p"] 41 | ipp -> ippi[label="i"] 42 | 43 | i -> is[label="s"] 44 | is -> iss[label="s"] 45 | iss -> issi[label="i"] 46 | issi -> issip[label="p"] 47 | issip -> issipp[label="p"] 48 | issipp -> issippi[label="i"] 49 | issi -> issis[label="s"] 50 | issis -> ississ[label="s"] 51 | ississ -> ississi[label="i"] 52 | ississi -> ississip[label="p"] 53 | ississip -> ississipp[label="p"] 54 | ississipp -> ississippi[label="i"] 55 | 56 | root -> s[label="s"] 57 | s -> ss[label="s"] 58 | ss -> ssi[label="i"] 59 | ssi -> ssip[label="p"] 60 | ssip -> ssipp[label="p"] 61 | ssipp -> ssippi[label="i"] 62 | ssi -> ssis[label="s"] 63 | ssis -> ssiss[label="s"] 64 | ssiss -> ssissi[label="i"] 65 | ssissi -> ssissip[label="p"] 66 | ssissip -> ssissipp[label="p"] 67 | ssissipp -> ssissippi[label="i"] 68 | s -> si[label="i"] 69 | si -> sip[label="p"] 70 | sip -> sipp[label="p"] 71 | sipp -> sippi[label="i"] 72 | si -> sis[label="s"] 73 | sis -> siss[label="s"] 74 | siss -> sissi[label="i"] 75 | sissi -> sissip[label="p"] 76 | sissip -> sissipp[label="p"] 77 | sissipp -> sissippi[label="ssippi"] 78 | root -> p[label="p"] 79 | p -> pi[label="i"] 80 | p -> pp[label="p"] 81 | pp -> ppi[label="i"] 82 | 83 | 84 | } 85 | -------------------------------------------------------------------------------- /howto/poster/poster2/vector/StagesPMA_3.tex: -------------------------------------------------------------------------------- 1 | % The axes 2 | \draw (0, 0) -- (8, 0) -- (8, 6) -- (0, 6) -- (0, 0); 3 | % Description of the axes 4 | \draw (4, -0.4) node[anchor=center] {satisfaction (max)}; 5 | \draw [rotate=90] (3, +0.4) node[anchor=center, rotate=90] {cost (min)}; 6 | % The randomly chosen direction of search 7 | \draw[very thick, red, dashed] (0, 4) -- (8, 0); 8 | % The current Pareto set 9 | \begin{scope}[blue] 10 | \filldraw (1, 0) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 11 | \filldraw (1.25, 1) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 12 | \filldraw (2, 2) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 13 | \filldraw (2.25, 2.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 14 | % \filldraw (3.5, 3.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); % it is a parent of recombination 15 | \filldraw (4.5, 4) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 16 | \filldraw (5, 4.25) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 17 | \filldraw (6, 4.5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 18 | \filldraw (7, 4.75) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 19 | \filldraw (7.5, 5) ++(-0.1cm, -0.1cm) rectangle +(0.2cm, 0.2cm); 20 | \end{scope} 21 | % The current set of solutions 22 | \begin{scope}[green] 23 | \filldraw (0.5, 0.5) circle (0.1cm); 24 | \filldraw (0.5, 2) circle (0.1cm); 25 | \filldraw (1, 1.5) circle (0.1cm); 26 | \filldraw (1.5, 2.5) circle (0.1cm); 27 | \filldraw (2, 3.5) circle (0.1cm); 28 | % \filldraw (2, 3) circle (0.1cm); % it is a parent of recombination 29 | \filldraw (2.5, 4) circle (0.1cm); 30 | \filldraw (3, 4) circle (0.1cm); 31 | \filldraw (4, 4.5) circle (0.1cm); 32 | \filldraw (4.5, 5) circle (0.1cm); 33 | \filldraw (5.5, 5) circle (0.1cm); 34 | \filldraw (6.5, 5.5) circle (0.1cm); 35 | \filldraw (7, 5.5) circle (0.1cm); 36 | \end{scope} 37 | % The parents of recombination 38 | \filldraw[red] (3.5, 3.5) node(parent1){} circle (0.15cm); 39 | \filldraw[red] (2, 3) node(parent2){} circle (0.15cm); 40 | % The offspring 41 | \filldraw[black] (1.5, 4) node(offspring){} circle (0.15cm); 42 | % Arrows from parents to the offspring 43 | \begin{scope}[>= angle 60] 44 | \draw[->, black, thick, dashed] (parent1) -- (offspring); 45 | \draw[->, black, thick, dashed] (parent2) -- (offspring); 46 | \end{scope} 47 | % The ideal point 48 | \draw (8, 0) node [above left=1pt, fill = white] {ideal point}; 49 | \filldraw[fill=black] (8, 0) circle (0.1cm); 50 | % Legend 51 | \filldraw[fill=white,draw=black] (0.1, 5.9) -- (3.0, 5.9) -- (3.0, 4.45) -- (0.1, 4.45) -- (0.1, 5.9); % the boundary 52 | \draw (0.1, 5.9) node[anchor=north west] {parents of}; 53 | \draw (0.1, 5.45) node[anchor=north west] {recombination}; 54 | \filldraw[red] (2.7, 5.15) circle (0.15cm); 55 | \draw (0.1, 5.0) node[anchor=north west] {the offspring}; 56 | \filldraw[black] (2.7, 4.7) circle (0.15cm); -------------------------------------------------------------------------------- /templates/fcm-unofficial/CHECKLIST: -------------------------------------------------------------------------------- 1 | 2 | Wspólne 3 | ------- 4 | 5 | - Znakiem myślnika jest w LaTeXu dywiz pełen (---) albo półpauza (--), przykład: 6 | A niech to jasna cholera --- wrzasnąłem. 7 | 8 | - Połączenie między wyrazami to zwykły myślnik, przykład: 9 | północno-zachodni 10 | 11 | - Sprawdź czy tutuł pracy ma maksymalnie dwa wiersze i czy stanowią one pełne frazy 12 | (czy nie ma przeniesienia bez sensu). 13 | 14 | - Sprawdź ostrzeżenia o 'overfull' i 'underful' boxes. Niektóre z nich można zignorować (spójrz 15 | na wynik formatowania), niektóre trzeba poprawić; czasem przeformułować zdanie. 16 | 17 | - Przypisy stawia się wewnątrz zdań lub za kropką, przykład: 18 | Footnote is added after a comma.\footnote{Here is a footnote.} 19 | 20 | - Nie używaj przypisów zbyt często. Zobacz, czy nie lepiej będzie zintegrować przypis z tekstem. 21 | 22 | - Tytuły tabel, rysunków powinny kończyć się kropką. 23 | 24 | - Nie używaj modyfikatora [h] (here) do rysunków i tabel. Rysunki i tabele powinny być 25 | justowane do góry strony lub na stronie osobnej. 26 | 27 | - Wyróżnienie w tekście to polecenie \emph{wyraz}, nie należy używać czcionki pogrubionej (która 28 | wystaje wizualnie z tekstu i rozprasza). 29 | 30 | - Nazwy plików, katalogów, ścieżek, zmiennych środowiskowych, klas i metod formatujemy poleceniem 31 | \texttt{plik\_o\_pewnej\_nazwie}. 32 | 33 | 34 | Prace pisane w języku polskim 35 | ----------------------------- 36 | 37 | - Nie używaj " jako cudzysłowu; polski cudzysłów zaczyna się znakiem ,, a kończy '', przykład: 38 | ,,dobry'' 39 | 40 | - Sprawdź pisownię wyrazów ze słownikiem polskim. Przykład: 41 | aspell --lang=pl -t -c plik.tex 42 | 43 | - Po ostatniej zmianie do treści, sprawdź i przenieś wiszące spójniki wstawiając przed nie znak 44 | tyldy (twardej spacji), przykład: 45 | Ala i~kotek nie lubią mleczka, a~Stasiu lubi. 46 | 47 | 48 | 49 | Prace pisane w języku angielskim 50 | -------------------------------- 51 | 52 | - Nie używaj " jako cudzysłowu; angielski cudzysłów zaczyna się znakiem ` a kończy ', przykład: 53 | `good' 54 | ewentualnie podwójny (ale spójnie!) 55 | ``good'' 56 | 57 | - Sprawdź pisownię wyrazów ze słownikiem amerykańskim lub brytyjskim (spójnie). Przykład: 58 | aspell --lang=en_gb -t -c plik.tex 59 | 60 | - Za i.e. (id est) i e.g. (exempli gratia) stawia się zwyczajowo przecinek w typografii 61 | amerykańskiej. 62 | 63 | - Przed i za pełną pauza nie ma zwyczajowo spacji w typografii amerykańskiej, przykład: 64 | Darn, this looks good---said Mary. 65 | 66 | - Zamykający cudzysłów oraz footnote wychodzą za ostatni znak interpunkcji w typografii 67 | amerykańskiej, przykłady: 68 | It can be called a ``curiosity,'' but it's actually normal. 69 | Footnote is added after a comma.\footnote{Here is a footnote.} 70 | 71 | - Odwołania do tabel i rysunków zawsze z wielkiej litery, przykład: 72 | In Figure~\ref{} we illustrated XXX and in Table~\ref{} we show detailed data. 73 | 74 | 75 | -------------------------------------------------------------------------------- /templates/fcm-unofficial/03-praca-wlasna.tex: -------------------------------------------------------------------------------- 1 | 2 | \chapter{Rozwinięcie} 3 | 4 | Rozdziały dokumentujące pracę własną studenta: opisujące ideę, sposób lub metodę 5 | rozwiązania postawionego problemu oraz rozdziały opisujące techniczną stronę rozwiązania 6 | --- dokumentacja techniczna, przeprowadzone testy, badania i uzyskane wyniki. 7 | 8 | Praca musi zawierać elementy pracy własnej autora adekwatne do jego wiedzy praktycznej uzyskanej w 9 | okresie studiów. Za pracę własną autora można uznać np.: stworzenie aplikacji informatycznej lub jej 10 | fragmentu, zaproponowanie algorytmu rozwiązania problemu szczegółowego, przedstawienie projektu 11 | np.~systemu informatycznego lub sieci komputerowej, analizę i ocenę nowych technologii lub rozwiązań 12 | informatycznych wykorzystywanych w przedsiębiorstwach, itp. 13 | 14 | Autor powinien zadbać o właściwą dokumentację pracy własnej obejmującą specyfikację założeń i 15 | sposób realizacji poszczególnych zadań 16 | wraz z ich oceną i opisem napotkanych problemów. W przypadku prac o charakterze 17 | projektowo-implementacyjnym, ta część pracy jest zastępowana dokumentacją techniczną i użytkową systemu. 18 | 19 | W pracy \textbf{nie należy zamieszczać całego kodu źródłowego} opracowanych programów. Kod źródłowy napisanych 20 | programów, wszelkie oprogramowanie wytworzone i wykorzystane w pracy, wyniki przeprowadzonych 21 | eksperymentów powinny być umieszczone na płycie CD, stanowiącej dodatek do pracy. 22 | 23 | \section*{Styl tekstu} 24 | 25 | Należy\footnote{Uwagi o stylu pochodzą częściowo ze stron Macieja Drozdowskiego~\cite{mdro}.} 26 | stosować formę bezosobową, tj.~\emph{w pracy rozważono ......, 27 | w ramach pracy zaprojektowano ....}, a nie: \emph{w pracy rozważyłem, w ramach pracy zaprojektowałem}. 28 | Odwołania do wcześniejszych fragmentów tekstu powinny mieć następującą postać: ,,Jak wspomniano wcześniej, ....'', 29 | ,,Jak wykazano powyżej ....''. Należy unikać długich zdań. 30 | 31 | ,,Ilość'' i ,,liczba''. Proszę zauważyć, liczba dotyczy rzeczy policzalnych, np.~liczba osób, liczba zadań, procesorów. 32 | Ilość dotyczy rzeczy niepoliczalnych, np.~ilość wody, energii. Należy starać się wyrażać precyzyjnie, tj.~zgodnie 33 | z naturą liczonych obiektów.\footnote{(DW) Według wytycznych Rady Języka Polskiego obie formy są dopuszczalne 34 | zarówno do obiektów policzalnych, jak i niepoliczalnych. W tekstach technicznych warto być jednak precyzyjnym.} 35 | 36 | Niedopuszczalne są zwroty używane w języku potocznym. W pracy należy używać terminologii informatycznej, która ma 37 | sprecyzowaną treść i znaczenie. Nie należy używać ,,gazetowych'' określeń typu: 38 | silnik bazy danych, silnik programu, maszyna skryptowa, elektroniczny mechanizm, mapowanie, string, gdyż nie wiadomo 39 | co one właściwie oznaczają. 40 | 41 | Niedopuszczalne jest pisanie pracy metodą \emph{cut\&paste}, bo jest to plagiat i dowód intelektualnej indolencji autora. 42 | Dane zagadnienie należy opisać własnymi słowami. Zawsze trzeba powołać się na zewnętrzne źródła. 43 | 44 | -------------------------------------------------------------------------------- /templates/dcs/dcsalg.sty: -------------------------------------------------------------------------------- 1 | % 2 | % $Id: dcsalg.sty,v 1.16 2005/12/09 17:01:05 sobaniec Exp $ 3 | % 4 | % Algorithm environment of DCS group 5 | % by Cezary Sobaniec 6 | % 7 | 8 | \RequirePackage{float} 9 | \RequirePackage{algpseudocode} 10 | \RequirePackage{keyval} 11 | \RequirePackage{ifthen} 12 | 13 | \renewcommand{\algorithmiccomment}[1]{/* \textit{#1} */} 14 | \renewcommand{\algorithmicforall}{\textbf{foreach}} 15 | 16 | % additional commands 17 | \newcommand{\AND}{\textbf{and}\ } 18 | \newcommand{\OR}{\textbf{or}\ } 19 | \newcommand{\NOT}{\textbf{not}\ } 20 | \newcommand{\algorithmicprocname}{\textbf{Procedure:}} 21 | \newcommand{\ProcName}{\item[\algorithmicprocname]} 22 | \newcommand{\algorithmicparameters}{\textbf{Parameters:}} 23 | \newcommand{\Parameters}{\item[\algorithmicparameters]} 24 | \newcommand{\Statey}[1]{\item[#1]} 25 | \newcommand{\Stateybf}[1]{\item[\textbf{#1}]} 26 | \newcommand{\Stateysf}[1]{\item[\textsf{#1}]} 27 | \newcommand{\Stateytt}[1]{\item[\texttt{#1}]} 28 | 29 | % 30 | % dcsalg environment 31 | % 32 | 33 | % width parameter 34 | \newlength{\@dcsalgwidth} 35 | \setlength{\@dcsalgwidth}{\textwidth} 36 | \addtolength{\@dcsalgwidth}{-1em} 37 | \define@key{dcsalg}{width}{\setlength{\@dcsalgwidth}{#1}} 38 | 39 | % font parameter 40 | \newcommand{\@dcsalgfont}{} 41 | \define@key{dcsalg}{font}{\renewcommand{\@dcsalgfont}{#1}} 42 | 43 | % number parameter 44 | \newboolean{@dcsalgnumber} 45 | \setboolean{@dcsalgnumber}{false} 46 | \define@key{dcsalg}{number}[]{\setboolean{@dcsalgnumber}{true}} 47 | 48 | % plain|boxed|ruled parameters 49 | \newboolean{@dcsalgruled} 50 | \setboolean{@dcsalgruled}{false} 51 | \newboolean{@dcsalgboxed} 52 | \setboolean{@dcsalgboxed}{false} 53 | \define@key{dcsalg}{plain}[]{\setboolean{@dcsalgruled}{false} 54 | \setboolean{@dcsalgboxed}{false}} 55 | \define@key{dcsalg}{ruled}[]{\setboolean{@dcsalgruled}{true} 56 | \setboolean{@dcsalgboxed}{true}} 57 | \define@key{dcsalg}{boxed}[]{\setboolean{@dcsalgruled}{false} 58 | \setboolean{@dcsalgboxed}{true}} 59 | 60 | \newenvironment{dcsalg}[1][]% 61 | {\setkeys{dcsalg}{#1}% 62 | \if@dcsalgboxed 63 | \if@dcsalgruled 64 | \begin{tabular}{c}% 65 | \else 66 | \begin{tabular}{|c|}% 67 | \fi 68 | \hline% 69 | \fi 70 | \begin{minipage}{\@dcsalgwidth}\smallskip% 71 | \if@dcsalgnumber 72 | \begin{algorithmic}[1]% 73 | \else 74 | \begin{algorithmic}% 75 | \fi 76 | \@dcsalgfont}% 77 | {\end{algorithmic}% 78 | \smallskip% 79 | \end{minipage}% 80 | \if@dcsalgboxed 81 | \tabularnewline% 82 | \hline% 83 | \end{tabular} 84 | \fi} 85 | 86 | \newcommand{\dcsalgset}[1]{\setkeys{dcsalg}{#1}} 87 | 88 | 89 | % algorithm float 90 | \floatstyle{plain} 91 | \ifthenelse{\isundefined{\chaptermark}} 92 | {\newfloat{algorithm}{htbp}{loa}} 93 | {\newfloat{algorithm}{htbp}{loa}[chapter]} 94 | \providecommand{\algorithmname}{Algorithm} 95 | \floatname{algorithm}{\algorithmname} 96 | \providecommand{\listofalgorithms}{\listof{algorithm}{\listalgorithmname}} 97 | 98 | -------------------------------------------------------------------------------- /howto/tricks/transparency/transparency.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[a4paper]{article} 3 | 4 | \usepackage[utf8]{inputenc} 5 | \usepackage[OT1]{fontenc} 6 | \usepackage[absolute,overlay]{textpos} 7 | \usepackage{graphicx} 8 | \usepackage[bookmarks=false,pdffitwindow]{hyperref} 9 | \usepackage{tikz} 10 | \usepackage{xcolor} 11 | \usepackage{calc} 12 | 13 | 14 | 15 | % 16 | % Boxed environment with semi-transparent shadow. 17 | % 18 | \newlength{\boxw} 19 | \newlength{\boxh} 20 | \newlength{\shadowsize} 21 | \newlength{\boxroundness} 22 | \newlength{\tmpa} 23 | \newsavebox{\shadowblockbox} 24 | 25 | \setlength{\shadowsize}{6pt} 26 | \setlength{\boxroundness}{3pt} 27 | 28 | \newenvironment{shadowblock}[1]% 29 | {\begin{lrbox}{\shadowblockbox}\begin{minipage}{#1}}% 30 | {\end{minipage}\end{lrbox}% 31 | \settowidth{\boxw}{\usebox{\shadowblockbox}}% 32 | \settodepth{\tmpa}{\usebox{\shadowblockbox}}% 33 | \settoheight{\boxh}{\usebox{\shadowblockbox}}% 34 | \addtolength{\boxh}{\tmpa}% 35 | \begin{tikzpicture} 36 | \addtolength{\boxw}{\boxroundness * 2} 37 | \addtolength{\boxh}{\boxroundness * 2} 38 | 39 | \foreach \x in {0,.05,...,1} 40 | { 41 | \setlength{\tmpa}{\shadowsize * \real{\x}} 42 | \fill[xshift=\shadowsize - 1pt,yshift=-\shadowsize + 1pt,black,opacity=.04,rounded corners=\boxroundness] 43 | (\tmpa, \tmpa) rectangle +(\boxw - \tmpa - \tmpa, \boxh - \tmpa - \tmpa); 44 | } 45 | 46 | \filldraw[fill=yellow!50, draw=black!50, rounded corners=\boxroundness] (0, 0) rectangle (\boxw, \boxh); 47 | \draw node[xshift=\boxroundness,yshift=\boxroundness,inner sep=0pt,outer sep=0pt,anchor=south west] (0,0) {\usebox{\shadowblockbox}}; 48 | \end{tikzpicture}} 49 | 50 | 51 | 52 | \begin{document} 53 | 54 | % 55 | % We prepare a transparent box first. 56 | % 57 | \newsavebox{\mybox} 58 | \begin{lrbox}{\mybox} 59 | \begin{shadowblock}{5cm} 60 | This is a block of text with a transparent 61 | shadow! 62 | \end{shadowblock} 63 | \end{lrbox} 64 | 65 | % 66 | % Over existing text 67 | % 68 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus in nunc 69 | tincidunt sapien sodales tincidunt. Nulla posuere semper nunc. Duis lacinia 70 | libero non arcu. Nam quis eros id tortor ultricies fermentum. Aenean vulputate 71 | adipiscing nulla. Etiam fermentum elit ut est. Duis at est at enim imperdiet 72 | vestibulum. In risus dui, malesuada eu, fermentum vel, adipiscing sodales, eros. 73 | Praesent egestas. Aliquam auctor. Maecenas vulputate mollis est. Nam varius. Nam 74 | auctor fermentum tellus. Curabitur lacus sapien, scelerisque vulputate, 75 | consectetuer laoreet, fringilla laoreet, tellus. Duis dignissim est non mauris. 76 | Nam magna velit, pulvinar vel. 77 | 78 | \raisebox{2cm}[0pt][0pt]{\makebox[0pt]{\usebox{\mybox}}} 79 | 80 | 81 | % 82 | % Over a picture. 83 | % 84 | \noindent\includegraphics[width=\linewidth]{tetons-snake-river}\\ 85 | \hspace*{4cm}\raisebox{1cm}[0pt][0pt]{\makebox[0pt]{\usebox{\mybox}}} 86 | 87 | 88 | % 89 | % Absolute positioning with textpos 90 | % 91 | 92 | \begin{textblock}{4}(2,5.2) 93 | \begin{shadowblock}{4cm} 94 | And a small one on top of it. 95 | \end{shadowblock} 96 | \end{textblock} 97 | 98 | \begin{textblock}{4}(0,4.5) 99 | \begin{shadowblock}{4cm} 100 | Absolutely positioned box with a lot of text. 101 | Absolutely positioned box with a lot of text. 102 | Absolutely positioned box with a lot of text. 103 | Absolutely positioned box with a lot of text. 104 | \end{shadowblock} 105 | \end{textblock} 106 | 107 | \end{document} 108 | 109 | -------------------------------------------------------------------------------- /distcomp/doc/dwlecture.sty: -------------------------------------------------------------------------------- 1 | 2 | % 3 | % dwlecture.sty 4 | % 5 | % version 1.0 (initial) 6 | % version 1.1 (added hgraphics) 7 | % version 1.2 (added captions) 8 | 9 | % 10 | % Load typical packages 11 | % 12 | \usepackage{graphicx} 13 | \usepackage{url} 14 | 15 | % 16 | % Load and configure fancyvrb 17 | % 18 | \usepackage{fancyvrb} 19 | \RecustomVerbatimEnvironment{Verbatim}{Verbatim} 20 | {fontsize=\scriptsize,frame=lines} 21 | 22 | % 23 | % Load textpos package, define graphics inclusion macros. 24 | % 25 | \usepackage[absolute,overlay]{textpos} 26 | \setlength{\TPHorizModule}{1cm} 27 | \setlength{\TPVertModule}{1cm} 28 | \textblockorigin{0cm}{0cm} 29 | 30 | \usepackage{pgf} 31 | 32 | \newcommand{\vgraphics}[1]{% 33 | \begin{textblock}{1}(0,8.6)\begin{pgfpicture}{0cm}{0cm}{1cm}{1cm} 34 | \pgfputat{\pgfxy(6.4,4.8)}{\pgfbox[center,center]{\includegraphics[height=9.6cm]{#1}}} 35 | \end{pgfpicture}\end{textblock}} 36 | 37 | \newcommand{\hgraphics}[1]{% 38 | \begin{textblock}{1}(0,8.6)\begin{pgfpicture}{0cm}{0cm}{1cm}{1cm} 39 | \pgfputat{\pgfxy(6.4,4.8)}{\pgfbox[center,center]{\includegraphics[width=12.6cm]{#1}}} 40 | \end{pgfpicture}\end{textblock}} 41 | 42 | % 43 | % Configure beamer class 44 | % 45 | \setbeamertemplate{navigation symbols}{} 46 | \setbeamertemplate{footline}{} 47 | 48 | \mode 49 | { 50 | \useoutertheme[]{split} 51 | \useinnertheme{rectangles} 52 | \usecolortheme{default} 53 | 54 | \setbeamercolor{section in head/foot}{use=structure,fg=white,bg=black!70!white} 55 | \setbeamercolor{subsection in head/foot}{use=structure,fg=white,bg=black!60!white} 56 | 57 | \setbeamercolor{block title}{use=structure,fg=structure.fg,bg=structure.fg!20!bg} 58 | \setbeamercolor{block title alerted}{use=alerted text,fg=alerted text.fg,bg=alerted text.fg!20!bg} 59 | \setbeamercolor{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg} 60 | 61 | \setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!50!bg} 62 | \setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!50!bg} 63 | \setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!50!bg} 64 | 65 | \setbeamercolor{frametitle}{bg=black!10!white} 66 | 67 | \setbeamertemplate{navigation symbols}{} 68 | \setbeamertemplate{footline}{} 69 | 70 | \setbeamertemplate{itemize items}[circle] 71 | \setbeamertemplate{enumerate items}[circle] 72 | 73 | \beamertemplateballitem 74 | \beamertemplatenumberedballsectiontoc 75 | } 76 | 77 | % 78 | % Define typical environments. 79 | % 80 | 81 | \newcommand{\code}[1]{\texttt{#1}} 82 | \renewcommand{\emph}[1]{\textbf{#1}} 83 | 84 | % 85 | % Define some weird environments 86 | % 87 | \newsavebox{\capbox} 88 | \newlength{\capwidth} 89 | 90 | \newcommand{\capcaption}[5]{% 91 | \begin{lrbox}{\capbox}\footnotesize#1\end{lrbox}% 92 | \settowidth{\capwidth}{\usebox{\capbox}}% 93 | \begin{textblock}{1}(0,8.6) 94 | \begin{pgfpicture}{0cm}{0cm}{1cm}{1cm} 95 | \pgfputat{\pgfxy(#4,#5)}{\pgfbox[#2,#3]{ 96 | \begin{beamerboxesrounded}[shadow=false,lower=block title,width=\capwidth]{} 97 | \usebox{\capbox} 98 | \end{beamerboxesrounded} 99 | }} 100 | \end{pgfpicture} 101 | \end{textblock}} 102 | 103 | \newcommand{\lbcaption}[1]{\capcaption{#1}{left}{bottom}{.2}{.2}} 104 | \newcommand{\rbcaption}[1]{\capcaption{#1}{right}{bottom}{12.6}{.2}} 105 | \newcommand{\ltcaption}[1]{\capcaption{#1}{left}{top}{.2}{9.4}} 106 | \newcommand{\rtcaption}[1]{\capcaption{#1}{right}{top}{12.6}{9.4}} 107 | 108 | -------------------------------------------------------------------------------- /templates/dcs/dcsbook.layout: -------------------------------------------------------------------------------- 1 | #% Do not delete the line below; configure depends on this 2 | # \DeclareLaTeXClass{dcsbook} 3 | # 4 | # Author: Cezary Sobaniec 5 | # $Id: dcsbook.layout,v 1.5 2006/09/01 18:34:07 sobaniec Exp $ 6 | # 7 | 8 | 9 | Format 2 10 | Input stdclass.inc 11 | Input numreport.inc 12 | 13 | Sides 2 14 | ProvidesURL 1 15 | 16 | NoStyle Abstract 17 | 18 | 19 | # Dispitems style definition 20 | Style DispItems 21 | Margin Manual 22 | LatexType List_Environment 23 | LatexName dispitems 24 | NextNoindent 1 25 | LabelSep xxx 26 | ParSkip 0.4 27 | TopSep 0.7 28 | BottomSep 0.7 29 | ParSep 0.3 30 | Align Block 31 | AlignPossible Block, Left 32 | LabelType Manual 33 | LabelString "default" 34 | End 35 | 36 | 37 | # Enumeratex style definition 38 | Style Enumeratex 39 | Margin Manual 40 | LatexType List_Environment 41 | LatexName enumeratex 42 | NextNoIndent 1 43 | LeftMargin MMN 44 | LabelSep xx 45 | ParSkip 0.0 46 | ItemSep 0.2 47 | TopSep 0.7 48 | BottomSep 0.7 49 | ParSep 0.3 50 | Align Block 51 | AlignPossible Block, Left 52 | LabelType Enumerate 53 | LabelString "{} 1." 54 | End 55 | 56 | 57 | # LyX-Code-Small style definition 58 | Style LyX-Code-Small 59 | Margin Static 60 | LatexType Environment 61 | LatexName lyxcodesmall 62 | NextNoIndent 1 63 | LeftMargin MMM 64 | RightMargin "" 65 | TopSep 0.5 66 | BottomSep 0.5 67 | Align Left 68 | AlignPossible Block, Left, Right, Center 69 | LabelType No_Label 70 | FreeSpacing 1 71 | 72 | # standard font definition 73 | Font 74 | Family Typewriter 75 | Size Small 76 | EndFont 77 | End 78 | 79 | 80 | # Supervisor style definition 81 | Style Supervisor 82 | Margin Static 83 | LatexType Command 84 | InTitle 1 85 | LatexName supervisor 86 | LabelSep xxx 87 | ParSkip 0.4 88 | TopSep 1.3 89 | BottomSep 0.7 90 | ParSep 0.7 91 | Align Center 92 | AlignPossible Center 93 | LabelType Static 94 | LabelSep :x 95 | LabelString "Supervisor:" 96 | 97 | # standard font definition 98 | Font 99 | Size Large 100 | EndFont 101 | 102 | End 103 | 104 | 105 | # Reviewer style definition 106 | Style Reviewer 107 | Margin Static 108 | LatexType Command 109 | InTitle 1 110 | LatexName reviewer 111 | LabelSep xxx 112 | ParSkip 0.4 113 | TopSep 1.3 114 | BottomSep 0.7 115 | ParSep 0.7 116 | Align Center 117 | AlignPossible Center 118 | LabelType Static 119 | LabelSep :x 120 | LabelString "Reviewer:" 121 | 122 | # standard font definition 123 | Font 124 | Size Large 125 | EndFont 126 | 127 | End 128 | 129 | 130 | # Abstract style definition 131 | Style Abstract 132 | Margin First_Dynamic 133 | LatexType Environment 134 | LatexName abstract 135 | NextNoIndent 0 136 | ParIndent MM 137 | LabelSep xx 138 | ItemSep 0 139 | TopSep 0.7 140 | BottomSep 0.7 141 | ParSep 0 142 | Align Block 143 | AlignPossible Block, Left 144 | LabelType Centered_Top_Environment 145 | LabelString Abstract 146 | 147 | # label font definition 148 | LabelFont 149 | Series Bold 150 | EndFont 151 | End 152 | 153 | -------------------------------------------------------------------------------- /templates/example-msc-polish/01-wstep.tex: -------------------------------------------------------------------------------- 1 | \chapter{Wprowadzenie} 2 | 3 | % [DW] Cytowania normalnie, bez dodatkowych nawiasów; poprawiłem niektóre, zrób pozostałe. 4 | 5 | Drzewa sufiksów oraz tablice sufiksów, czyli tablice leksykograficznie posortowanych sufiksów pewnego 6 | ciągu symboli, znajdują wiele praktycznych zastosowań: 7 | 8 | \begin{itemize} 9 | \item w~problemach przetwarzania tekstu, nazywanych żargonowo~\emph{stringology}, takich 10 | jak dopasowywanie, przeszukiwanie, wyszukiwanie powtarzających się podciągów 11 | i~maksymalnych sekwencji~\cite{Manber90, gusfield} oraz 12 | wielu innych; 13 | 14 | \item w~bioinformatyce~\cite{abouelhoda-genome}, gdzie 15 | pytania dotyczące kodu genetycznego można sprowadzić do rozwiązania problemów operujących 16 | na ciągach znaków; 17 | 18 | \item w~kompresji danych~\cite{BW}, gdzie wykorzystywane są do wyszukiwania powtarzających 19 | się sekwencji symboli i do obliczania transformacji Burrowsa-Wheelera 20 | (\english{Burrows-Wheeler transform}, \akronim{BWT}), która jest krokiem wstępnym 21 | takich metod kompresji danych, jak np.~\texttt{bzip2}. 22 | \end{itemize} 23 | 24 | Większość z~powyższych problemów daje się efektywnie rozwiązać przy pomocy 25 | drzew sufiksów (\english{suffix tree}). Udowodniono jednakże~\cite{replacing}, 26 | że tablice sufiksów są w~wielu przypadkach równie dobrą strukturą danych co drzewa sufiksów, 27 | a~ponieważ ich konstrukcja jest zwykle obarczona 28 | mniejszym kosztem pamięciowym i~czasowym (mimo tej samej teoretycznej 29 | złożoności $\bigO(n)$), to właśnie tablice sufiksów cieszą się coraz większym 30 | powodzeniem w~praktyce. 31 | 32 | Istnieje wiele algorytmów tworzenia tablic sufiksów, w~większości opublikowanych wraz z~implementacjami 33 | w~języku \texttt{C} lub \texttt{C++}. O~ile od strony teoretycznej 34 | większość z~tych algorytmów jest efektywna (liniowa), o~tyle w~praktyce ich efektywność zależy od aspektów 35 | dostępu do pamięci oraz wielkości słownika symboli. Brakuje również 36 | implementacji tych algorytmów w~językach wysokiego poziomu, takich jak język Java. 37 | Tym brakiem właśnie motywujemy potrzebę opracowania w~języku Java biblioteki algorytmów tworzenia 38 | tablic sufiksów. Przeniesienie samych algorytmów do języka Java wymaga zwrócenia szczególnej uwagi na 39 | jego cechy specyficzne w~stosunku do języków niskiego poziomu -- różnice w~dostępie do pamięci 40 | (brak wskaźników, relokowalne struktury danych), zarządzanie pamięcią przez maszynę 41 | wirtualną (\emph{garbage collector}), czy też fakt, że kod programu poddawany jest bezustannej obserwacji 42 | i~kompilacji w~czasie rzeczywistym (\emph{just in time compilation}). 43 | 44 | 45 | \section{Cel i~zakres pracy} 46 | 47 | Głównym celem tej pracy jest \textbf{wybór najlepszych algorytmów tworzenia tablic sufiksów oraz 48 | ich efektywna implementacja w~postaci biblioteki napisanej w~języku Java}. W~zakres pracy wliczony jest również przegląd obecnie dostępnej literatury poświęconej metodom 49 | tworzenia tablic sufiksów oraz opis najciekawszych spośród nich. Docelowo powinna powstać 50 | więc pewna taksonomia opierająca się na schemacie działania algorytmów i~umożliwiająca ich porównanie i~odniesienie względem siebie. 51 | 52 | Drugim celem pracy jest dokładne przetestowanie i~analiza utworzonej implementacji i~określenie jej wydajności na różnych 53 | maszynach wirtualnych oraz na różnych platformach sprzętowych. Uzyskane wyniki eksperymentalne 54 | skonfrontowane zostaną z~istniejącymi wynikami testów wydajnościowych implementacji tych 55 | samych algorytmów w~językach \texttt{C} i~\texttt{C++}. 56 | 57 | \section{Struktura pracy} 58 | 59 | W~rozdziałach drugim i~trzecim przedstawiono przegląd literatury dziedzinowej; rozdział drugi 60 | zawiera podstawy teoretyczne wprowadzające czytelnika w~tematykę tablic sufiksów, a~trzeci 61 | poświęcony jest klasyfikacji i~przeglądowi metod tworzenia tablic sufiksów. Rozdział czwarty zawiera 62 | opisy wybranych algorytmów. W rozdziale piątym podane są wyniki empirycznych testów 63 | wydajnościowych wykonanych w różnych środowiskach i na różnych maszynach wirtualnych. 64 | Rozdział szósty stanowi podsumowanie pracy. 65 | 66 | -------------------------------------------------------------------------------- /templates/example-msc-polish/a1-vm.tex: -------------------------------------------------------------------------------- 1 | 2 | \chapter{Wyniki dla pozostałych maszyn wirtualnych} 3 | 4 | \begin{table}[p] 5 | \begin{center} 6 | \input{tables/ibm/gauntlet.tex} 7 | \end{center} 8 | \caption{Czas działania algorytmów na plikach z korpusu \texttt{The Gauntlet} dla maszyny wirtualnej \texttt{ibm}.}% 9 | \label{tab:ibm-gauntlet} 10 | \end{table} 11 | 12 | \begin{figure}[p] 13 | \begin{center} 14 | \includegraphics[width=\linewidth]{figures/results/ibm-gauntlet.pdf} 15 | \end{center} 16 | \caption{Sumaryczny czas działania algorytmów na plikach z korpusu \texttt{The Gauntlet} dla maszyny wirtualnej \texttt{ibm}.}% 17 | \label{rys:ibm-gauntlet} 18 | \end{figure} 19 | 20 | 21 | \begin{table}[p] 22 | \begin{center} 23 | \input{tables/ibm/manzini.tex} 24 | \end{center} 25 | \caption{Czas działania algorytmów na plikach z korpusu Giovanniego Manziniego dla maszyny wirtualnej \texttt{ibm}.}% 26 | \label{tab:ibm-manzini} 27 | \end{table} 28 | 29 | \begin{figure}[p] 30 | \begin{center} 31 | \includegraphics[width=\linewidth]{figures/results/ibm-manzini.pdf} 32 | \end{center} 33 | \caption{Sumaryczny czas działania algorytmów na plikach z korpusu Giovanniego Manziniego dla maszyny wirtualnej \texttt{ibm}.}% 34 | \label{rys:ibm-manzini} 35 | \end{figure} 36 | 37 | 38 | \begin{table}[p] 39 | \begin{center} 40 | \input{tables/jrockit/gauntlet.tex} 41 | \end{center} 42 | \caption{Czas działania algorytmów na plikach z korpusu \texttt{The Gauntlet} dla maszyny wirtualnej \texttt{jrockit}.}% 43 | \label{tab:jrockit-gauntlet} 44 | \end{table} 45 | 46 | \begin{figure}[p] 47 | \begin{center} 48 | \includegraphics[width=\linewidth]{figures/results/jrockit-gauntlet.pdf} 49 | \end{center} 50 | \caption{Sumaryczny czas działania algorytmów na plikach z korpusu \texttt{The Gauntlet} dla maszyny wirtualnej \texttt{jrockit}.}% 51 | \label{rys:jrockit-gauntlet} 52 | \end{figure} 53 | 54 | 55 | \begin{table}[p] 56 | \begin{center} 57 | \input{tables/jrockit/manzini.tex} 58 | \end{center} 59 | \caption{Czas działania algorytmów na plikach z korpusu Giovanniego Manziniego dla maszyny wirtualnej \texttt{jrockit}.}% 60 | \label{tab:jrockit-manzini} 61 | \end{table} 62 | 63 | \begin{figure}[p] 64 | \begin{center} 65 | \includegraphics[width=\linewidth]{figures/results/jrockit-manzini.pdf} 66 | \end{center} 67 | \caption{Sumaryczny czas działania algorytmów na plikach z korpusu Giovanniego Manziniego dla maszyny wirtualnej \texttt{jrockit}.}% 68 | \label{rys:jrockit-manzini} 69 | \end{figure} 70 | 71 | 72 | \begin{table}[p] 73 | \begin{center} 74 | \input{tables/harmony/gauntlet.tex} 75 | \end{center} 76 | \caption{Czas działania algorytmów na plikach z korpusu \texttt{The Gauntlet} dla maszyny wirtualnej \texttt{harmony}.}% 77 | \label{tab:harmony-gauntlet} 78 | \end{table} 79 | 80 | \begin{figure}[p] 81 | \begin{center} 82 | \includegraphics[width=\linewidth]{figures/results/harmony-gauntlet.pdf} 83 | \end{center} 84 | \caption{Sumaryczny czas działania algorytmów na plikach z korpusu \texttt{The Gauntlet} dla maszyny wirtualnej \texttt{harmony}.}% 85 | \label{rys:harmony-gauntlet} 86 | \end{figure} 87 | 88 | 89 | \begin{table}[p] 90 | \begin{center} 91 | \input{tables/harmony/manzini.tex} 92 | \end{center} 93 | \caption{Czas działania algorytmów na plikach z korpusu Giovanniego Manziniego dla maszyny wirtualnej \texttt{harmony}.}% 94 | \label{tab:harmony-manzini} 95 | \end{table} 96 | 97 | \begin{figure}[p] 98 | \begin{center} 99 | \includegraphics[width=\linewidth]{figures/results/harmony-manzini.pdf} 100 | \end{center} 101 | \caption{Sumaryczny czas działania algorytmów na plikach z korpusu Giovanniego Manziniego dla maszyny wirtualnej \texttt{harmony}.}% 102 | \label{rys:harmony-manzini} 103 | \end{figure} 104 | -------------------------------------------------------------------------------- /howto/code/code-highlight.tex: -------------------------------------------------------------------------------- 1 | \documentclass[polish]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage[OT1]{fontenc} 5 | 6 | \usepackage[polish]{babel} 7 | 8 | \usepackage[widespace]{fourier} 9 | \usepackage[scaled]{luximono} 10 | 11 | \usepackage{fancyvrb} 12 | \usepackage{graphicx} 13 | \usepackage{xcolor} 14 | \usepackage[bookmarks=true,unicode]{hyperref} 15 | \usepackage{url} 16 | \usepackage{varioref} 17 | \usepackage{listings} 18 | 19 | % Custom floats 20 | \usepackage{tocloft} 21 | \usepackage{float} 22 | 23 | % Set up hyperref. 24 | \hypersetup{ 25 | bookmarksopen=false, 26 | bookmarksopenlevel=3, 27 | bookmarksnumbered=true, 28 | % 29 | colorlinks=false, 30 | citebordercolor=0.64 0.68 0.86, 31 | filebordercolor=0.64 0.68 0.86, 32 | linkbordercolor=0.64 0.68 0.86, 33 | menubordercolor=0.64 0.68 0.86, 34 | pagebordercolor=0.64 0.68 0.86, 35 | urlbordercolor=0.64 0.68 0.86, 36 | runbordercolor=0.64 0.68 0.86, 37 | % 38 | pdfpagemode=UseOutlines, 39 | pdfstartview=Fit, 40 | % 41 | pdftitle={}, 42 | pdfauthor={}, 43 | pdfkeywords={} 44 | } 45 | 46 | % Define colors for listings. 47 | \definecolor{codestrings}{rgb}{0.164,0,1} 48 | \definecolor{codecomment}{rgb}{0.25,0.49,0.37} 49 | \definecolor{codekeywords}{rgb}{0.49,0,0.33} 50 | \definecolor{codebackground}{rgb}{0.95,0.95,0.95} 51 | 52 | % Set up defaults 53 | \lstset{ 54 | inputencoding=utf8, 55 | language=Java, 56 | extendedchars=true, 57 | basicstyle=\ttfamily\scriptsize, 58 | numbers=left, 59 | numbersep=3pt, 60 | framexleftmargin=2pt, 61 | framerule=0pt, 62 | frame=lines, 63 | numberstyle=\tiny, 64 | tabsize=2, 65 | showstringspaces=false, 66 | showspaces=false, 67 | keywordstyle=\bfseries\color{codekeywords}, 68 | identifierstyle=\color{black}, 69 | stringstyle=\color{codestrings}, 70 | commentstyle=\color{codecomment}, 71 | columns=fullflexible, 72 | abovecaptionskip=\medskipamount, 73 | belowcaptionskip=\medskipamount, 74 | backgroundcolor=\color{codebackground}, 75 | } 76 | 77 | \RecustomVerbatimEnvironment{Verbatim}{Verbatim}% 78 | {fontsize=\footnotesize,frame=lines,numbers=left} 79 | 80 | \lstnewenvironment{javablock}{\lstset{language=Java}}{} 81 | \lstnewenvironment{xmlblock}{\lstset{language=XML}}{} 82 | 83 | \newfloat{Program}{tbp}{lst} 84 | 85 | \begin{document} 86 | 87 | \noindent 88 | An example of the \texttt{listings} package. Note how certain 89 | keywords are emphasized. 90 | 91 | \lstinputlisting[emph={Arrays,asList},emphstyle={\color{red}}]{Example.java} 92 | 93 | \bigskip\noindent 94 | And now a block of Java code: 95 | 96 | \begin{javablock} 97 | import java.util.*; 98 | 99 | /** 100 | * An example class. 101 | * 102 | * @author Dawid Weiss 103 | */ 104 | public final class Example { 105 | /** 106 | * Command line entry point. 107 | */ 108 | public static void main(String [] args) { 109 | if (args.length == 0) { 110 | System.out.println("Hello world."); 111 | } else { 112 | System.out.println(Arrays.asList(args[0])); 113 | } 114 | } 115 | } 116 | \end{javablock} 117 | 118 | \bigskip\noindent 119 | Finally, a block of XML code: 120 | \begin{xmlblock} 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | \end{xmlblock} 129 | 130 | \section{Implementacje algorytmów} 131 | 132 | \noindent\ldots algorytm ten implementuje procedura w Javie zawarta w programie~\vref{listing:code1}. 133 | 134 | \begin{Program}[p] 135 | \begin{javablock} 136 | // Search for pattern phrases 137 | BooleanQuery query = new BooleanQuery(); 138 | for (int j = 0; j < Math.min(100, featureVector.size()); j++) { 139 | final TermQuery tk = new TermQuery( 140 | new Term("keywords", featureVector.get(j).feature)); 141 | tk.setBoost((float) fv.get(j).weight); 142 | query.add(tk, BooleanClause.Occur.SHOULD); 143 | } 144 | \end{javablock} 145 | \caption{Fragment kodu odpowiadający za obliczenia XXX.}\label{listing:code1}% 146 | \end{Program} 147 | 148 | 149 | \end{document} 150 | -------------------------------------------------------------------------------- /distcomp/scripts/rshrunner.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ########## 4 | # This file contains common code used in rsh* set of commands. 5 | # 6 | # If you want to write a custom script using this predefined code, you have to: 7 | # * define the following "hook" functions 8 | # - hook_specific_args(): for reading additional parameters from the command 9 | # line, after the default ones has been read, or for modifying variables 10 | # (see below). If reading additional command line parameters, $params_cnt 11 | # must be set to their number. 12 | # - hook_foreach_host(): what actions to perform for a single host. The most 13 | # common is to run ssh command (see examples). Host name is received in $H. 14 | # - hook_afterall_hosts(): additional actions (like waiting for ssh sessions 15 | # to end, cleanup) performed after `serving' the last host. 16 | # * define help-connected variables: $hook_usage_head for one-liner describing 17 | # scripts role, and $hook_usage_args for one-liner listing script-specific 18 | # command line arguments 19 | # * source this file, like 20 | # . rshrunner.sh 21 | # 22 | # If a specific hook is not required, it can be as simple as: 23 | # hook_something() ; 24 | # but it must occur. 25 | # 26 | # Variables, which are defined and used in this helper: 27 | # SSH_KNOWN_HOSTS -- if set, defines the hosts public key file to be used; 28 | # optional in the command line, can be overriden 29 | # SSH_USER -- defines username to use on SSH connections. Defaults to current 30 | # user's login; optional in the command line, can be overriden 31 | # quiet -- loosely-defined flag for quiet output. Optional in the command line, 32 | # can be overriden 33 | # SSH_COMMON_OPTS -- default options for SSH, hardcoded, can be overriden 34 | # HOSTS -- file keeping the list of hosts to operate on; set only after 35 | # hook_specific_args() 36 | # SSH_STRICT_HK -- whether it is forbidden to add new keys to the key file. 37 | # Defaults to system-wide setting (usually: ask for permission, which is 38 | # the same as denying in batch mode). When not explicitly set and 39 | # SSH_KNOWN_HOSTS is set, this is forced to be 'yes'. Can be overriden. 40 | # TMP -- temporary directory, can be used to store e.g. partial results. Read 41 | # only, set only after hook_specific_args(). 42 | # H -- the host currently being processed. Read-only, available in 43 | # hook_foreach_host(). 44 | ########## 45 | 46 | # Parses command line options, which are common to all rsh* commands 47 | # and sets useful variables 48 | parse_common_opts() { 49 | SSH_KNOWN_HOSTS='' 50 | SSH_USER=$USER 51 | 52 | params_cnt=0 53 | while [[ $1 = -* ]]; do 54 | p=1 55 | case $1 in 56 | (-q | --quiet) 57 | quiet=true 58 | ;; 59 | --ssh) 60 | SSH_KNOWN_HOSTS="$2" 61 | p=2 62 | ;; 63 | --user) 64 | SSH_USER="$2" 65 | p=2 66 | ;; 67 | --help) 68 | print_usage 69 | exit 0 70 | ;; 71 | *) 72 | echo "Ignoring unknown option: $1" 1>&2 73 | ;; 74 | esac 75 | shift $p 76 | params_cnt=$((params_cnt+p)) 77 | done 78 | } 79 | 80 | # Prints program usage 81 | print_usage() { 82 | echo $hook_usage_head 1>&2 83 | echo "Usage: $0 [ --help ] [ --quiet | -q ] [ --ssh known_hosts ] [ --user username ] hosts_file $hook_usage_args" 1>&2 84 | } 85 | 86 | 87 | ########## 88 | # Run 89 | 90 | SSH_COMMON_OPTS="-q -o ConnectTimeout=3 -o BatchMode=yes" 91 | 92 | parse_common_opts $@ 93 | shift $params_cnt 94 | 95 | if [ $# -lt 1 ]; then 96 | print_usage 97 | exit 1 98 | fi 99 | 100 | HOSTS=$1 101 | shift 102 | 103 | params_cnt=0 104 | hook_specific_args $@ 105 | shift $params_cnt 106 | 107 | SSH_OPTS="$SSH_COMMON_OPTS -l $SSH_USER" 108 | if [ "$SSH_KNOWN_HOSTS" != "" ]; then 109 | SSH_OPTS="$SSH_OPTS -o UserKnownHostsFile=$SSH_KNOWN_HOSTS" 110 | if [ "$SSH_STRICT_HK" == "" ]; then 111 | SSH_STRICT_HK=yes 112 | fi 113 | fi 114 | 115 | if [ "$SSH_STRICT_HK" != "" ]; then 116 | SSH_OPTS="$SSH_OPTS -o StrictHostKeyChecking=$SSH_STRICT_HK" 117 | fi 118 | 119 | TMP=`mktemp -t -d` 120 | sed -e 's/#.*//' -e '/^[ \t]*$/d' $HOSTS > $TMP/hosts 121 | 122 | for H in `cat $TMP/hosts`; do 123 | hook_foreach_host 124 | done 125 | 126 | hook_afterall_hosts 127 | 128 | if [ -e $TMP ]; then 129 | rm -rf $TMP 130 | fi 131 | 132 | exit 0; 133 | 134 | -------------------------------------------------------------------------------- /howto/code/csobaniec-indents.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[polish]{article} 3 | 4 | \usepackage[utf8]{inputenc} 5 | \usepackage[OT1]{fontenc} 6 | 7 | \usepackage{xcolor} 8 | \usepackage[bookmarks=true,unicode]{hyperref} 9 | \usepackage{url} 10 | \usepackage{listings} 11 | 12 | % Set up hyperref. 13 | \hypersetup{ 14 | bookmarksopen=false, 15 | bookmarksopenlevel=3, 16 | bookmarksnumbered=true, 17 | % 18 | colorlinks=false, 19 | citebordercolor=0.64 0.68 0.86, 20 | filebordercolor=0.64 0.68 0.86, 21 | linkbordercolor=0.64 0.68 0.86, 22 | menubordercolor=0.64 0.68 0.86, 23 | pagebordercolor=0.64 0.68 0.86, 24 | urlbordercolor=0.64 0.68 0.86, 25 | runbordercolor=0.64 0.68 0.86, 26 | % 27 | pdfpagemode=UseOutlines, 28 | pdfstartview=Fit, 29 | % 30 | pdftitle={}, 31 | pdfauthor={}, 32 | pdfkeywords={} 33 | } 34 | 35 | % Define colors for listings. 36 | \definecolor{codestrings}{rgb}{0.164,0,1} 37 | \definecolor{codecomment}{rgb}{0.25,0.49,0.37} 38 | \definecolor{codekeywords}{rgb}{0.49,0,0.33} 39 | \definecolor{codebackground}{rgb}{0.95,0.95,0.95} 40 | 41 | % Set up defaults 42 | \lstset{ 43 | inputencoding=utf8, 44 | language=Java, 45 | extendedchars=true, 46 | basicstyle=\ttfamily\scriptsize, 47 | numbers=none, 48 | numbersep=0pt, 49 | framexleftmargin=0pt, 50 | framerule=0pt, 51 | frame=lines, 52 | numberstyle=\tiny, 53 | tabsize=2, 54 | showstringspaces=false, 55 | showspaces=false, 56 | keywordstyle=\bfseries\color{codekeywords}, 57 | identifierstyle=\color{black}, 58 | stringstyle=\color{codestrings}, 59 | commentstyle=\color{codecomment}, 60 | columns=fullflexible, 61 | abovecaptionskip=\medskipamount, 62 | belowcaptionskip=\medskipamount, 63 | backgroundcolor=\color{codebackground}, 64 | } 65 | 66 | 67 | \newlength{\codemargin} 68 | 69 | \makeatletter% 70 | \def\resetmargin{% 71 | \advance\@itemdepth by 1% 72 | \edef\@codemargin{leftmargin\romannumeral\the\@itemdepth}% 73 | \advance\@itemdepth by -1% 74 | \setlength{\codemargin}{\csname\@codemargin\endcsname}} 75 | \makeatother% 76 | 77 | \lstnewenvironment{codeblock}{\resetmargin\lstset{language=Java,xleftmargin=\codemargin,numbers=none}}{} 78 | 79 | \begin{document} 80 | 81 | % 82 | % Unindented. 83 | % 84 | \noindent Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 85 | \begin{codeblock} 86 | public final class Example { 87 | public static void main(String [] args) { 88 | } 89 | } 90 | \end{codeblock} 91 | 92 | 93 | \begin{itemize} 94 | \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 95 | \begin{codeblock} 96 | public final class Example { 97 | public static void main(String [] args) { 98 | } 99 | } 100 | \end{codeblock} 101 | 102 | \begin{itemize} 103 | \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 104 | \begin{codeblock} 105 | public final class Example { 106 | public static void main(String [] args) { 107 | } 108 | } 109 | \end{codeblock} 110 | 111 | \begin{itemize} 112 | \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 113 | \begin{codeblock} 114 | public final class Example { 115 | public static void main(String [] args) { 116 | } 117 | } 118 | \end{codeblock} 119 | 120 | \begin{itemize} 121 | \item Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 122 | \end{itemize} 123 | \end{itemize} 124 | \end{itemize} 125 | \end{itemize} 126 | \end{document} 127 | -------------------------------------------------------------------------------- /howto/poster/poster2/fvrptw.tex: -------------------------------------------------------------------------------- 1 | \begin{textblock*}{\posterboxwidth}(0cm,0cm) 2 | 3 | \centering 4 | \textbf{Service start times}\\[.5em] 5 | 6 | \def\twindow{\draw (2,0) -- ++(0,1) -- ++(6,0) -- ++(2,-1);} 7 | 8 | % FUZZY ROUTE 9 | \def\xshift{12} 10 | \def\xfirstshift{-5} 11 | \FPeval{\xxshift}{clip(2*xshift)} 12 | \FPeval{\xxxshift}{clip(3*xshift)} 13 | \FPeval{\figwidth}{clip(-xfirstshift+3*xshift)} 14 | \begin{tikzpicture}[x=\posterboxwidth / \figwidth,y=\posterboxheight / 15,join=round] 15 | 16 | \draw[->] (\xfirstshift,0) -- +(\figwidth,0) node[below left] {$t$}; 17 | 18 | \twindow 19 | \draw[red,very thick] (-4,0) -- ++(2,1) coordinate (A) -- ++(2,-1); 20 | \draw[red,loosely dotted] (A.base) -- +(0,-1); 21 | \draw[green,very thick] (2,0) -- +(0,1) -- +(0,0); 22 | \draw (-3.5,0) node[below right,inner sep=0pt] {\parbox{\posterboxwidth * \xshift / \figwidth}{\begin{mylist} 23 | \item arrival before time window 24 | \item service starts at the beginning of time window 25 | \end{mylist}}}; 26 | \begin{scope}[shift={(\xshift,0)}] 27 | \twindow 28 | \draw[red,very thick] (1,0) -- ++(1,0.5); 29 | \draw[green,very thick] (2,0) -- ++(0,0.5) -- ++(1,0.5) coordinate (A) -- ++(2,-1); 30 | \draw[green,loosely dotted] (A.base) -- +(0,-1); 31 | \draw (-1.5,0) node[below right,inner sep=0pt] {\parbox{\posterboxwidth / \figwidth * \xshift}{\begin{mylist} 32 | \item arrival during allowed time window 33 | \item service start is ``clipped'' by the start of time window 34 | \end{mylist}}}; 35 | \end{scope} 36 | 37 | \begin{scope}[shift={(\xxshift,0)}] 38 | \twindow 39 | \draw[green,very thick] (3,0) -- ++(2,1) coordinate (A) -- ++(2,-1); 40 | \draw[green,loosely dotted] (A.base) -- +(0,-1); 41 | \draw (0.5,0) node[below right,inner sep=0pt] {\parbox{\posterboxwidth / \figwidth * \xshift}{\begin{mylist} 42 | \item arrival during allowed time window 43 | \item service start = arrival time 44 | \end{mylist}}}; 45 | \end{scope} 46 | \end{tikzpicture} 47 | \end{textblock*} 48 | 49 | 50 | \begin{textblock*}{\posterboxwidth / 100 * 55 - 2ex}(0cm,\posterboxheight /4 - 2em) 51 | \def\axis{ 52 | \draw[->] (0,0) -- (3.8,0) node[below left] {$t$}; 53 | \draw[->] (0,0) -- (0,1.5) node[below left] {$\mu(t)$}; 54 | } 55 | 56 | 57 | % TIME WINDOWS 58 | \centering 59 | \textbf{Models of customer time window}\\[0.5em] 60 | 61 | \begin{tikzpicture}[x=\posterboxwidth / 2 / 5,y=\posterboxheight/2 / 7] 62 | \def\yshift{-2} 63 | \def\xdescdist{-0.8} 64 | \FPmul{\yyshift}{2}{\yshift} 65 | 66 | % fuzziness border 67 | \draw[loosely dotted] (3,0) -- (3,\yyshift); 68 | 69 | % crisp case 70 | \axis 71 | \draw (1,0) -- (1,1) -- (3,1) -- (3,0); 72 | \draw (2,1) node[above=2pt,font=\itshape,fill=white] { classical (``rigid'') }; 73 | 74 | % fuzzy, tight case 75 | \begin{scope}[shift={(0,\yshift)}] 76 | \axis 77 | \draw (1,0) -- (1,1) -- (2.5,1) -- (3,0); 78 | \draw (2,1) node[above=2pt,font=\itshape,fill=white] { important (``tight'') }; 79 | \end{scope} 80 | 81 | % fuzzy, loose case 82 | \begin{scope}[shift={(0,\yyshift)}] 83 | \axis 84 | \draw (1,0) -- (1,1) -- (3,1) -- (3.5,0); 85 | \draw (2,1) node[above=2pt,font=\itshape,fill=white] { less important (``loose'') }; 86 | \end{scope} 87 | 88 | % side notes: cirsp and fuzzy 89 | \FPadd\yboxlen{-\yshift}{1.5} 90 | \FPeval\ytextpos{yshift * 2/3 - 0.75} 91 | \draw[snake=brace, very thick, segment amplitude=.5em] (\xdescdist,0) -- +(0,1.5); 92 | \draw[snake=brace, very thick, segment amplitude=.5em] (\xdescdist,\yyshift) -- +(0,\yboxlen); 93 | 94 | \FPadd{\xxdescdist}{\xdescdist}{-0.1} 95 | \draw (\xxdescdist,0.75) node[above,rotate=90] {crisp model}; 96 | \draw (\xxdescdist,\ytextpos) node[above,rotate=90] {fuzzy model}; 97 | 98 | \end{tikzpicture}\\[2em] 99 | 100 | 101 | % TRAVEL TIMES 102 | \textbf{Intuitive uncertain travel times}\\[0.5em] 103 | 104 | \begin{tikzpicture}[x=\posterboxwidth/3 / 5,y=\posterboxheight/2 / 7] 105 | 106 | \axis 107 | \draw (0.5,0) node[below] {\vphantom{b}a} -- (1,1) -- (2,0) node[below] {\vphantom{b}c}; 108 | \draw[dotted] (1,0) node[below] {b} -- +(0,1); 109 | 110 | \draw (1.3,1.5) node[below right] {\parbox{\posterboxwidth / 3}{\raggedleft\itshape The travel is most 111 | likely to take \textrm{b}, although it can last as long as \textrm{c}; 112 | however, sometimes \textrm{a} is enough.}}; 113 | \end{tikzpicture}\\[2em] 114 | 115 | \parbox{\posterboxwidth/3 * 13 / 10 + 2em}{The problem contains two objectives: 116 | \begin{mylist} 117 | \item maximization of satisfaction 118 | \item minimization of cost 119 | \end{mylist}} 120 | \end{textblock*} 121 | -------------------------------------------------------------------------------- /templates/dcs/csthesis.layout: -------------------------------------------------------------------------------- 1 | #% Do not delete the line below; configure depends on this 2 | # \DeclareLaTeXClass{csthesis} 3 | # 4 | # Author: Cezary Sobaniec 5 | # $Id: csthesis.layout,v 1.3 2004/10/09 11:24:45 sobaniec Exp $ 6 | # 7 | 8 | # Input general definitions 9 | Input stdclass.inc 10 | 11 | Sides 2 12 | ProvidesAmsmath 1 13 | ProvidesURL 1 14 | 15 | NoStyle Abstract 16 | 17 | Float 18 | Type algorithm 19 | GuiName Algorithm 20 | Placement tbph 21 | Extension loa 22 | NumberWithin none 23 | Style plain 24 | ListName "List of Algorithms" 25 | LaTeXBuiltin true 26 | End 27 | 28 | # Mathematics-like definitions: 29 | 30 | Style Case 31 | Margin First_Dynamic 32 | LatexType Environment 33 | LatexName case 34 | NextNoIndent 0 35 | ParIndent MM 36 | LabelSep xx 37 | ItemSep 0 38 | TopSep 0.5 39 | BottomSep 0.5 40 | ParSep 0 41 | Align Block 42 | AlignPossible Block, Left 43 | LabelType Static 44 | LabelString Case #. 45 | 46 | # font & label font definition 47 | 48 | LabelFont 49 | Shape Italic 50 | EndFont 51 | 52 | End 53 | 54 | Style Claim 55 | CopyStyle Case 56 | LatexName claim 57 | LabelString "Claim. " 58 | End 59 | 60 | Style Conjecture 61 | CopyStyle Case 62 | LatexName conjecture 63 | LabelString "Conjecture #. " 64 | End 65 | 66 | Style Corollary 67 | CopyStyle Case 68 | LatexName corollary 69 | LabelString "Corollary #. " 70 | 71 | # font & label font definition 72 | Font 73 | Shape Italic 74 | EndFont 75 | 76 | LabelFont 77 | Shape Up 78 | Series Bold 79 | EndFont 80 | 81 | End 82 | 83 | Style Definition 84 | CopyStyle Corollary 85 | LatexName definition 86 | LabelString "Definition #. " 87 | End 88 | 89 | Style Example 90 | CopyStyle Case 91 | LatexName example 92 | LabelString "Example #. " 93 | End 94 | 95 | Style Exercise 96 | CopyStyle Case 97 | LatexName exercise 98 | LabelString "Exercise #. " 99 | End 100 | 101 | Style Lemma 102 | CopyStyle Corollary 103 | LatexName lemma 104 | LabelString "Lemma #. " 105 | End 106 | 107 | Style Note 108 | CopyStyle Case 109 | LatexName note 110 | LabelString "Note #. " 111 | Font 112 | Size Small 113 | Color blue 114 | EndFont 115 | End 116 | 117 | Style Problem 118 | CopyStyle Exercise 119 | LatexName problem 120 | LabelString "Problem #. " 121 | End 122 | 123 | Style Proof 124 | CopyStyle Claim 125 | LatexName proof 126 | LabelString "Proof. " 127 | End 128 | 129 | Style Property 130 | CopyStyle Case 131 | LatexName property 132 | LabelString "Property #. " 133 | End 134 | 135 | Style Proposition 136 | CopyStyle Corollary 137 | LatexName proposition 138 | LabelString "Proposition #. " 139 | End 140 | 141 | Style Question 142 | CopyStyle Case 143 | LatexName question 144 | LabelString "Question #. " 145 | End 146 | 147 | Style Remark 148 | CopyStyle Case 149 | LatexName remark 150 | LabelString "Remark #. " 151 | End 152 | 153 | Style Solution 154 | CopyStyle Case 155 | LatexName solution 156 | LabelString "Solution #. " 157 | End 158 | 159 | Style Theorem 160 | CopyStyle Corollary 161 | LatexName theorem 162 | LabelString "Theorem #. " 163 | End 164 | 165 | 166 | # Additional environments 167 | 168 | 169 | # Dispitems style definition 170 | Style DispItems 171 | Margin Manual 172 | LatexType List_Environment 173 | LatexName dispitems 174 | NextNoindent 1 175 | LabelSep xxx 176 | ParSkip 0.4 177 | TopSep 0.7 178 | BottomSep 0.7 179 | ParSep 0.7 180 | Align Block 181 | AlignPossible Block, Left 182 | LabelType Manual 183 | LabelString " 6em" 184 | End 185 | 186 | 187 | Style LyX-Code-Small 188 | Margin Static 189 | LatexType Environment 190 | LatexName lyxcodesmall 191 | NextNoIndent 1 192 | LeftMargin MMM 193 | RightMargin MMM 194 | TopSep 0.5 195 | BottomSep 0.5 196 | Align Left 197 | AlignPossible Block, Left, Right, Center 198 | LabelType No_Label 199 | FreeSpacing 1 200 | 201 | # standard font definition 202 | Font 203 | Family Typewriter 204 | Size Small 205 | EndFont 206 | End 207 | 208 | -------------------------------------------------------------------------------- /howto/fonts/minion-myriad/legal-adobe-fonts.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[10pt]{article} 3 | 4 | \usepackage[T1]{fontenc} 5 | \usepackage[utf8]{inputenc} 6 | 7 | \usepackage{MinionPro} 8 | 9 | \usepackage{graphicx} 10 | \usepackage[unicode,linktocpage]{hyperref} 11 | \hypersetup{ 12 | colorlinks=true, 13 | pdfpagelayout=SinglePage, 14 | pdfpagemode=UseOutlines, 15 | pdfstartview=Fit, 16 | linkcolor=black, 17 | citecolor=black, 18 | anchorcolor=black, 19 | filecolor=black, 20 | menucolor=black, 21 | pagecolor=black, 22 | urlcolor=black, 23 | pdftitle={}, 24 | pdfauthor={Dawid Weiss}, 25 | pdfkeywords={} 26 | } 27 | \usepackage{url} 28 | 29 | \title{Legal Eye-candy fonts for \LaTeX{}?} 30 | \author{Dawid Weiss} 31 | 32 | \begin{document} 33 | 34 | \maketitle% 35 | 36 | \section{Introduction} 37 | 38 | The default \LaTeX{} font is Computer Modern, designed by prof.~Donald Knuth himself. I like 39 | it, but I've always been fond of two fonts from the Adobe font foundry -- Minion and Myriad. 40 | Both typefaces were designed by Robert Slimbach and are available in numerous optical sizes 41 | and variations. Unfortunately, as you might have guessed, not for free. 42 | 43 | Recently, I've found out that Adobe added four standard (roman, oblique, bold and bold oblique) 44 | Myriad and Minion font faces to a piece of freely available software -- 45 | Adobe Acrobat Reader, version 7.0. This is my log of actions to find out if this is really 46 | true and how to use these fonts with \LaTeX{}. 47 | 48 | \section{Getting the fonts} 49 | 50 | \begin{itemize} 51 | \item I downloaded Adobe Acrobat Reader from Adobe and installed it on my system. Looking 52 | at the installation folder reveals that, indeed, OpenType versions of 53 | Minion and Myriad are in: 54 | \begin{center} 55 | \textsf{c:$\backslash$Program Files$\backslash$Adobe$\backslash$Acrobat 7.0$\backslash$Resource} 56 | \end{center} 57 | 58 | \item In the first step, I'll just copy OpenType fonts to my Windows fonts folder, 59 | permitting me to use Minion in OpenOffice. It works on display (and looks really ugly, as if 60 | not font smoothing have been applied), plus I couldn't embed the fonts in an 61 | exported \texttt{pdf}. A workaround is to use a postscript printer and convert 62 | the \texttt{ps} file to \texttt{pdf} manually -- results 63 | in Figure~\ref{fig:openoffice}. 64 | \end{itemize} 65 | 66 | \begin{figure}[p] 67 | \centering% 68 | \fbox{\includegraphics[width=.8\linewidth]{figures/openoffice}} 69 | \caption{Myriad and Minion in OpenOffice. Support for ligatures sucks.}\label{fig:openoffice} 70 | \end{figure} 71 | 72 | \section{Making the fonts available to \LaTeX} 73 | 74 | So far I've been working on a Windows box, so I'll go on with font installation on Mik\TeX{} and 75 | we'll see if they work properly. We'll need packages \texttt{minionpro} and \texttt{mnsymbol} 76 | from CTAN. The first one is at: 77 | \begin{center}\small 78 | \url{http://www.tug.org/tex-archive/help/Catalogue/entries/minionpro.html} 79 | \end{center} 80 | 81 | Now, the procedure to install fonts goes like this, supposedly: 82 | \begin{itemize} 83 | \item Install \texttt{mnsymbol} using Mik\TeX{} or manually. 84 | \item Unzip \texttt{minionpro} and follow instructions in the \texttt{README} 85 | file. LCDF Typetools project is at \url{http://www.lcdf.org/type/}, you'll need 86 | to install it first and add the \texttt{bin} folder to \texttt{PATH}. I followed 87 | the installation instructions almost exactly. The difference was that Mik\TeX\ requires 88 | a local \texttt{updmap.cfg} file (create it in:\\ 89 | \texttt{localtexmf/miktex/config/updmap.cfg} \\ 90 | and refresh the database with \texttt{initexmf --mkmaps}). 91 | 92 | \item Surprisingly, everything worked just as expected (see Figure~\ref{fig:minion}). 93 | \end{itemize} 94 | 95 | \begin{figure}[p] 96 | \centering% 97 | \fbox{\includegraphics[width=.8\linewidth]{figures/minion-test}} 98 | \caption{Minion in \LaTeX{}. Support for ligatures and text figures works as expected.}\label{fig:minion} 99 | \end{figure} 100 | 101 | \section{Whining} 102 | 103 | Now it's time to whine a bit. I managed to get Minion working, but Myriad was beyond my current 104 | time limits -- it'd require fiddling with \emph{fontools} and I've never done it before. 105 | 106 | Another thing is the support for glyphs such as \textsc{Caps}, which are emulated if you only 107 | have the four basic fonts. Not a perfect solution. 108 | 109 | 110 | \end{document} -------------------------------------------------------------------------------- /howto/code/code-indents.tex: -------------------------------------------------------------------------------- 1 | \documentclass[polish]{article} 2 | 3 | \usepackage[utf8]{inputenc} 4 | \usepackage[OT1]{fontenc} 5 | 6 | \usepackage[polish]{babel} 7 | 8 | \usepackage[widespace]{fourier} 9 | \usepackage[scaled]{luximono} 10 | 11 | \usepackage{fancyvrb} 12 | \usepackage{graphicx} 13 | \usepackage{xcolor} 14 | \usepackage[bookmarks=true,unicode]{hyperref} 15 | \usepackage{url} 16 | \usepackage{varioref} 17 | \usepackage{listings} 18 | 19 | % Custom floats 20 | \usepackage{tocloft} 21 | \usepackage{float} 22 | 23 | % Set up hyperref. 24 | \hypersetup{ 25 | bookmarksopen=false, 26 | bookmarksopenlevel=3, 27 | bookmarksnumbered=true, 28 | % 29 | colorlinks=false, 30 | citebordercolor=0.64 0.68 0.86, 31 | filebordercolor=0.64 0.68 0.86, 32 | linkbordercolor=0.64 0.68 0.86, 33 | menubordercolor=0.64 0.68 0.86, 34 | pagebordercolor=0.64 0.68 0.86, 35 | urlbordercolor=0.64 0.68 0.86, 36 | runbordercolor=0.64 0.68 0.86, 37 | % 38 | pdfpagemode=UseOutlines, 39 | pdfstartview=Fit, 40 | % 41 | pdftitle={}, 42 | pdfauthor={}, 43 | pdfkeywords={} 44 | } 45 | 46 | % Define colors for listings. 47 | \definecolor{codestrings}{rgb}{0.164,0,1} 48 | \definecolor{codecomment}{rgb}{0.25,0.49,0.37} 49 | \definecolor{codekeywords}{rgb}{0.49,0,0.33} 50 | \definecolor{codebackground}{rgb}{0.95,0.95,0.95} 51 | 52 | % Set up defaults 53 | \lstset{ 54 | inputencoding=utf8, 55 | language=Java, 56 | extendedchars=true, 57 | basicstyle=\ttfamily\scriptsize, 58 | numbers=left, 59 | numbersep=3pt, 60 | framexleftmargin=2pt, 61 | framerule=0pt, 62 | frame=lines, 63 | numberstyle=\tiny, 64 | tabsize=2, 65 | showstringspaces=false, 66 | showspaces=false, 67 | keywordstyle=\bfseries\color{codekeywords}, 68 | identifierstyle=\color{black}, 69 | stringstyle=\color{codestrings}, 70 | commentstyle=\color{codecomment}, 71 | columns=fullflexible, 72 | abovecaptionskip=\medskipamount, 73 | belowcaptionskip=\medskipamount, 74 | backgroundcolor=\color{codebackground}, 75 | } 76 | 77 | \RecustomVerbatimEnvironment{Verbatim}{Verbatim}% 78 | {fontsize=\footnotesize,frame=lines,numbers=left} 79 | 80 | \newlength{\codemargin} 81 | \setlength{\codemargin}{\leftmargin} 82 | \addtolength{\codemargin}{2pt} 83 | 84 | \lstnewenvironment{javablock}{\lstset{language=Java}}{} 85 | \lstnewenvironment{ljavablock}{\lstset{language=Java,resetmargins=true}}{} 86 | \lstnewenvironment{mjavablock}{\lstset{language=Java,xleftmargin=\codemargin,numbers=none,framexleftmargin=2pt,numbersep=0pt}}{} 87 | 88 | \newfloat{Program}{tbp}{lst} 89 | 90 | \begin{document} 91 | 92 | \noindent% 93 | An example on the `top' level: 94 | 95 | \begin{javablock} 96 | public final class Example { 97 | public static void main(String [] args) { 98 | } 99 | } 100 | \end{javablock} 101 | 102 | \begin{itemize} 103 | \item And now indented: 104 | \begin{javablock} 105 | public final class Example { 106 | public static void main(String [] args) { 107 | } 108 | } 109 | \end{javablock} 110 | 111 | \begin{itemize} 112 | \item And indented again: 113 | \begin{javablock} 114 | public final class Example { 115 | public static void main(String [] args) { 116 | } 117 | } 118 | \end{javablock} 119 | \end{itemize} 120 | \end{itemize} 121 | 122 | \bigskip\noindent% 123 | And now not indented (note it is the same option for \texttt{fancyvrb} and \texttt{listings} -- \texttt{resetmargins}). 124 | An example on the `top' level: 125 | 126 | \begin{ljavablock} 127 | public final class Example { 128 | public static void main(String [] args) { 129 | } 130 | } 131 | \end{ljavablock} 132 | 133 | \begin{itemize} 134 | \item And now indented: 135 | \begin{ljavablock} 136 | public final class Example { 137 | public static void main(String [] args) { 138 | } 139 | } 140 | \end{ljavablock} 141 | 142 | \begin{itemize} 143 | \item And indented again: 144 | \begin{ljavablock} 145 | public final class Example { 146 | public static void main(String [] args) { 147 | } 148 | } 149 | \end{ljavablock} 150 | \end{itemize} 151 | \end{itemize} 152 | 153 | \pagebreak 154 | \bigskip\noindent% 155 | Now, if we want an arbitrary horizontal indent, we can specify that as well. For example, to 156 | indent code blocks \emph{exactly} the amount of a typical list environment, you would do this: 157 | 158 | \begin{itemize} 159 | \item Here is a list indent. The code below is not in the list, yet it appears 160 | exactly at the same distance from the left page margin. 161 | \end{itemize} 162 | 163 | \noindent\hspace{\leftmargin}\raisebox{0pt}[0pt][0pt]{\rule{0.5pt}{50pt}} 164 | 165 | \begin{mjavablock} 166 | public final class Example { 167 | public static void main(String [] args) { 168 | } 169 | } 170 | \end{mjavablock} 171 | 172 | \begin{itemize} 173 | \item Inside a list environment, this will still appear indented: 174 | \begin{mjavablock} 175 | public final class Example { 176 | public static void main(String [] args) { 177 | } 178 | } 179 | \end{mjavablock} 180 | \end{itemize} 181 | 182 | \end{document} 183 | -------------------------------------------------------------------------------- /templates/dcs/dcsarticle.layout: -------------------------------------------------------------------------------- 1 | #% Do not delete the line below; configure depends on this 2 | # \DeclareLaTeXClass{dcsarticle} 3 | # 4 | # Author: Cezary Sobaniec 5 | # Based on llncs.layout 6 | # $Id: dcsarticle.layout,v 1.9 2006/09/01 18:34:07 sobaniec Exp $ 7 | # 8 | 9 | Format 2 10 | Input stdclass.inc 11 | Input numarticle.inc 12 | 13 | # There are no chapters in an article. 14 | NoStyle Chapter 15 | NoStyle Chapter* 16 | 17 | SecNumDepth 3 18 | TocDepth 3 19 | ProvidesAmsmath 1 20 | ProvidesURL 1 21 | 22 | Float 23 | Type algorithm 24 | GuiName Algorithm 25 | Placement tbph 26 | Extension loa 27 | NumberWithin none 28 | Style plain 29 | ListName "List of Algorithms" 30 | LaTeXBuiltin true 31 | End 32 | 33 | # Mathematics-like definitions: 34 | 35 | Style Case 36 | Margin First_Dynamic 37 | LatexType Environment 38 | LatexName case 39 | NextNoIndent 0 40 | ParIndent MM 41 | LabelSep xx 42 | ItemSep 0 43 | TopSep 0.5 44 | BottomSep 0.5 45 | ParSep 0 46 | Align Block 47 | AlignPossible Block, Left 48 | LabelType Static 49 | LabelString Case #. 50 | 51 | # font & label font definition 52 | 53 | LabelFont 54 | Shape Italic 55 | EndFont 56 | 57 | End 58 | 59 | Style Claim 60 | CopyStyle Case 61 | LatexName claim 62 | LabelString "Claim. " 63 | End 64 | 65 | Style Conjecture 66 | CopyStyle Case 67 | LatexName conjecture 68 | LabelString "Conjecture #. " 69 | End 70 | 71 | Style Corollary 72 | CopyStyle Case 73 | LatexName corollary 74 | LabelString "Corollary #. " 75 | 76 | # font & label font definition 77 | Font 78 | Shape Italic 79 | EndFont 80 | 81 | LabelFont 82 | Shape Up 83 | Series Bold 84 | EndFont 85 | 86 | End 87 | 88 | Style Definition 89 | CopyStyle Corollary 90 | LatexName definition 91 | LabelString "Definition #. " 92 | End 93 | 94 | Style Example 95 | CopyStyle Case 96 | LatexName example 97 | LabelString "Example #. " 98 | End 99 | 100 | Style Exercise 101 | CopyStyle Case 102 | LatexName exercise 103 | LabelString "Exercise #. " 104 | End 105 | 106 | Style Lemma 107 | CopyStyle Corollary 108 | LatexName lemma 109 | LabelString "Lemma #. " 110 | End 111 | 112 | Style Note 113 | CopyStyle Case 114 | LatexName note 115 | LabelString "Note #. " 116 | Font 117 | Size Small 118 | Color blue 119 | EndFont 120 | End 121 | 122 | Style Problem 123 | CopyStyle Exercise 124 | LatexName problem 125 | LabelString "Problem #. " 126 | End 127 | 128 | Style Proof 129 | CopyStyle Claim 130 | LatexName proof 131 | LabelString "Proof. " 132 | End 133 | 134 | Style Property 135 | CopyStyle Case 136 | LatexName property 137 | LabelString "Property #. " 138 | End 139 | 140 | Style Proposition 141 | CopyStyle Corollary 142 | LatexName proposition 143 | LabelString "Proposition #. " 144 | End 145 | 146 | Style Question 147 | CopyStyle Case 148 | LatexName question 149 | LabelString "Question #. " 150 | End 151 | 152 | Style Remark 153 | CopyStyle Case 154 | LatexName remark 155 | LabelString "Remark #. " 156 | End 157 | 158 | Style Solution 159 | CopyStyle Case 160 | LatexName solution 161 | LabelString "Solution #. " 162 | End 163 | 164 | Style Theorem 165 | CopyStyle Corollary 166 | LatexName theorem 167 | LabelString "Theorem #. " 168 | End 169 | 170 | 171 | # Additional environments 172 | 173 | 174 | # Dispitems style definition 175 | Style DispItems 176 | Margin Manual 177 | LatexType List_Environment 178 | LatexName dispitems 179 | NextNoindent 1 180 | LabelSep xxx 181 | ParSkip 0.4 182 | TopSep 0.7 183 | BottomSep 0.7 184 | ParSep 0.3 185 | Align Block 186 | AlignPossible Block, Left 187 | LabelType Manual 188 | LabelString "default" 189 | End 190 | 191 | 192 | # Enumeratex style definition 193 | Style Enumeratex 194 | Margin Manual 195 | LatexType List_Environment 196 | LatexName enumeratex 197 | NextNoIndent 1 198 | LeftMargin MMN 199 | LabelSep xx 200 | ParSkip 0.0 201 | ItemSep 0.2 202 | TopSep 0.7 203 | BottomSep 0.7 204 | ParSep 0.3 205 | Align Block 206 | AlignPossible Block, Left 207 | LabelType Enumerate 208 | LabelString "{} 1." 209 | End 210 | 211 | 212 | Style LyX-Code-Small 213 | Margin Static 214 | LatexType Environment 215 | LatexName lyxcodesmall 216 | NextNoIndent 1 217 | LeftMargin MMM 218 | RightMargin "" 219 | TopSep 0.5 220 | BottomSep 0.5 221 | Align Left 222 | AlignPossible Block, Left, Right, Center 223 | LabelType No_Label 224 | FreeSpacing 1 225 | 226 | # standard font definition 227 | Font 228 | Family Typewriter 229 | Size Small 230 | EndFont 231 | End 232 | 233 | -------------------------------------------------------------------------------- /templates/dcs/dcsarticle.cls: -------------------------------------------------------------------------------- 1 | % 2 | % $Id: dcsarticle.cls,v 1.30 2006/09/01 18:34:07 sobaniec Exp $ 3 | % 4 | 5 | \NeedsTeXFormat{LaTeX2e} 6 | \ProvidesClass{dcsarticle}[2006/09/01 v1.0 DCS Group article class] 7 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} 8 | \ProcessOptions\relax 9 | \LoadClass{article} 10 | 11 | 12 | \RequirePackage{geometry} 13 | \RequirePackage[pagestyles,clearempty,psfloats]{titlesec} 14 | \RequirePackage{dcslib}[2006/09/01] 15 | \RequirePackage{setspace} 16 | 17 | \DeclareOption{noimplicit}{ 18 | \PassOptionsToPackage{implicit=false}{hyperref} 19 | } 20 | \ProcessOptions\relax 21 | \RequirePackage{hyperref} 22 | 23 | 24 | % default page layout 25 | \newlength{\bindinglen} 26 | \setlength{\bindinglen}{0.5cm} 27 | \geometry{a4paper,tmargin=3cm,bmargin=3cm,lmargin=2.75cm,rmargin=2.75cm, 28 | bindingoffset=0cm} 29 | 30 | % twoside 31 | \DeclareOption{twoside}{ 32 | \geometry{twoside=true,lmargin=2.5cm,rmargin=2.5cm, 33 | bindingoffset=\bindinglen} 34 | } 35 | 36 | 37 | % fonts 38 | \newcommand{\secfont}{\fontfamily{pag}\selectfont} 39 | 40 | 41 | % page styles 42 | \newpagestyle{main}[\footnotesize\itshape]{ 43 | \sethead{}{}{} 44 | \setfoot{}{\rm\normalsize\thepage}{} 45 | \setfloathead{}{}{}{\setheadrule{0pt}}[p] 46 | } 47 | \pagestyle{main} 48 | 49 | 50 | % matters 51 | \newif\if@mainmatter \@mainmattertrue 52 | \newcommand\mainmatter{% 53 | \cleardoublepage 54 | \@mainmattertrue 55 | \pagenumbering{arabic}} 56 | \newcommand\backmatter{% 57 | \if@openright 58 | \cleardoublepage 59 | \else 60 | \clearpage 61 | \fi 62 | \@mainmatterfalse} 63 | 64 | 65 | % sectioning 66 | \DeclareOption{sanssec}{ 67 | \titleformat{\section}{\secfont\LARGE}{\thesection}{1em}{} 68 | \titleformat{\subsection}{\secfont\Large}{\thesubsection}{1em}{} 69 | \titleformat{\subsubsection}{\secfont\large}{\thesubsubsection}{1em}{} 70 | \titleformat{\subparagraph}[runin]{\em}{}{0em}{} 71 | \titlespacing{\subparagraph}{0pt}{\bigskipamount}{1em} 72 | } 73 | 74 | 75 | % report option 76 | \DeclareOption{report}{ 77 | \renewcommand{\and}{\par} 78 | \renewcommand{\maketitle}{% 79 | \begin{titlepage} 80 | \secfont 81 | \setlength{\parindent}{0pt} 82 | \null\vfill 83 | \hfill\begin{minipage}{12.5cm} 84 | \begin{center} 85 | {\fontsize{18}{20}\selectfont\@title\par} 86 | \fontsize{12}{14}\selectfont 87 | \vspace{5mm} 88 | {\@author}\par 89 | \vspace{5mm} 90 | {\fontsize{10}{12}\selectfont \techreportname\ \@date} 91 | \end{center} 92 | \end{minipage}\hspace{\bindinglen}\hfill\null 93 | \vfill\null 94 | \end{titlepage} 95 | \cleardoublepage 96 | } 97 | 98 | \renewcommand\tableofcontents{% 99 | \section*{\contentsname} 100 | \pagestyle{empty} 101 | \@starttoc{toc} 102 | \cleardoublepage 103 | \pagestyle{main}} 104 | 105 | % page layout 106 | \geometry{tmargin=3.5cm,bmargin=3cm,lmargin=2.75cm,rmargin=2.75cm, 107 | headsep=7ex,footskip=0cm,bindingoffset=\bindinglen} 108 | 109 | % line space 110 | \setstretch{1.1} 111 | 112 | \ExecuteOptions{sanssec} 113 | 114 | \setlength{\parindent}{1pc} 115 | 116 | % parskip 117 | \setlength{\parskip}{0.6ex} 118 | 119 | % page styles 120 | \renewpagestyle{plain}{ 121 | \setfoot{}{}{} 122 | } 123 | \renewpagestyle{main}[\footnotesize\itshape]{ 124 | \headrule 125 | \sethead[\rm\normalsize\thepage][]% 126 | [\if@mainmatter 127 | \thesection~~\sectiontitle 128 | \else 129 | \sectiontitle 130 | \fi]% 131 | {\if@mainmatter 132 | \thesection~~\sectiontitle 133 | \else 134 | \sectiontitle 135 | \fi}{}{\rm\normalsize\thepage} 136 | \setfloathead{}{}{}{\setheadrule{0pt}}[p] 137 | } 138 | \pagestyle{main} 139 | 140 | % abstract environment 141 | \renewenvironment{abstract} 142 | { 143 | \thispagestyle{plain} 144 | \mbox{}\vfill 145 | \begin{list}{}{ 146 | \setlength{\leftmargin}{0.1\textwidth} 147 | \setlength{\rightmargin}{0.1\textwidth} 148 | \begin{center} 149 | \secfont\large\abstractname 150 | \end{center} 151 | } 152 | \item\relax 153 | } 154 | {\end{list}\vfill\vfill\vfill\mbox{} 155 | \cleardoublepage 156 | } 157 | 158 | } 159 | 160 | 161 | % hyperref 162 | \hypersetup{pdfpagemode=UseNone,colorlinks,breaklinks, 163 | bookmarksopen,bookmarksnumbered, 164 | bookmarksopenlevel=1, 165 | urlcolor=black,linkcolor=black,citecolor=black, 166 | plainpages=false,hypertexnames=false} 167 | 168 | 169 | \DeclareOption{web}{ 170 | \hypersetup{urlcolor=linkcolor,linkcolor=linkcolor,% 171 | citecolor=linkcolor} 172 | \hyperbaseurl{file:/} 173 | \lstset{language=c} 174 | \lstset{keywordstyle=\bfseries\color{dkgreen}, 175 | commentstyle=\itshape\color{dkblue}, 176 | stringstyle=\color{dkred}, 177 | directivestyle=\color{directive}} 178 | \lstset{language=} 179 | % switch off two side 180 | \geometry{twoside=false,lmargin=2.75cm,rmargin=2.75cm,bindingoffset=0cm} 181 | } 182 | 183 | 184 | \ProcessOptions\relax 185 | -------------------------------------------------------------------------------- /howto/beamer/clock/clock-example.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{beamer} 2 | \usepackage{clock} 3 | 4 | \usetheme{Madrid} 5 | 6 | 7 | \title[A clock in beamer]{An example of using Clock in beamer} 8 | \author{Luis R\'{a}ndez \& Juan I. Montijano} 9 | \institute[IUMA]{IUMA \\ Universidad de Zaragoza } 10 | \date{\today} 11 | 12 | 13 | \begin{document} 14 | 15 | 16 | \frame{\titlepage} 17 | 18 | %\frame{\tableofcontents} 19 | 20 | \begin{frame}[t] 21 | 22 | \frametitle{Introduction} 23 | 24 | 25 | %\clockfont{"font.HelvB"} 26 | \clockfont{"font.Helv"} 27 | \initclock % This must be used one time to initialize the clock 28 | 29 | We are putting here a clock with the macro \quad 30 | \structure{\texttt{$\backslash$insertclock}} 31 | 32 | \medskip 33 | 34 | The default settings are used: \insertclock 35 | 36 | \medskip 37 | 38 | Before that, the macro \quad \structure{\texttt{$\backslash$initclock}} 39 | \quad must have been used (only one time !). 40 | 41 | \end{frame} 42 | 43 | \begin{frame} 44 | The font type can be specified, just before initializing the clock, with the macro 45 | \ \structure{\texttt{$\backslash$clockfont\{``font''\}}} \ 46 | where ``font'' is one of the adobe known fonts, given in keywords column in the next table 47 | 48 | \begin{center} 49 | {\footnotesize 50 | \begin{tabular}{ll} 51 | Text Font & Keyword \\ 52 | \hline 53 | Times-Roman & font.Times \\ 54 | Times-Bold & font.TimesB \\ 55 | Times-Italic & font.TimesI \\ 56 | Times-BoldItalic & font.TimesBI \\ 57 | Helvetica & font.Helv \\ 58 | Helvetica-Bold & font.HelvB \\ 59 | Helvetica-Oblique & font.HelvI \\ 60 | Helvetica-BoldOblique & font.HelvBI \\ 61 | Courier & font.Cour \\ 62 | Courier-Bold & font.CourB \\ 63 | Courier-Oblique & font.CourI \\ 64 | Courier-BoldOblique & font.CourBI \\ 65 | Symbol & font.Symbol \\ 66 | ZapfDingbats & font.ZapfD \\ 67 | \end{tabular} 68 | } 69 | \end{center} 70 | 71 | \end{frame} 72 | 73 | % This is an example for inserting 74 | % the clock at the place reserved to the date, the foot line in the 75 | % case of Madrid theme. 76 | % Colors are adjusted according the theme. 77 | % 78 | \date{\raisebox{-1.8pt}\insertclock} 79 | \usebeamercolor{palette primary} 80 | \clockbg{bg} 81 | \clockbdcolor{bg} 82 | \clockfontcolor{fg} 83 | \clockfontsize{6pt} 84 | 85 | 86 | \begin{frame} 87 | 88 | Here we have inserted the clock at the place reserved to the date, the foot line in the case of Madrid theme. 89 | 90 | \medskip 91 | 92 | To do that, we have redefined the date contents with the order 93 | \medskip 94 | 95 | \centerline{\structure{\texttt{$\backslash$date\{$\backslash$raisebox\{-1.8pt\}\{$\backslash$insertclock\}\}}} } 96 | 97 | \medskip 98 | 99 | Colors and size are adjusted according to the theme. 100 | 101 | \medskip 102 | 103 | Look at the foot!, the clock must be running. 104 | 105 | The clock has moved down properly to fit it to the foot of this theme. 106 | \end{frame} 107 | 108 | \date{ 109 | \inserttogglebutton{}% 110 | \raisebox{-1.8pt}{\insertclock}% 111 | \insertresetbutton{}} 112 | 113 | \begin{frame} 114 | 115 | Now, in addition to the clock, we also insert a button to toggle between clock and stopwatch (left button), and a button to reset the stopwatch to zero (right button). 116 | 117 | \medskip 118 | 119 | To do that, we have redefined the date with the order 120 | 121 | \medskip 122 | 123 | \structure{\footnotesize 124 | \texttt{$\backslash$date\{\% \\ 125 | $\backslash$inserttogglebutton\{\}\% \\ 126 | $\backslash$raisebox\{-1.8pt\}\{$\backslash$insertclock\}\% \\ 127 | $\backslash$insertresetbutton\{\}\}} 128 | } 129 | 130 | \medskip 131 | 132 | The clock must be running at the foot. Click at the left button, see what happens, 133 | and click at the right button and see the result. 134 | \end{frame} 135 | 136 | 137 | % 138 | % Here we change the colors and size of the clock 139 | % 140 | \definecolor{myred}{rgb}{0.8,0,0} % rojo 141 | \definecolor{mycolor}{rgb}{0.80,0.50,0.20} % darkorangere 142 | 143 | \clockbg{mycolor} 144 | \clockbdcolor{myred} 145 | \clockfontcolor{black} 146 | \clockheight{0.20cm} 147 | \clockwidth{2.0cm} 148 | \clockfontsize{5pt} 149 | 150 | 151 | \begin{frame}[fragile] 152 | Here we have just changed the colors and the size of the clock using the next sentences 153 | 154 | \begin{verbatim} 155 | \definecolor{myred}{rgb}{0.8,0,0} 156 | \definecolor{mycolor}{rgb}{0.80,0.50,0.20} 157 | \clockbg{mycolor} 158 | \clockbdcolor{myred} 159 | \clockfontcolor{black} 160 | \clockheight{0.20cm} 161 | \clockwidth{2.0cm} 162 | \clockfontsize{5pt} 163 | \end{verbatim} 164 | 165 | 166 | \end{frame} 167 | 168 | \clockbg{mycolor} 169 | \clockbdcolor{myred} 170 | \clockfontcolor{black} 171 | \clockheight{0.25cm} 172 | \clockwidth{2.0cm} 173 | \clockfontsize{6pt} 174 | 175 | \begin{frame} 176 | 177 | Next, we insert a toggle button, with a text: 178 | 179 | \medskip 180 | 181 | \clocktogglecolor{red} 182 | \quad \inserttogglebutton{\bf Click here to toggle clock-stopwatch} 183 | 184 | 185 | \bigskip 186 | \begin{tabular}{|l|l|l|} 187 | \hline 188 | clock & \insertclock & \structure{$\backslash$insertclock} \\[3pt] 189 | \hline 190 | stopwatch & \insertcrono & \structure{$\backslash$insertcrono} \\[3pt] 191 | \hline 192 | current time & \inserttime & \structure{$\backslash$inserttime} \\[3pt] 193 | \hline 194 | current date & \insertcurrentdate & \structure{$\backslash$insertcurrentdate}\\ 195 | \hline 196 | \end{tabular} 197 | \end{frame} 198 | 199 | 200 | \end{document} 201 | 202 | -------------------------------------------------------------------------------- /distcomp/doc/cs-infrastructure.tex: -------------------------------------------------------------------------------- 1 | 2 | \documentclass[compress]{beamer} 3 | 4 | \usepackage[utf8]{inputenc} 5 | \usepackage[OT4]{fontenc} 6 | \usepackage{dwlecture} 7 | \usepackage{soul} 8 | 9 | \title{Obliczenia rozproszone w~laboratoriach Instytutu~Informatyki~(na~piechotkę)} 10 | \author{Dawid Weiss} 11 | \date{2006--2007} 12 | 13 | \newcommand{\terminal}[1]{{\color{blue}{#1}}} 14 | 15 | \AtBeginSection[] { 16 | \begin{frame} 17 | \framesubtitle{\insertpart} 18 | \tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide] 19 | \end{frame} 20 | } 21 | 22 | \AtBeginSubsection[] { 23 | \begin{frame} 24 | \framesubtitle{\insertpart} 25 | \tableofcontents[sectionstyle=shaded,subsectionstyle=show/shaded/hide] 26 | \end{frame} 27 | } 28 | 29 | \begin{document} 30 | 31 | \begin{frame}[plain] 32 | \titlepage 33 | \end{frame} 34 | 35 | \section{Założenia} 36 | 37 | \begin{frame} 38 | \frametitle{Założenia} 39 | 40 | \begin{itemize} 41 | \item Programy pod system SuSE Linux (lub \emph{cross-platform}). 42 | \item Konto do serwera \texttt{sirius}/ \texttt{polluks} (a tym samym do 43 | maszyn w laboratoriach). 44 | \item Znajomość poleceń powłoki systemu operacyjnego Linux. 45 | \end{itemize} 46 | 47 | \medskip 48 | \begin{itemize} 49 | \item Użycie jednego z komputerów jako głównego (\emph{master}). 50 | \item Użycie serwerów (końcówek) obliczeniowych (\emph{slaves}). 51 | \end{itemize} 52 | \end{frame} 53 | 54 | \begin{frame} 55 | \frametitle{Środowisko} 56 | 57 | Linux computers at the Institute use SuSE Linux and provide the following facilities: 58 | \begin{itemize} 59 | \item shared login system (LDAP client); you have the same user name and password on all 60 | computers, 61 | \item shared home folder (mounted network file system); this way you ``see'' the same home folder 62 | no matter on which machine you log on. 63 | \end{itemize} 64 | 65 | The above features make it possible to have a uniform, password-less SSH access to all machines. Follow 66 | the steps from \texttt{cs-infrastructure} script to setup such an access. 67 | \end{frame} 68 | 69 | 70 | \section[SSH]{SSH, klucze publiczne, wykonywanie poleceń} 71 | 72 | \begin{frame} 73 | \frametitle{Zdalne wykonywanie poleceń w systemie Linux} 74 | 75 | \begin{block}{} 76 | Wykonanie polecenia zdalnego polega na uruchomieniu programu 77 | \texttt{ssh} z autoryzacją przy pomocy \emph{klucza prywatnego}. 78 | \end{block} 79 | \end{frame} 80 | 81 | \begin{frame} 82 | \frametitle{Generowanie i instalacja klucza (bez hasła)} 83 | 84 | \begin{itemize} 85 | \item Generacja: \terminal{ssh-keygen -b 1024 -t rsa -f mykey} 86 | \\ $\to$ \texttt{mykey}, \texttt{mykey.pub} 87 | \item Instalacja klucza publicznego (slave): 88 | \\ \terminal{cat mykey.pub \textgreater\hspace{-2pt}\textgreater .ssh/authorized\_keys2} 89 | 90 | \medskip 91 | Zwróć uwagę: współdzielony katalog \texttt{home} sprawia, że \emph{wszystkie} 92 | komputery w laboratoriach mają od razu zainstalowany ten certyfikat. 93 | 94 | \item {\color{red} prosze sprawdzic, czy katalog \texttt{.ssh} ma prawa \texttt{700} 95 | (tylko dla uzytkownika).} 96 | \end{itemize} 97 | \end{frame} 98 | 99 | \begin{frame} 100 | \frametitle{Logowanie przy użyciu klucza prywatnego} 101 | 102 | \begin{itemize} 103 | \item Zalogowanie się na któryś z komputerów (Linux). 104 | \item Odpalenie powłoki ,,agenta'': \terminal{ssh-agent bash} 105 | \item Dodanie klucza prywatnego: \terminal{ssh-add mykey} 106 | \item Sprawdzenie (może poprosić o weryfikację sygnatury hosta): \\ 107 | \terminal{ssh -2 -l \textit{username} polluks.cs.put.poznan.pl "ls -l; pwd"} 108 | \item W praktyce: \\ 109 | \terminal{ssh -2 -l \textit{username} \textit{slave-host} "\textit{command}"} 110 | \end{itemize} 111 | \end{frame} 112 | 113 | \begin{frame} 114 | \frametitle{Ułatwienia} 115 | 116 | Cezary Sobaniec oraz Ania i Jacek Kobusińscy udostępnili skrypty, które uruchamiają 117 | (sekwencyjnie lub równolegle) \emph{identyczne} polecenie na wielu hostach, 118 | zawartych w pliku konfiguracyjnym. 119 | 120 | \medskip 121 | Plik konfiguracyjny zawiera jeden host w każdej linii. 122 | 123 | \medskip 124 | Tym samym sekwencyjne sprawdzenie np.~ilości miejsca na wszystkich końcówkach ogranicza się 125 | do wykonania polecenia: \\ \terminal{./rshseq.sh computing.hosts df -h /tmp}. 126 | \end{frame} 127 | 128 | 129 | \section{Obliczenia i agregacja wyników} 130 | 131 | \begin{frame} 132 | \frametitle{Przeprowadzenie obliczeń} 133 | 134 | \begin{enumerate} 135 | \item Przygotuj program (skrypt) tak, by można było przekazać ,,paczki'' danych (np.~jako 136 | parametry z linii poleceń). 137 | 138 | \item Zgromadź listę adresów komputerów, które będą wykorzystane (,,slaves''). Komputery 139 | w laboratoriach mają adresy \texttt{lab-142-X} oraz \texttt{lab-143-X}; nie wszystkie są sprawne. 140 | 141 | \item Utwórz skrypt powłoki na komputerze ,,master'', obliczający fragment zadania 142 | na każdym z hostów. 143 | 144 | \item Skopiuj wynik działania do katalogu domowego (NFS). 145 | \end{enumerate} 146 | \end{frame} 147 | 148 | \begin{frame} 149 | \frametitle{Elementy wymagające uwagi} 150 | 151 | \begin{itemize} 152 | \item Programy lub dane zajmujące dużo miejsca. \\ 153 | $\to$ skopiować na końcówki (kat.~\texttt{/tmp/user}). 154 | \item Programy lub dane używające dysku. \\ 155 | $\to$ nie używać katalogu domowego. 156 | \item Komputery popsute/ niesprawne. \\ 157 | $\to$ sprawdzić wyniki/ przejrzeć logi. 158 | \item Warto uzgodnić wykorzystanie komputerów z administratorami/ 159 | Czarkiem Sobańcem. 160 | \end{itemize} 161 | \end{frame} 162 | 163 | \begin{frame}[plain] 164 | Podziękowania dla Cezarego Sobańca, Ani i~Jacka Kobusińskich za wskazówki i~pomoc. 165 | \end{frame} 166 | 167 | \end{document} 168 | -------------------------------------------------------------------------------- /howto/poster/poster2/poster.tex: -------------------------------------------------------------------------------- 1 | \documentclass[oneside,final,12pt]{article} 2 | 3 | \usepackage[utf8]{inputenc} % input in UTF-8 4 | \usepackage[T1]{fontenc} 5 | \usepackage[math]{iwona} % font of our choice 6 | 7 | \usepackage{tikz} % drawing package 8 | \usepackage{pgflibrarysnakes,pgflibraryarrows} 9 | 10 | % define paper size 11 | \def\XMargin{1cm} 12 | \def\YMargin{1cm} 13 | \usepackage{geometry} 14 | \geometry{paper=a2paper,hmargin=\XMargin,vmargin=\YMargin} 15 | 16 | \usepackage{graphicx} % to use imported graphics 17 | 18 | % textpos is for absolute positioning of boxes 19 | \usepackage{calc} 20 | \usepackage[absolute,overlay]{textpos} 21 | \TPGrid[\XMargin,\YMargin]{40}{57} 22 | \textblockorigin{0\TPHorizModule}{0\TPVertModule} 23 | 24 | \usepackage{fp} % for arithmetic on plain numbers 25 | 26 | \pagestyle{empty} 27 | \parindent=0pt % don't indent anything 28 | 29 | \newenvironment{mylist}{ 30 | \begin{list}{\textbullet\hfill}{ 31 | \setlength{\labelwidth}{1.5ex}\setlength{\leftmargin}{\labelwidth+\labelsep} 32 | }}{\end{list}} 33 | 34 | \newcommand\showgrid{ 35 | \begin{tikzpicture}[color=black!10] 36 | \draw[loosely dotted,step=1cm,very thin,yshift=48\TPVertModule,yscale=-1] (0,0) grid (40,48); 37 | \draw[step=5cm,yshift=48\TPVertModule,yscale=-1] (0,0) grid (40,48); 38 | \end{tikzpicture} 39 | } 40 | 41 | % #1 #2 #3 #4 #5 #6 42 | % [title]{xpos}{ypos}{width}{height}{content} 43 | \newcommand{\posterbox}[6][\empty]{% 44 | \posterfancybox[#1]{#2}{#3}{#4}{#5}{#6}{% 45 | (0,0) -- (0pt,#5\TPVertModule) -- (#4\TPHorizModule,#5\TPVertModule) -- (#4\TPHorizModule,0pt) -- cycle;% 46 | }% 47 | } 48 | 49 | \newlength\posterboxwidth 50 | \newlength\posterboxheight 51 | \newlength\posterboxtitlewidth 52 | \newlength\posterboxtitleheight 53 | 54 | % #1 #2 #3 #4 #5 #6 #7 55 | % [title]{xpos}{ypos}{width}{height}{content}{fancyframe} 56 | \newcommand{\posterfancybox}[7][\empty]{% 57 | \setlength{\posterboxwidth}{#4\TPHorizModule-4ex} 58 | \setlength{\posterboxheight}{#5\TPVertModule} 59 | 60 | \def\tmpa{\empty} 61 | \def\tmpb{#1} 62 | \ifx\tmpa\tmpb 63 | % no title, assume 0pt height (for content spacing) 64 | \setlength{\posterboxtitleheight}{0pt} 65 | \else 66 | % title 67 | \settowidth{\posterboxtitlewidth}{\bf\large #1} 68 | \settoheight{\posterboxtitleheight}{\bf\large #1} 69 | \addtolength{\posterboxtitlewidth}{2ex} 70 | \addtolength{\posterboxtitleheight}{1.8ex} 71 | 72 | \begin{textblock*}{\posterboxtitlewidth}(\XMargin+#2\TPHorizModule,\YMargin+#3\TPVertModule)% 73 | \begin{tikzpicture} 74 | \filldraw[use as bounding box,draw=\boxfrcolor,fill=\boxfrcolor,rounded corners=.5ex] (0,0) rectangle (\posterboxtitlewidth, \posterboxtitleheight); 75 | \draw[color=\boxbgcolor] (1ex,\posterboxtitleheight - .9ex) node[below right,inner sep=0pt] {\bf\large #1}; 76 | \end{tikzpicture}% 77 | \end{textblock*}% 78 | \fi 79 | 80 | % content 81 | \begin{textblock*}{#4\TPHorizModule-4ex}(\XMargin+#2\TPHorizModule+2ex,\YMargin+#3\TPVertModule+\posterboxtitleheight+1.5ex)% 82 | \textblockorigin{\XMargin+#2\TPHorizModule+2ex}{\YMargin+#3\TPVertModule+\posterboxtitleheight+1.5ex}% 83 | #6% 84 | \end{textblock*}% 85 | 86 | % frame and background 87 | \begin{textblock*}{#4\TPHorizModule}(\XMargin+#2\TPHorizModule,\YMargin+#3\TPVertModule)% 88 | \begin{tikzpicture} 89 | \filldraw [draw=\boxfrcolor,fill=\boxbgcolor,rounded corners=.5ex] #7 90 | \end{tikzpicture}% 91 | \end{textblock*}% 92 | } 93 | 94 | \newlength{\boxheight} 95 | \newlength{\boxwidth} 96 | \newcommand{\centerbox}[1]{% 97 | \settoheight{\boxheight}{#1}% 98 | \settowidth{\boxwidth}{#1}% 99 | \raisebox{\boxheight / -2}{#1}% 100 | } 101 | 102 | \begin{document} 103 | 104 | % enable grid mode (over the text) 105 | %\begin{textblock*}{0cm}(\XMargin,\YMargin)\showgrid\end{textblock*} 106 | 107 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 108 | 109 | % title and logo 110 | \newsavebox{\pplogobox} 111 | \newlength{\pplogowidth} 112 | \begin{textblock*}{0cm}(\TPHorizModule + 4ex,\TPVertModule * 175 / 100) 113 | \sbox{\pplogobox}{\includegraphics[height=3\TPVertModule]{logo_pp_crop}}% 114 | \settowidth{\pplogowidth}{\usebox{\pplogobox}}% 115 | \tikz \fill[white] (0,0) circle (\pplogowidth / 2);% 116 | \makebox[-\pplogowidth]{\usebox{\pplogobox}} 117 | \end{textblock*} 118 | 119 | \def\boxbgcolor{red!15} 120 | \def\boxfrcolor{black} 121 | \posterbox{0}{0}{40}{4.5}{% 122 | \centering% 123 | \Huge MULTIOBJECTIVE FUZZY APPROACH\\TO THE VEHICLE ROUTING PROBLEM WITH TIME WINDOWS\\[.5cm]% 124 | \Large Przemysław Wesołek\hspace{2cm}Marek Kubiak\\[.3cm]% 125 | \large Poznan University of Technology, Poznań, Poland% 126 | } 127 | 128 | % central box 129 | \def\boxbgcolor{white} 130 | \def\boxfrcolor{red!50} 131 | \posterbox[Main results]{9}{15}{22}{22}{\input{main}} 132 | 133 | % other boxes 134 | \def\boxbgcolor{white} 135 | \def\boxfrcolor{blue!50} 136 | 137 | % motivation box 138 | \posterbox[Motivation]{16}{6}{8}{8.5}{\input{motivation}} 139 | 140 | % FVRPTW box 141 | \posterfancybox[Fuzzy VRPTW]{0}{6}{15.5}{31}{\input{fvrptw}}{% 142 | (0,0) -- (0pt,31\TPVertModule) -- (15.5\TPHorizModule,31\TPVertModule) -- (15.5\TPHorizModule,22.5\TPVertModule) -- (8.5\TPHorizModule,22.5\TPVertModule) -- (8.5\TPHorizModule,0pt) -- cycle; 143 | } 144 | 145 | % PMA box 146 | \posterfancybox[Pareto Memetic Algorithm]{24.5}{6}{15.5}{31}{\input{pma}}{% 147 | (7\TPHorizModule,0pt) -- (7\TPHorizModule,22.5\TPVertModule) -- (0pt,22.5\TPVertModule) -- (0pt,31\TPVertModule) -- (15.5\TPHorizModule,31\TPVertModule) -- (15.5\TPHorizModule,0pt) -- cycle; 148 | } 149 | 150 | % additional conclusions box 151 | \posterbox[Additional conclusions]{0}{37.5}{40}{10}{\input{addconclusions}} 152 | 153 | % enable grid mode (under the text) 154 | %\begin{textblock*}{0cm}(\XMargin,\YMargin)\showgrid\end{textblock*} 155 | 156 | % background last 157 | \begin{textblock*}{\XMargin + 40\TPHorizModule + \XMargin}(0pt,0pt)% 158 | \begin{tikzpicture} 159 | \fill[yellow!10] (0,0) rectangle (\XMargin + 40\TPHorizModule + \XMargin, \YMargin + 48\TPVertModule + \YMargin); 160 | \draw[thin] (0,0) rectangle +(\XMargin + 40\TPHorizModule + \XMargin, \YMargin + 48\TPVertModule + \YMargin); 161 | \end{tikzpicture} 162 | \end{textblock*} 163 | 164 | \end{document} 165 | -------------------------------------------------------------------------------- /templates/dcs/csthesis.cls: -------------------------------------------------------------------------------- 1 | % 2 | % $Id: csthesis.cls,v 1.19 2008/02/07 09:39:07 sobaniec Exp $ 3 | % 4 | 5 | \NeedsTeXFormat{LaTeX2e} 6 | \ProvidesClass{csthesis}[2005/06/29 v1.1 CS Thesis class] 7 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} 8 | \ProcessOptions 9 | \LoadClass{book} 10 | 11 | 12 | \RequirePackage{geometry} 13 | \RequirePackage[outermarks,pagestyles,clearempty,% 14 | psfloats,rigidchapters,newlinetospace]{titlesec} 15 | \RequirePackage{titletoc} 16 | \RequirePackage[theorems]{dcslib} 17 | \RequirePackage{dcsalg} 18 | \RequirePackage[nottoc,notlot,notlof]{tocbibind} 19 | \RequirePackage{setspace} 20 | \RequirePackage{pifont} 21 | \RequirePackage{natbib} 22 | 23 | \DeclareOption{noimplicit}{ 24 | \PassOptionsToPackage{unicode=true,implicit=false}{hyperref} 25 | } 26 | \ProcessOptions\relax 27 | \RequirePackage[unicode=true]{hyperref} 28 | 29 | 30 | % line skip 31 | \setstretch{1.1} 32 | 33 | 34 | % front/back matters 35 | \renewcommand\frontmatter{% 36 | \cleardoublepage% 37 | \@mainmatterfalse% 38 | \pagenumbering{arabic}} 39 | \renewcommand\mainmatter{% 40 | \cleardoublepage 41 | \@mainmattertrue} 42 | 43 | 44 | % colors 45 | \definecolor{seccolor}{rgb}{0.6,0.6,0.6} 46 | \definecolor{gray}{rgb}{0.5,0.5,0.5} 47 | \definecolor{midgray}{rgb}{0.4,0.4,0.4} 48 | 49 | 50 | % fonts 51 | \newcommand{\secfont}{\fontfamily{pag}\selectfont} 52 | % tt font 53 | \renewcommand{\ttdefault}{lmtt} 54 | \lstset{basewidth=0.5em} 55 | 56 | 57 | \renewcommand{\and}{\par} 58 | \renewcommand{\maketitle}{% 59 | \begin{titlepage} 60 | \secfont 61 | \setlength{\parindent}{0pt} 62 | \null\vfill 63 | \hfill\begin{minipage}{\textwidth} 64 | \begin{center} 65 | {\fontsize{18}{20}\selectfont\@title\par} 66 | \fontsize{12}{14}\selectfont 67 | \vspace{5mm} 68 | {\@author}\par 69 | \vspace{5mm} 70 | {\fontsize{10}{12}\selectfont \@date} 71 | \end{center} 72 | \end{minipage}\hspace{1cm}\hfill\null 73 | \vfill\null 74 | \end{titlepage} 75 | \clearpage 76 | } 77 | 78 | 79 | % hyperref 80 | \hypersetup{pdfpagemode=UseNone,colorlinks,breaklinks, 81 | bookmarksopen,bookmarksnumbered, 82 | bookmarksopenlevel=1, 83 | urlcolor=black,linkcolor=black,citecolor=black, 84 | plainpages=false,hypertexnames=false} 85 | 86 | 87 | % page layout 88 | \newlength{\headindent} 89 | \setlength{\headindent}{2.5cm} 90 | 91 | \geometry{a4paper,tmargin=3cm,bmargin=2.8cm,lmargin=4.5cm,rmargin=2.5cm, 92 | headsep=35pt,footskip=1.5cm,bindingoffset=0.5cm, 93 | reversemarginpar,marginparwidth=2.5cm,marginparsep=0.5cm, 94 | asymmetric} 95 | 96 | % oneside 97 | \DeclareOption{oneside}{ 98 | \geometry{twoside=false,lmargin=5cm,rmargin=2.5cm,bindingoffset=0cm} 99 | } 100 | 101 | 102 | % dcsalg 103 | \dcsalgset{boxed,number,width=0.95\textwidth,font=\small} 104 | 105 | 106 | % heading indent 107 | \widenhead{\headindent}{0pt} 108 | 109 | 110 | % titlesec 111 | \titleformat{name=\chapter}[block]{\secfont\Huge\filleft}{}{0em}% 112 | {\parbox{0.9\textwidth}% 113 | {\raggedleft\fontfamily{phv}\fontsize{65}{50}\selectfont% 114 | \textcolor{seccolor}{\thechapter}}\vspace{0.5ex}\\} 115 | \titleformat{name=\chapter,numberless}[block]{\secfont\Huge\filleft}{}{0em}{} 116 | \titlespacing*{\chapter}{-\headindent}{0.5cm}{7cm} 117 | \titleformat{\section}{\secfont\LARGE}{\thesection}{1em}{}[\titleline{\titlerule}] 118 | \titlespacing*{\section}{-\headindent}{3.5ex plus 1ex minus 0.2ex}{4ex plus 0.2ex} 119 | 120 | \titleformat{\subsection}{\secfont\Large}{\thesubsection}{1em}{} 121 | \titlespacing*{\subsection}{0pt}{3.25ex plus 1ex minus 0.2ex}{1.5ex plus 0.2ex} 122 | 123 | \titleformat{\subsubsection}{\secfont\large}{\thesubsubsection}{1em}{} 124 | 125 | \titleformat{\paragraph}[runin]{\scshape}{}{0em}{} 126 | \titlespacing{\paragraph}{0pt}{2.5ex plus 0.6ex minus 0.2ex}{1em} 127 | \titleformat{\subparagraph}[runin]{\em}{}{0em}{} 128 | \titlespacing{\subparagraph}{0pt}{2.5ex plus 0.8ex minus 0.15ex}{1em} 129 | 130 | 131 | % toc 132 | \titlecontents{chapter}[1.5em]{\addvspace{1.8ex}\secfont\bfseries}% 133 | {\contentslabel{1.5em}}{\hspace*{-1.5em}}% 134 | {~\hfill\contentspage}[\addvspace{0.3ex}] 135 | 136 | 137 | % page styles 138 | \renewpagestyle{plain}{ 139 | \sethead{}{}{} 140 | \setfoot{}{}{} 141 | } 142 | \renewpagestyle{empty}{ 143 | \sethead{}{}{} 144 | \setfoot{}{}{} 145 | } 146 | \newcommand{\setdefmainpagestyle}{ 147 | \sethead[\large\usepage][]% 148 | [\footnotesize\itshape 149 | \if@mainmatter 150 | \ifthenelse{\value{chapter}>0}{\thechapter~~}{} 151 | \fi 152 | \chaptertitle]% 153 | {\footnotesize\itshape 154 | \if@mainmatter 155 | \ifthesection{\thesection~~\sectiontitle}% 156 | {\ifthenelse{\value{chapter}>0}{\thechapter~~}{}\chaptertitle} 157 | \else 158 | \chaptertitle 159 | \fi 160 | }{}{\large\usepage} 161 | \setfoot{}{}{} 162 | \setfloathead{}{}{}{\setheadrule{0pt}}[p] 163 | } 164 | \newpagestyle{main}{\setdefmainpagestyle} 165 | 166 | \newcommand{\workinginfo}{info} 167 | \DeclareOption{working}{ 168 | \renewpagestyle{plain}{ 169 | \setfoot[\workinginfo][][]{}{}{\workinginfo} 170 | } 171 | \renewpagestyle{main}{ 172 | \setdefmainpagestyle 173 | \setfoot[\workinginfo][][]{}{}{\workinginfo} 174 | } 175 | } 176 | \AtBeginDocument{\pagestyle{main}} 177 | 178 | 179 | % extra commands 180 | 181 | \newcommand{\OP}[2]{\langle #1, #2 \rangle} 182 | % write identifier 183 | \newcommand{\WID}{wI\!D} 184 | % write-sets 185 | \newcommand{\WS}{W\!S} 186 | \newcommand{\WSx}{\widehat{\WS}} 187 | \newcommand{\WSO}{W\!S_{o}} 188 | \newcommand{\WSC}{W\!S_{c}} 189 | \newcommand{\MSG}[1]{\left\langle #1 \right\rangle} 190 | % table font 191 | \newcommand{\TF}{\sffamily\small} 192 | \newcommand{\TFS}{\sffamily\footnotesize} 193 | 194 | % marginpar 195 | \newcommand{\mpar}[1]{\marginpar{\raggedleft\footnotesize#1}} 196 | \newcommand{\mparnote}[1]{\mpar{\itshape\textcolor{blue}{#1}}} 197 | \newcommand{\mcomm}[1]{\marginpar{\raggedright\itshape\footnotesize#1}} 198 | \newcommand{\marbox}[1]{\colorbox{gray}{\textcolor{white}{% 199 | \textsf{\footnotesize\bfseries #1}}}} 200 | \newcommand{\defmarker}[1]{% 201 | \marginpar{\raggedleft\parbox{1.5cm}{\centering\marbox{#1}}}} 202 | \newcommand{\DEF}{\defmarker{DEF}} 203 | \newcommand{\LEM}{\defmarker{LEM}} 204 | \newcommand{\THM}{\defmarker{THM}} 205 | \newcommand{\EXM}{\marginpar{\raggedleft\parbox{1.5cm}{% 206 | \centering\textcolor{midgray}{\framebox{\textsf{\footnotesize\bfseries EXM}}}}}} 207 | 208 | 209 | % math spacing 210 | \setlength{\arraycolsep}{1.4\p@} 211 | \setlength{\tabcolsep}{5\p@} 212 | \renewcommand{\mod}{\ensuremath{\:\%\:}} 213 | 214 | 215 | % dings 216 | \newcommand{\DG}{\ding{52}} 217 | 218 | 219 | % floats 220 | \setcounter{topnumber}{1} 221 | 222 | 223 | \ProcessOptions\relax 224 | -------------------------------------------------------------------------------- /howto/beamer/clock/clock.sty: -------------------------------------------------------------------------------- 1 | \ProvidesPackage{clock} [2007/09/05 v1.1 clock accessory] 2 | 3 | % 4 | % Luis Randez randez@unizar.es 5 | % Juan I. Montijano monti@unizar.es 6 | % 7 | % This program can be redistributed and/or modified under the terms 8 | % of the GNU Public License, version 2. 9 | 10 | 11 | \RequirePackage{hyperref} 12 | \RequirePackage{xcolor}[2004/05/09] 13 | 14 | \ifdefined\clock@fontsize\else\newdimen\clock@fontsize\clock@fontsize=7pt\fi 15 | \ifdefined\clock@height\else\newdimen\clock@height\clock@height=0.23cm\fi 16 | \ifdefined\clock@width\else\newdimen\clock@width\clock@width=2.35cm\fi 17 | \ifdefined\clock@bg\else\newcommand{\clock@bg}{0.1 0.11 0.83}\fi 18 | \ifdefined\clock@bdcolor\else\newcommand{\clock@bdcolor}{0.1 0.11 0.83}\fi 19 | \ifdefined\clock@fontcolor\else\newcommand{\clock@fontcolor}{1 1 1}\fi 20 | \ifdefined\clock@font\else\newcommand{\clock@font}{"font.HelvB"}\fi 21 | 22 | \ifdefined\clock@togglecolor\else\newcommand{\clock@togglecolor}{1 1 1}\fi 23 | \ifdefined\clock@resetcolor\else\newcommand{\clock@resetcolor}{1 0 0}\fi 24 | 25 | \def\clock@temp#1{\def\clock@tempa##1,##2,##3\@nil{##1 ##2 ##3}% 26 | \extractcolorspec{#1}\clock@tempb 27 | \expandafter\convertcolorspec\clock@tempb{rgb}\clock@tempb 28 | \edef\clock@tempa{\expandafter\clock@tempa\clock@tempb\@nil}} 29 | 30 | \def\clockbg#1{\clock@temp{#1}\let\clock@bg=\clock@tempa} 31 | \def\clockbdcolor#1{\clock@temp{#1}\let\clock@bdcolor=\clock@tempa} 32 | \def\clockfontcolor#1{\clock@temp{#1}\let\clock@fontcolor=\clock@tempa} 33 | 34 | \def\clockfontsize#1{\clock@fontsize=#1} 35 | \def\clockheight#1{\clock@height=#1} 36 | \def\clockwidth#1{\clock@width=#1} 37 | \def\clockfont#1{\renewcommand{\clock@font}{#1}} 38 | 39 | 40 | \def\clocktogglecolor#1{\clock@temp{#1}\let\clock@togglecolor=\clock@tempa} 41 | \def\clockresetcolor#1{\clock@temp{#1}\let\clock@resetcolor=\clock@tempa} 42 | % 43 | % 44 | % 45 | \def\inserttogglebutton#1{\PushButton[name=button1, bordercolor=\clock@togglecolor, height=0.18cm, onclick={\auxiliar;}]{#1}} 46 | 47 | \def\insertresetbutton#1{\PushButton[name=button2, bordercolor=\clock@resetcolor, height=0.18cm, onclick={\resetclock;}]{{#1}}} 48 | 49 | \def\insertclock{% 50 | \begin{Form} 51 | {\mbox{\TextField[name=resultado1, width=\clock@width, height=\clock@height, align = 1, color =\clock@fontcolor, charsize = \clock@fontsize, 52 | bordercolor= \clock@bdcolor, backgroundcolor=\clock@bg,value={}]{}}} 53 | \end{Form} 54 | } 55 | % 56 | \def\insertcrono{% 57 | \begin{Form} 58 | \mbox{\TextField[name=crono, width=\clock@width, height=\clock@height, align = 1, color =\clock@fontcolor, charsize = \clock@fontsize, 59 | bordercolor= \clock@bdcolor, backgroundcolor=\clock@bg,value={}]{}} 60 | \end{Form} 61 | } 62 | % 63 | \def\inserttime{% 64 | \begin{Form} 65 | \mbox{\TextField[name=time, width=\clock@width, height=\clock@height, align = 1, color =\clock@fontcolor, charsize = \clock@fontsize, 66 | bordercolor= \clock@bdcolor, backgroundcolor=\clock@bg,value={}]{}} 67 | \end{Form} 68 | } 69 | % 70 | \def\insertcurrentdate{% 71 | \begin{Form} 72 | \mbox{\TextField[name=currentdate, width=\clock@width, height=\clock@height, align = 1, color =\clock@fontcolor, charsize = \clock@fontsize, 73 | bordercolor= \clock@bdcolor, backgroundcolor=\clock@bg,value={}]{}} 74 | \end{Form} 75 | } 76 | % 77 | 78 | \def\initclock{ 79 | \vbox to 0pt{ 80 | \begin{Form} 81 | $$ 82 | \TextField[format=\startclock{\clock@font},name=resultado2, hidden=true, width=0truecm, height=0truecm, bordercolor= 1 1 1, backgroundcolor= 1 1 1,value={}]{} 83 | $$ 84 | $$ 85 | \TextField[name=crono,hidden=true, width=0truecm, height=0truecm, bordercolor= 1 1 1, backgroundcolor= 1 1 1,value={}]{} 86 | $$ 87 | $$ 88 | \TextField[name=time, hidden=true, width=0truecm, height=0truecm, bordercolor= 1 1 1, backgroundcolor= 1 1 1,value={}]{} 89 | $$ 90 | $$ 91 | \TextField[name=currentdate, hidden=true, width=0truecm, height=0truecm, bordercolor= 1 1 1, backgroundcolor= 1 1 1,value={}]{} 92 | $$ 93 | \end{Form}% 94 | \TextField[name=resultado1, hidden=true, width=0pt, height=0pt,charsize=0pt]{} 95 | \TextField[name=crono, hidden=true, width=0pt, height=0pt,charsize=0pt]{} 96 | \TextField[name=time, hidden=true, width=0pt, height=0pt,charsize=0pt]{} 97 | }\vskip -\baselineskip% 98 | } 99 | % 100 | 101 | 102 | % 103 | \def\resetclock{% 104 | fecha1 = rresett(); 105 | }% 106 | % 107 | % 108 | % 109 | \def\auxiliar{% 110 | var iop= -iop; 111 | }% 112 | % 113 | % 114 | % 115 | \def\startclock#1{% 116 | % 117 | global.iop; 118 | global.fuente; 119 | var iop=1; 120 | var fuente=eval(#1); 121 | % var fuente=eval("font.Helv"); 122 | % var fuente=eval("font.HelvB"); 123 | % 124 | fecha1 = rresett(); 125 | fecha1 = reloj(); 126 | %this.getField("resultado1").value = fecha1; 127 | %this.getField("crono").value = fecha3; 128 | %this.getField("time").value = fecha4; 129 | run = app.setInterval("reloj();",1000); 130 | % 131 | % 132 | % 133 | function rresett() 134 | { 135 | var fObj0 = new Date(); 136 | global.horas0 = fObj0.getHours(); 137 | global.minutos0 = fObj0.getMinutes(); 138 | global.segundos0 = fObj0.getSeconds(); 139 | } 140 | % 141 | % 142 | % 143 | function reloj() 144 | { 145 | % 146 | var fObj = new Date(); 147 | var dia = formateo(fObj.getDate()); 148 | var mes = formateo(fObj.getMonth()+1); 149 | var year = fObj.getFullYear(); 150 | var horas = fObj.getHours(); horas1 = horas; 151 | var minutos = fObj.getMinutes() ; minutos1 = minutos; 152 | var segundos = fObj.getSeconds(); segundos1= segundos; 153 | % 154 | horas = formateo(horas); 155 | minutos = formateo(minutos); 156 | segundos = formateo(segundos); 157 | % 158 | resta = (eval(horas1-global.horas0)*60+eval(minutos1-global.minutos0))*60+eval(segundos1-global.segundos0); 159 | h = Math.floor(resta/3600); htexto=formateo(h); 160 | m = Math.floor((resta-3600*h)/60); mtexto=formateo(m); 161 | s = resta-3600*h-60*m; stexto=formateo(s); 162 | % 163 | if (iop == 1) 164 | {fecha1= dia+"/"+mes+"/"+year+ " "+horas + ":"+minutos+":"+segundos;} 165 | else 166 | {fecha1=dia+"/"+mes+"/"+year+ " "+htexto+":"+mtexto+":"+stexto; } 167 | this.getField("resultado1").value=fecha1; 168 | this.getField("resultado1").textFont=fuente; 169 | fecha3=htexto+":"+mtexto+":"+stexto; 170 | this.getField("crono").value=fecha3; 171 | this.getField("crono").textFont=fuente; 172 | fecha4=horas + ":"+minutos+":"+segundos; 173 | this.getField("time").value=fecha4; 174 | this.getField("time").textFont=fuente; 175 | fecha5=dia+"/"+mes+"/"+year; 176 | this.getField("currentdate").value=fecha5; 177 | this.getField("currentdate").textFont=fuente; 178 | } 179 | % 180 | % 181 | function formateo(uin) 182 | { 183 | if (uin <= 9) uin = "0" + uin; 184 | return uin; 185 | } 186 | 187 | } 188 | 189 | % 190 | \endinput 191 | 192 | --------------------------------------------------------------------------------