init docclass styles

This commit is contained in:
lukas-heiligenbrunner 2024-07-04 15:34:46 +02:00
parent 9fb022202d
commit cba73a26ae
3 changed files with 162 additions and 8 deletions

1
src/introduction.tex Normal file
View File

@ -0,0 +1 @@
Test intro

View File

@ -1,15 +1,151 @@
%! Author = lukas \def\ieee{0}
%! Date = 7/4/24
% Preamble \if\ieee1
\documentclass[11pt]{article} \documentclass[sigconf]{acmart}
\else
% Packages \documentclass{llncs}
\fi
\usepackage{amsmath} \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 % Document
\begin{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} %%
%% 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

17
src/sources.bib Normal file
View File

@ -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}
}