diff --git a/documents/bachelor-proposal-latex-writing-recognition/Makefile b/documents/bachelor-proposal-latex-writing-recognition/Makefile new file mode 100644 index 0000000..e37ca2d --- /dev/null +++ b/documents/bachelor-proposal-latex-writing-recognition/Makefile @@ -0,0 +1,10 @@ +SOURCE = bachelor-proposal-latex-writing-recognition +make: + pdflatex $(SOURCE).tex -output-format=pdf + bibtex $(SOURCE) + pdflatex $(SOURCE).tex -output-format=pdf # Referenzen einbinden + pdflatex $(SOURCE).tex -output-format=pdf # Referenzen einbinden + make clean + +clean: + rm -rf $(TARGET) *.class *.html *.log *.aux *.out *.bcf *.bbl *.blg diff --git a/documents/bachelor-proposal-latex-writing-recognition/bachelor-proposal-latex-writing-recognition.tex b/documents/bachelor-proposal-latex-writing-recognition/bachelor-proposal-latex-writing-recognition.tex new file mode 100644 index 0000000..bdb0896 --- /dev/null +++ b/documents/bachelor-proposal-latex-writing-recognition/bachelor-proposal-latex-writing-recognition.tex @@ -0,0 +1,235 @@ +\documentclass[a4paper]{scrartcl} +\usepackage{amssymb, amsmath} % needed for math +\usepackage[utf8]{inputenc} % this is needed for umlauts +\usepackage[english]{babel} % this is needed for umlauts +\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf +\usepackage[margin=2.5cm]{geometry} %layout +\usepackage{hyperref} % links im text +\usepackage{color} +\usepackage{framed} +\usepackage{enumerate} % for advanced numbering of lists +\usepackage{csquotes} +\usepackage{ifxetex,ifluatex} +\usepackage{etoolbox} +\usepackage[svgnames]{xcolor} +\usepackage{tikz} +\usepackage{framed} +\usepackage{parskip} +\usepackage{cite} +\usepackage{fancyref} +\usepackage{mystyle} +\clubpenalty = 10000 % Schusterjungen verhindern +\widowpenalty = 10000 % Hurenkinder verhindern + +\hypersetup{ + pdfauthor = {Martin Thoma}, + pdfkeywords = {Bachelor proposal, LaTeX, handwriting recognition}, + pdftitle = {Proposal for a Bachelor of Science Thesis:\\Interactive on-line handwriting recognition of mathematical formulae} +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{document} + \title{Proposal for a Bachelor of Science Thesis:\\Interactive on-line handwriting recognition of mathematical formulae} + \author{Martin Thoma} + \maketitle +\section{The problem backgound} + There are people who don't know how to write even + simple mathematical formulae with \LaTeX{} like + \[\pi/\alpha=\sum_{n=-\infty}^\infty \frac{\sin^2 (c+n)\alpha}{(c+n)^2}=\int_{-\infty}^\infty \frac{\sin^2 (c+n)\alpha}{(c+n)^2}\, \text{d}n\] + or who need much time to do so. Currently, there are several online + services, programms and apps that help to write mathematical + formulae, but all programms I know have serious disadvantages: + \begin{itemize} + \item \href{http://detexify.kirelabs.org/classify.html}{detexify.kirelabs.org} + recognizes \textbf{only symbols}, + \item the formel editor of LibreOffice Writer 3.6 as showen + in \Fref{fig:libre-office-3.6} offers some + guidiance by grouping common operations while showing + a WYSIWYG editor, but it has \textbf{no handwriting recognition}. + Another drawback is the fact that it is \textbf{not available + as an online service}, so you have to install LibreOffice + which might not be possible on all devices. + \item The \enquote{Daum Equation Editor} (see \Fref{fig:daum-editor}) is available online + and offers guidiance through the creation of equations, + but does not offer handwriting recognition. Although + it might be OpenSource, the \textbf{source code is difficult to + find}. This means if you want to improve the recognition, + it is not possible. It also makes use of Adobe Flash + which is not available on many smartphones and tablet + computers. + \item Maple seems to offer handwritten symbol recognition (\href{http://www.maplesoft.com/products/maple/features/handwritten.aspx}{source}), + but on the one hand I was not able to test that, because + it is \textbf{not available for free}. On the other hand you + have to install additional software, it seems not to be + available for tablet computers and it does only recognize + single symbols. + \item Wolfram Mathematica seems to be able to do complete + formula recognition at least for simple formulae (\href{http://reference.wolfram.com/mathematica/tutorial/HandwrittenMathRecognition.html}{source}) + by using Microsofts \href{http://windows.microsoft.com/en-ph/windows7/use-math-input-panel-to-write-and-correct-math-equations}{Math Input Panel}, + but this is neither OpenSource nor available as an + online service. Additionally it is not + available for Linux systems, so I can't test it. + \end{itemize} + + A more comprehensive list can be found at \href{https://en.wikipedia.org/wiki/Formula_editor}{https://en.wikipedia.org/wiki/Formula\_editor}. + A problem of some of the projects presented there is that they + require the client to execute Java Applets which is a security + risk. + + \begin{figure}[h] + \centering + \includegraphics*[width=5cm, keepaspectratio]{figures/libreoffice-writer.png} + \caption{LibreOffice Writer 3.6 - Formel Editor} + \label{fig:libre-office-3.6} + \end{figure} + + \begin{figure}[h] + \centering + \includegraphics*[width=15cm, keepaspectratio]{figures/daum-editor.png} + \caption{Daum Equation editor} + \label{fig:daum-editor} + \end{figure} +\break +\section{The problem statement} + What I would like to have is an interactive on-line handwriting + recognition service, that is available as a web service which makes + use of touchscreens. Additionally, it should be for free and + OpenSource, the source code should be easy to find and documented. + This means: + \begin{itemize} + \item \textbf{Service}: The program can be accessed over the web, so + that the user does only have to have a modern browser. + As a consequence, the software could be used with any + device that has a touch screen. + \item \textbf{On-line handwriting recognition}: The service + starts recognizing while the user enters a formula. + \item \textbf{Interactive}: The service offers symbols and constructs + to the user before the user starts typing. These suggestions + might chage depending on what the user has typed before. + \item \textbf{OpenSource}: Any license in this list: \href{http://opensource.org/licenses}{http://opensource.org/licenses} + \item \textbf{Easy to find}: Ideally, the project should have + an own domain that contains the source code, the service + and documentation. But it might be enough to provide + an email address to a developer within the top of + of the source code of the delivered HTML document. + \end{itemize} + +\section{Significance} +For me as a Linux user, there no software that I can test and which +offers on-line, interactive math handwriting recognition. But the +need of such a software is there. + +But there are more reasons why this bachelor's thesis matters: +Projects like \LaTeX{}, Linux, Apache or FireFox have shown that +OpenSoure software can enrich the develpment in specific areas. The +\enquote{Browser Wars} might be the most famous result of an active +OpenSource community. Internet Explorer 6 had +a market share of over 80\% in 2003. Prequels of Firefox and the Mozilla +foundation already existed, but Firefox 1.0 was released not until +November 2004. After that, Firefox and other open browsers added many +features that Internet Explorer had to compete with, like tabbed browsing, +HTML4 standard conformance, support of the \texttt{} tag and +speed of HTML rendering and JavaScript execution.\footnote{\href{http://www.evolutionoftheweb.com/}{www.evolutionoftheweb.com} offers a graphical overview. Although supporting standards like HTML4 or CSS~2 is not done with one version, but rather an incremental process.} Some of these +questions are interesting for science such as many problems related +to layouts and just-in-time compilation (JIT). With OpenSource software +that makes it easy to find its source and offers good documentation, +researchers can simply try their ideas without being blocked by +having to try to access the source code. + +Additionally, such a project might give researchers more time to +concentrate on the tasks they really want to do rather than spending +hours by learning \LaTeX{}. + +\section{Time schedule} +\begin{itemize} + \item[70h] Literature research about on-line handwriting recognition + techniques and gamification. + \item[5h] Defining browsers and devices that should get supported + and required client side software like HTML5, CSS 3 + and ECMAScript (better known as JavaScript). Also, + required input methods like touchscreens and stylus + should be mentioned. + \item[20h] Writing use cases. This is includes writing example + formula that the user shoud type and the system should + be able to recognize; finding people with different + knowledge of \LaTeX{} and from different fields who + want to participate in user tests. + \item[60h] Implementing the core of the application: Handwriting + recognition of digits and symbols by using only + HTML, CSS and on the client side. This includes implementing + a way for the user to enter new symbols and to correct the + symbol that was suggested by the recognition system. + \item[20h] Introduce testers that already know \LaTeX{} to the + current system. At this point, the system does only do + symbol recognition. The testers should train it, + insert symbols like $a-z, A-Z, 0-9, \alpha-\omega, A-\Omega, \cdot, \circ, \dots$ + \item[10h] Get feedback by the users. This feedback will not be included + in the thesis, but the improvements will get documented. + \item[60h] Finding structures and ways how to enter them. Examples + of structures that can be nested are sums: + \begin{verbatim}\sum_{}^{} \end{verbatim} + Implement the recognition of those strucutres. + \item[30h] Observe \enquote{fresh} testers while they try to use + the system. + \item[70h] Improving the software to fix problems that were found + with user tests + \item[50h] Fix bugs, improve code quality and readability as well + as documentation. + \item[45h] Usability testing: Try Hallway testing. The results + of these tests get documented and will be part of the + bachelor's thesis. If possible, I would like + to let the testers use their own devices. + \item[10h] Mentioning open questions and ideas how they could be + analyzed with the service that was created. +\end{itemize} + +\section{Outline} +I have described in which steps I would like to write the software, +but almost all points include writing the bachelor's thesis document. +A first draft of the outline could be like this: + +\begin{enumerate} + \item Introduction + \item Definitions + \begin{enumerate} + \item Hardware: What is available and what is the distribution? + \item Software: What is available and what is the distribution? + \item Support of standards like HTML, CSS, ECMA-Script, Flash, Cookies, ... + \item Choice of hardware, software and standards that should get supported as well as the choice of Libraries and the required server-side software + \item Application to the domain of math recognition + \end{enumerate} + \item On-line handwriting techniques + \begin{enumerate} + \item Description of techniques in general + \item Application to the domain of math recognition + \end{enumerate} + \item Gamification techniques + \begin{enumerate} + \item Description of techniques in general + \item Application to the domain of math recognition in the web + \end{enumerate} + \item Software Project + \begin{enumerate} + \item Structure of the code + \item Availability of documentation + \item Availability of the service + \end{enumerate} + \item Summary + \begin{enumerate} + \item Future Work + \end{enumerate} +\end{enumerate} +\break + +\renewcommand\refname{Related Literature} +\nocite{*} +\bibliographystyle{itmalpha} +\bibliography{literatur} + +This literature list is only a list that seems to make sense to me +by now. As I proceed I might find more usefull sources for the different +topics. So I might add, but also remove elements from this list. +Especially for gamification I might read documents from +\href{http://gamification-research.org/}{gamification-research.org}. +\end{document} diff --git a/documents/bachelor-proposal-latex-writing-recognition/figures/daum-editor.png b/documents/bachelor-proposal-latex-writing-recognition/figures/daum-editor.png new file mode 100644 index 0000000..90499d1 Binary files /dev/null and b/documents/bachelor-proposal-latex-writing-recognition/figures/daum-editor.png differ diff --git a/documents/bachelor-proposal-latex-writing-recognition/figures/libreoffice-writer.png b/documents/bachelor-proposal-latex-writing-recognition/figures/libreoffice-writer.png new file mode 100644 index 0000000..0a42d0f Binary files /dev/null and b/documents/bachelor-proposal-latex-writing-recognition/figures/libreoffice-writer.png differ diff --git a/documents/bachelor-proposal-latex-writing-recognition/itmalpha.bst b/documents/bachelor-proposal-latex-writing-recognition/itmalpha.bst new file mode 100644 index 0000000..d76584f --- /dev/null +++ b/documents/bachelor-proposal-latex-writing-recognition/itmalpha.bst @@ -0,0 +1,1325 @@ +% BibTeX style "itmalpha" derived from standard bibliography style `galpha' +% $Id: itmalpha.bst,v 1.2 2005/01/24 13:12:54 bless Exp $ +% This style differs in the following: +% Labels are formatted to have 4 characters for names at least: +% One author: the first four letters of the last name +% Two authors: the first two letters of their last name +% Three authors: the first two letters of the first author´s last name and +% the first letter of the following authors´ last name +% Four authors: the first letter of each last name +% More than four: the first letter of the last name of the first three and +% a plus sign +% "Seiten" was replaced by "S." +% "Ausgabe" was replaced by "Auflage" +% @Techreport now also uses an editor entry + % version 0.99a for BibTeX versions 0.99a or later, LaTeX version 2.09. + % Copyright (C) 1985, all rights reserved. + % Copying of this file is authorized only if either + % (1) you make absolutely no changes to your copy, including name, or + % (2) if you do make changes, you name it something other than + % btxbst.doc, plain.bst, unsrt.bst, alpha.bst, and abbrv.bst. + % This restriction helps ensure that all standard styles are identical. + % The file btxbst.doc has the documentation for this style. + +ENTRY + { address + author + booktitle + chapter + edition + editor + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + volume + year + } + {} + { label extra.label sort.label } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} + +STRINGS { s t } + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output.nonnull.nocomma} +{ 's := + output.state mid.sentence = + { " " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.nocomma} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull.nocomma + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem[" write$ + label write$ + "]{" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.sentence.checka} +{ empty$ + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {new.sentence.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.sentence + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "}" * } + if$ +} + +FUNCTION {boldface} +{ duplicate$ empty$ + { pop$ "" } + { "{\bf " swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { namesleft #2 > + { "," * } + 'skip$ + if$ + t "others" = + { " und andere." * } + { " und " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names + editor num.names$ #1 > + { " (Hrsg.)" * } + { " (Hrsg.)" * } + if$ + } + if$ +} + +FUNCTION {format.title} +{ title empty$ + { "" } + { title } + if$ +} + +FUNCTION {n.dashify} +{ 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { month " " * year * } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title emphasize +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { "Band" volume tie.or.space.connect + series empty$ + 'skip$ + { " der " * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { "Nr." number tie.or.space.connect + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " der " * series * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { edition ".~Auf\penalty10000\discretionary{-}{}{\kern.03em}\allowhyphens lage" * } % changed by bless + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "S.~" pages n.dashify * } % changed by bless + { "S.~" pages * } % changed by bless + if$ + } + if$ +} + +FUNCTION {format.vol.num} +{ number empty$ + { volume empty$ + { "" } + { "Band" volume tie.or.space.connect } + if$ + } + { volume field.or.null + "(" number * ")" * * + volume empty$ + { "there's a number but no volume in " cite$ * warning$ } + 'skip$ + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { "Kapitel" } + { type "l" change.case$ } + if$ + chapter tie.or.space.connect + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { editor empty$ + { "In " booktitle emphasize * } + { "In " format.editors * ", " * booktitle emphasize * } + if$ + } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type % "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { "{T}echnischer {B}ericht" } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "In {\em " journal * "\/}" * } + if$ + } + { "In " key * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ editor #1 "{vv~}{ll}" format.name$ + editor num.names$ duplicate$ + #2 > + { pop$ " und andere" * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " und andere" * } + { " und " * editor #2 "{vv~}{ll}" format.name$ * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "In " + } + { "Band" volume tie.or.space.connect + " der " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { "{\em " * series * "\/}" * } + if$ + } + { key * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "In {\em " booktitle * "\/}" * } + if$ + } + { "In " key * } + if$ + } + { "In " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { journal emphasize "journal" output.check + format.vol.num output + format.date "year" output.check + format.pages output + new.block + note output + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + fin.entry +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + new.block + note output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + fin.entry +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + new.block + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + new.block + note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.chapter.pages "chapter and pages" output.check + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + new.block + note output + } + { format.chapter.pages "chapter and pages" output.check + new.block + format.book.crossref output.nonnull + } + if$ + format.edition output + format.date "year" output.check + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.chapter.pages output + new.sentence + publisher "publisher" output.check + address output + format.edition output + format.date "year" output.check + new.block + note output + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + address empty$ + { organization publisher new.sentence.checkb + organization output + publisher output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + organization output + publisher output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + } + if$ + format.pages output + new.block + note output + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization empty$ + 'skip$ + { organization output.nonnull + address output + } + if$ + } + { format.authors output.nonnull } + if$ + new.block + format.btitle "title" output.check + author empty$ + { organization empty$ + { address new.block.checka + address output + } + 'skip$ + if$ + } + { organization address new.block.checkb + organization output + address output + } + if$ + format.edition output + format.date output + new.block + note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + "Diplomarbeit" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + author empty$ % added by R.Bless + { format.editors output.nonnull } % added by R.Bless + { format.authors "author" output.check } % added by R.Bless + if$ + title howpublished new.block.checkb + format.title output + howpublished new.block.checka + howpublished output + organization output + institution output + format.date output + new.block + note output + fin.entry + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.btitle "title" output.check + new.block + "Dissertation" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization output } + { format.editors output.nonnull } + if$ + new.block + format.btitle "title" output.check + address empty$ + { editor empty$ + { publisher new.sentence.checka } + { organization publisher new.sentence.checkb + organization output + } + if$ + format.bvolume output + format.number.series output + publisher output + format.date "year" output.check + } + { address output.nonnull + format.date "year" output.check + new.sentence + editor empty$ + 'skip$ + { organization output + new.block + } + if$ + format.bvolume output + format.number.series output + publisher output + } + if$ + new.block + note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + editor empty$ % added by R.Bless + { format.authors "author" output.check } % added by R.Bless + { format.editors output.nonnull } % added by R.Bless + if$ + new.block + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + new.block + note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + note "note" output.check + format.date output + fin.entry +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"Januar"} +MACRO {feb} {"Februar"} +MACRO {mar} {"März"} +MACRO {apr} {"April"} +MACRO {may} {"Mai"} +MACRO {jun} {"Juni"} +MACRO {jul} {"Juli"} +MACRO {aug} {"August"} +MACRO {sep} {"September"} +MACRO {oct} {"Oktober"} +MACRO {nov} {"November"} +MACRO {dec} {"Dezember"} + +MACRO {acmcs} {"ACM Computing Surveys"} + +MACRO {acta} {"Acta Informatica"} + +MACRO {cacm} {"Communications of the ACM"} + +MACRO {ibmjrd} {"IBM Journal of Research and Development"} + +MACRO {ibmsj} {"IBM Systems Journal"} + +MACRO {ieeese} {"IEEE Transactions on Software Engineering"} + +MACRO {ieeetc} {"IEEE Transactions on Computers"} + +MACRO {ieeetcad} + {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} + +MACRO {ipl} {"Information Processing Letters"} + +MACRO {jacm} {"Journal of the ACM"} + +MACRO {jcss} {"Journal of Computer and System Sciences"} + +MACRO {scp} {"Science of Computer Programming"} + +MACRO {sicomp} {"SIAM Journal on Computing"} + +MACRO {tocs} {"ACM Trans\-actions on Computer Systems"} + +MACRO {tods} {"ACM Transactions on Database Systems"} + +MACRO {tog} {"ACM Transactions on Graphics"} + +MACRO {toms} {"ACM Transactions on Mathematical Software"} + +MACRO {toois} {"ACM Transactions on Office Information Systems"} + +MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} + +MACRO {tcs} {"Theoretical Computer Science"} + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +INTEGERS { et.al.char.used } + +FUNCTION {initialize.et.al.char.used} +{ #0 'et.al.char.used := +} + +EXECUTE {initialize.et.al.char.used} + +INTEGERS { charsleft } % added by bless + +% the following funtion was modified to produce Labels of width 4 +FUNCTION {format.lab.names} +{ 's := + s num.names$ 'numnames := + #4 'charsleft := + numnames #1 > + { numnames #4 > + { #4 'namesleft := } + { numnames 'namesleft := } + if$ + #1 'nameptr := + "" + { charsleft #0 > } + { charsleft namesleft > + { + nameptr numnames = + { s nameptr "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { "{\etalchar{+}}" * + #1 'et.al.char.used := + charsleft #1 - 'charsleft := + } + { s nameptr "{v{}}{l{}}" format.name$ + text.length$ #2 < + { s nameptr "{ll{}}" format.name$ #2 text.prefix$ *} + { s nameptr "{v{}}{l{}}" format.name$ *} + if$ + charsleft #2 - 'charsleft := + } + if$ + } + { s nameptr "{v{}}{l{}}" format.name$ + text.length$ #2 < + { s nameptr "{ll{}}" format.name$ #2 text.prefix$ *} + { s nameptr "{v{}}{l{}}" format.name$ *} + if$ + charsleft #2 - 'charsleft := + } + if$ + } + { + s nameptr "{l{}}" format.name$ * + charsleft #1 - 'charsleft := + } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ + numnames #4 > + { "{\etalchar{+}}" * + #1 'et.al.char.used := + } + 'skip$ + if$ + } + { s #1 "{v{}}{l{}}" format.name$ + text.length$ #2 < + { s #1 "{ll}" format.name$ #4 text.prefix$ } + { s #1 "{v{}}{ll}" format.name$ #4 text.prefix$ } + if$ + } + if$ +} + +FUNCTION {author.key.label} +{ author empty$ + { key empty$ + { cite$ #1 #4 substring$ } + { key #4 text.prefix$ } + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {author.editor.key.label} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #4 substring$ } + { key #4 text.prefix$ } + if$ + } + { editor format.lab.names } + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {author.key.organization.label} +{ author empty$ + { key empty$ + { organization empty$ + { cite$ #1 #4 substring$ } + { "The " #4 organization chop.word #4 text.prefix$ } + if$ + } + { key #4 text.prefix$ } + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {editor.key.organization.label} +{ editor empty$ + { key empty$ + { organization empty$ + { cite$ #1 #4 substring$ } + { "The " #4 organization chop.word #4 text.prefix$ } + if$ + } + { key #4 text.prefix$ } + if$ + } + { editor format.lab.names } + if$ +} + +FUNCTION {calc.label} +{ type$ "book" = + type$ "inbook" = + type$ "techreport" = + type$ "misc" = + or + or + or + 'author.editor.key.label + { type$ "proceedings" = + 'editor.key.organization.label + { type$ "manual" = + 'author.key.organization.label + 'author.key.label + if$ + } + if$ + } + if$ + duplicate$ + year field.or.null purify$ #-1 #2 substring$ + * + 'label := + year field.or.null purify$ #-1 #4 substring$ + * + sortify 'sort.label := +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { " " * } + 'skip$ + if$ + s nameptr "{vv{ } }{ll{ }}{ ff{ }}{ jj{ }}" format.name$ 't := + nameptr numnames = t "others" = and + { "und andere" * } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.organization.sort} +{ author empty$ + { organization empty$ + { key empty$ + { "to sort, need author, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.organization.sort} +{ editor empty$ + { organization empty$ + { key empty$ + { "to sort, need editor, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ calc.label + sort.label + " " + * + type$ "book" = + type$ "inbook" = + type$ "techreport" = + or + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.organization.sort + { type$ "manual" = + 'author.organization.sort + 'author.sort + if$ + } + if$ + } + if$ + * + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { longest.label last.sort.label next.extra } + +INTEGERS { longest.label.width last.extra.num } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #0 int.to.chr$ 'last.sort.label := + "" 'next.extra := + #0 'longest.label.width := + #0 'last.extra.num := +} + +FUNCTION {forward.pass} +{ last.sort.label sort.label = + { last.extra.num #1 + 'last.extra.num := + last.extra.num int.to.chr$ 'extra.label := + } + { "a" chr.to.int$ 'last.extra.num := + "" 'extra.label := + sort.label 'last.sort.label := + } + if$ +} + +FUNCTION {reverse.pass} +{ next.extra "b" = + { "a" 'extra.label := } + 'skip$ + if$ + label extra.label * 'label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ + extra.label 'next.extra := +} + +EXECUTE {initialize.longest.label} + +ITERATE {forward.pass} + +REVERSE {reverse.pass} + +FUNCTION {begin.bib} +{ et.al.char.used + { "\def\etalchar#1{$^{#1}$}" write$ newline$ } + 'skip$ + if$ + preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} diff --git a/documents/bachelor-proposal-latex-writing-recognition/literatur.bib b/documents/bachelor-proposal-latex-writing-recognition/literatur.bib new file mode 100644 index 0000000..8506551 --- /dev/null +++ b/documents/bachelor-proposal-latex-writing-recognition/literatur.bib @@ -0,0 +1,64 @@ +@inproceedings{conf/icdar/StoffelTR09, + added-at = {2009-10-13T00:00:00.000+0200}, + author = {Stoffel, Andreas and Tapia, Ernesto and Rojas, Raúl}, + biburl = {http://www.bibsonomy.org/bibtex/2e97b8b08492190cf461f7b3dfad48d40/dblp}, + booktitle = {ICDAR}, + crossref = {conf/icdar/2009}, + date = {2009-10-13}, + description = {dblp}, + ee = {http://dx.doi.org/10.1109/ICDAR.2009.122}, + interhash = {2e6bf9ca0cdbadf7d4bbb1c8c84a1a11}, + intrahash = {e97b8b08492190cf461f7b3dfad48d40}, + keywords = {dblp}, + pages = {1211-1215}, + publisher = {IEEE Computer Society}, + timestamp = {2009-10-13T00:00:00.000+0200}, + title = {Recognition of On-Line Handwritten Commutative Diagrams.}, + url = {http://dblp.uni-trier.de/db/conf/icdar/icdar2009.html#StoffelTR09}, + year = 2009 +} + +@proceedings{conf/icdar/2009, + title = {10th International Conference on Document Analysis and Recognition, + ICDAR 2009, Barcelona, Spain, 26-29 July 2009}, + booktitle = {ICDAR}, + publisher = {IEEE Computer Society}, + year = {2009}, + bibsource = {DBLP, http://dblp.uni-trier.de} + } + +@misc{bworld, + author = {Sebastian Deterding}, + title = {{Meaningful Play - Getting "Gamificaiton" Right}\\}, + howpublished = "\url{http://www.slideshare.net/dings/meaningful-play-getting-gamification-right}", + year = {2011}, + note = "[Online; accessed 10-January-2014]" +} + +@BOOK{zichermann, +AUTHOR = {Gabe Zichermann}, +TITLE = {Gamification by Design}, +PUBLISHER = {O'Reilly Media}, +YEAR = {2011}, +Volume = {}, +Series = {}, +Address = {}, +Edition = {}, +Month = {}, +Note = {}, +Key = {} +} + +@BOOK{impedovo, +AUTHOR = {Sebastiano Impedovo}, +TITLE = {Fundamentals in handwriting recognition}, +PUBLISHER = {Springer-Verlag}, +YEAR = {1994}, +Volume = {}, +Series = {}, +Address = {}, +Edition = {}, +Month = {}, +Note = {}, +Key = {} +} diff --git a/documents/bachelor-proposal-latex-writing-recognition/mystyle.sty b/documents/bachelor-proposal-latex-writing-recognition/mystyle.sty new file mode 100644 index 0000000..adbc040 --- /dev/null +++ b/documents/bachelor-proposal-latex-writing-recognition/mystyle.sty @@ -0,0 +1,65 @@ + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% conditional for xetex or luatex +\newif\ifxetexorluatex +\ifxetex + \xetexorluatextrue +\else + \ifluatex + \xetexorluatextrue + \else + \xetexorluatexfalse + \fi +\fi +% +\ifxetexorluatex% + \usepackage{fontspec} + \usepackage{libertine} % or use \setmainfont to choose any font on your system + \newfontfamily\quotefont[Ligatures=TeX]{Linux Libertine O} % selects Libertine as the quote font +\else + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} + \usepackage{libertine} % or any other font package + \newcommand*\quotefont{\fontfamily{LinuxLibertineT-LF}} % selects Libertine as the quote font +\fi + +\newcommand*\quotesize{60} % if quote size changes, need a way to make shifts relative +% Make commands for the quotes +\newcommand*{\openquote} + {\tikz[remember picture,overlay,xshift=-4ex,yshift=-2.5ex] + \node (OQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont``};\kern0pt} + +\newcommand*{\closequote}[1] + {\tikz[remember picture,overlay,xshift=4ex,yshift={#1}] + \node (CQ) {\quotefont\fontsize{\quotesize}{\quotesize}\selectfont''};} + +% select a colour for the shading +\colorlet{shadecolor}{white} + +\newcommand*\shadedauthorformat{\emph} % define format for the author argument + +% Now a command to allow left, right and centre alignment of the author +\newcommand*\authoralign[1]{% + \if#1l + \def\authorfill{}\def\quotefill{\hfill} + \else + \if#1r + \def\authorfill{\hfill}\def\quotefill{} + \else + \if#1c + \gdef\authorfill{\hfill}\def\quotefill{\hfill} + \else\typeout{Invalid option} + \fi + \fi + \fi} +% wrap everything in its own environment which takes one argument (author) and one optional argument +% specifying the alignment [l, r or c] +% +\newenvironment{shadequote}[2][l]% +{\authoralign{#1} +\ifblank{#2} + {\def\shadequoteauthor{}\def\yshift{-2ex}\def\quotefill{\hfill}} + {\def\shadequoteauthor{\par\authorfill\shadedauthorformat{#2}}\def\yshift{2ex}} +\begin{snugshade}\begin{quote}\openquote} +{\shadequoteauthor\quotefill\closequote{\yshift}\end{quote}\end{snugshade}}