From cba73a26ae724ccf7c0a191dc2679428fbcc6ab6 Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Thu, 4 Jul 2024 15:34:46 +0200 Subject: [PATCH] init docclass styles --- src/introduction.tex | 1 + src/main.tex | 152 ++++++++++++++++++++++++++++++++++++++++--- src/sources.bib | 17 +++++ 3 files changed, 162 insertions(+), 8 deletions(-) create mode 100644 src/introduction.tex create mode 100644 src/sources.bib diff --git a/src/introduction.tex b/src/introduction.tex new file mode 100644 index 0000000..e878519 --- /dev/null +++ b/src/introduction.tex @@ -0,0 +1 @@ +Test intro \ No newline at end of file diff --git a/src/main.tex b/src/main.tex index 322fc87..790a95c 100644 --- a/src/main.tex +++ b/src/main.tex @@ -1,15 +1,151 @@ -%! Author = lukas -%! Date = 7/4/24 +\def\ieee{0} -% Preamble -\documentclass[11pt]{article} - -% Packages +\if\ieee1 +\documentclass[sigconf]{acmart} +\else +\documentclass{llncs} +\fi \usepackage{amsmath} +\usepackage{mathtools} +\usepackage{hyperref} +\usepackage{listings} + +\usepackage{xcolor} + +\usepackage{subfig} + +\usepackage[inline]{enumitem} +\usepackage{color} + +\usepackage{tikz} +\usetikzlibrary{shapes.geometric, arrows} + +\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black, fill=red!30] +\tikzstyle{io} = [rectangle, rounded corners,minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=blue!30] +\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=orange!30] +\tikzstyle{decision} = [diamond, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=green!30] +\tikzstyle{arrow} = [thick,->,>=stealth] + +\definecolor{codegreen}{rgb}{0,0.6,0} +\definecolor{codegray}{rgb}{0.5,0.5,0.5} +\definecolor{codepurple}{rgb}{0.58,0,0.82} +\definecolor{backcolour}{rgb}{0.95,0.95,0.92} + +\lstdefinestyle{mystyle}{ + backgroundcolor=\color{backcolour}, + commentstyle=\color{codegreen}, + keywordstyle=\color{magenta}, + numberstyle=\tiny\color{codegray}, + stringstyle=\color{codepurple}, + basicstyle=\ttfamily\scriptsize, + breakatwhitespace=false, + breaklines=true, + captionpos=b, + keepspaces=true, + numbers=left, + numbersep=5pt, + showspaces=false, + showstringspaces=false, + showtabs=false, + tabsize=2 +} + +\lstset{style=mystyle} + +%\lstset{basicstyle=\ttfamily, keywordstyle=\bfseries} + +\if\ieee1 +\settopmatter{printacmref=false} % Removes citation information below abstract +\renewcommand\footnotetextcopyrightpermission[1]{} % removes footnote with conference information in first column +\pagestyle{plain} % removes running headers +\fi + +%% +%% \BibTeX command to typeset BibTeX logo in the docs +\if\ieee1 +\AtBeginDocument{% + \providecommand\BibTeX{{% + \normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX}}} + +\acmConference{Minimize labeling effort of Binary classification Tasks with Active learning}{2023}{Linz} +\fi % Document \begin{document} -t +%% +%% The "title" command has an optional parameter, +%% allowing the author to define a "short title" to be used in page headers. +\title{Few shot learning for anomaly detection\\ Bachelor Thesis for AI} + +%% +%% The "author" command and its associated commands are used to define +%% the authors and their affiliations. +%% Of note is the shared affiliation of the first two authors, and the +%% "authornote" and "authornotemark" commands +%% used to denote shared contribution to the research. +\author{Lukas Heiligenbrunner} + +\if\ieee1 +\email{k12104785@students.jku.at} +\affiliation{% + \institution{Johannes Kepler University Linz} + \city{Linz} + \state{Upperaustria} + \country{Austria} + \postcode{4020} +} +\else +\institute{Johannes Kepler University Linz} +\fi -\end{document} \ No newline at end of file +%% +%% By default, the full list of authors will be used in the page +%% headers. Often, this list is too long, and will overlap +%% other information printed in the page headers. This command allows +%% the author to define a more concise list +%% of authors' names for this purpose. +% \renewcommand{\shortauthors}{Lukas Heilgenbrunner} + +%% +%% The abstract is a short summary of the work to be presented in the +%% article. +\if\ieee0 +\maketitle +\fi + +\begin{abstract} + Todo abstract!! +\end{abstract} + +%% +%% Keywords. The author(s) should pick words that accurately describe +%% the work being presented. Separate the keywords with commas. +\if\ieee1 +\keywords{neural networks, ResNET, pseudo-labeling, active-learning} +\fi + +%\received{20 February 2007} +%\received[revised]{12 March 2009} +%\received[accepted]{5 June 2009} + +%% +%% This command processes the author and affiliation and title +%% information and builds the first part of the formatted document. +\if\ieee1 +\maketitle +\fi +\input{introduction} +%% The next two lines define the bibliography style to be used, and +%% the bibliography file. +\bibliographystyle{ACM-Reference-Format} +\bibliography{../src/sources} + +%% +%% If your work has an appendix, this is the place to put it. +\appendix + +% appendix + +\end{document} +\endinput diff --git a/src/sources.bib b/src/sources.bib new file mode 100644 index 0000000..2b285ad --- /dev/null +++ b/src/sources.bib @@ -0,0 +1,17 @@ +%! Author = lukas +%! Date = 4/9/24 + +@InProceedings{crossentropy, + ISSN = {00359246}, + URL = {http://www.jstor.org/stable/2984087}, + abstract = {This paper deals first with the relationship between the theory of probability and the theory of rational behaviour. A method is then suggested for encouraging people to make accurate probability estimates, a connection with the theory of information being mentioned. Finally Wald's theory of statistical decision functions is summarised and generalised and its relation to the theory of rational behaviour is discussed.}, + author = {I. J. Good}, + journal = {Journal of the Royal Statistical Society. Series B (Methodological)}, + number = {1}, + pages = {107--114}, + publisher = {[Royal Statistical Society, Wiley]}, + title = {Rational Decisions}, + urldate = {2024-05-23}, + volume = {14}, + year = {1952} +}