notes

uni notes
git clone git://popovic.xyz/notes.git
Log | Files | Refs

preamble.tex (3061B)


      1 \documentclass[a4paper]{article}
      2 
      3 \usepackage[T1]{fontenc}
      4 \usepackage[utf8]{inputenc}
      5 \usepackage{mlmodern}
      6 
      7 %\usepackage{ngerman}	% Sprachanpassung Deutsch
      8 
      9 \usepackage{graphicx}
     10 \usepackage{geometry}
     11 \geometry{a4paper, top=15mm}
     12 
     13 \usepackage{subcaption}
     14 \usepackage[shortlabels]{enumitem}
     15 \usepackage{amssymb}
     16 \usepackage{amsthm}
     17 \usepackage{mathtools}
     18 \usepackage{braket}
     19 \usepackage{bbm}
     20 \usepackage{graphicx}
     21 \usepackage{float}
     22 \usepackage{yhmath}
     23 \usepackage{tikz}
     24 \usepackage{scratch}
     25 \usetikzlibrary{patterns,decorations.pathmorphing,positioning}
     26 \usetikzlibrary{calc,decorations.markings}
     27 
     28 \usepackage[backend=biber, sorting=none]{biblatex}
     29 \addbibresource{uni.bib}
     30 
     31 \usepackage[framemethod=TikZ]{mdframed}
     32 
     33 \tikzstyle{titlered} =
     34     [draw=black, thick, fill=white,%
     35         text=black, rectangle,
     36         right, minimum height=.7cm]
     37 
     38 
     39 \usepackage[colorlinks=true,naturalnames=true,plainpages=false,pdfpagelabels=true]{hyperref}
     40 \usepackage[parfill]{parskip}
     41 \usepackage{lipsum}
     42 
     43 \usepackage{tcolorbox}
     44 \tcbuselibrary{skins,breakable}
     45 
     46 \pagestyle{myheadings}
     47 
     48 \colorlet{colexam}{black}
     49 \newcounter{definition}
     50 \newtcolorbox[use counter=definition]{mydef}{
     51     empty,
     52     title={Definition~\thetcbcounter},
     53     attach boxed title to top left,
     54     fontupper=\sl,
     55     boxed title style={
     56         empty,
     57         size=minimal,
     58         bottomrule=1pt,
     59         top=1pt,
     60         left skip=0cm,
     61         overlay=
     62             {\draw[colexam,line width=1pt]([yshift=-0.4cm]frame.north
     63         west)--([yshift=-0.4cm]frame.north east);}},
     64             coltitle=colexam,
     65             fonttitle=\bfseries,
     66             before=\par\medskip\noindent,
     67             parbox=false,
     68             boxsep=-1pt,
     69             left=0.75cm,
     70             right=3mm,
     71             top=4pt,
     72             breakable,
     73             pad at break*=0mm,
     74             vfill before first,
     75             overlay unbroken={
     76                 \draw[colexam,line width=1pt]
     77                 ([xshift=0.6cm, yshift=-0.5pt]frame.south
     78                 west)--([xshift=0.6cm,yshift=-1pt]frame.north west)
     79                 --([xshift=0.6cm]frame.south west)--([xshift=-13cm]frame.south east); },
     80             overlay first={
     81                 \draw[colexam,line width=1pt]
     82                 ([xshift=0.6cm, yshift=-0.5pt]frame.south
     83                 west)--([xshift=0.6cm,yshift=-1pt]frame.north west)
     84                 --([xshift=0.6cm]frame.south west); },
     85             overlay last={
     86                 \draw[colexam,line width=1pt]
     87                 ([xshift=0.6cm, yshift=-0.5pt]frame.south
     88                 west)--([xshift=0.6cm,yshift=-1pt]frame.north west)
     89                 --([xshift=0.6cm]frame.south west)--([xshift=-13cm]frame.south east); }
     90 }
     91 
     92 \newcommand{\eps}{\varepsilon}
     93 \usepackage[OT2,T1]{fontenc}
     94 \DeclareSymbolFont{cyrletters}{OT2}{wncyr}{m}{n}
     95 \DeclareMathSymbol{\Sha}{\mathalpha}{cyrletters}{"58}
     96 
     97 \markright{Popović\hfill Seminar/Project\hfill}
     98 
     99 
    100 \title{University of Vienna\\
    101 \vspace{1cm}Seminar:\\Applied PDE Seminar\\
    102 \vspace{0.5cm}
    103 Mathematical Modeling of Water-Wave Problems
    104 }
    105 \author{Milutin Popovic}