Skip to content

Commit

Permalink
Let us start
Browse files Browse the repository at this point in the history
  • Loading branch information
magyarkuti committed Oct 29, 2021
1 parent e4ac15d commit a474702
Show file tree
Hide file tree
Showing 5 changed files with 310 additions and 0 deletions.
242 changes: 242 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb

## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
*.pdf

## Generated if empty string is given at "Please type another file name for output:"
.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync

## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa

# achemso
acs-*.bib

# amsthm
*.thm

# beamer
*.nav
*.pre
*.snm
*.vrb

# changes
*.soc

# cprotect
*.cpt

# elsarticle (documentclass of Elsevier journals)
*.spl

# endnotes
*.ent

# fixme
*.lox

# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm

#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs

# gnuplottex
*-gnuplottex-*

# gregoriotex
*.gaux
*.gtex

# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref

# hyperref
*.brf

# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary

# listings
*.lol

# makeidx
*.idx
*.ilg
*.ind
*.ist

# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*

# minted
_minted*
*.pyg

# morewrites
*.mw

# nomencl
*.nlg
*.nlo
*.nls

# pax
*.pax

# pdfpcnotes
*.pdfpc

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# scrwfile
*.wrt

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# pdfcomment
*.upa
*.upb

# pythontex
*.pytxcode
pythontex-files-*/

# thmtools
*.loe

# TikZ & PGF
*.dpth
*.md5
*.auxlock

# todonotes
*.tdo

# easy-todo
*.lod

# xmpincl
*.xmpi

# xindy
*.xdy

# xypic precompiled matrices
*.xyc

# endfloat
*.ttt
*.fff

# Latexian
TSWLatexianTemp*

## Editors:
# WinEdt
*.bak
*.sav

# Texpad
.texpadtmp

# Kile
*.backup

# KBibTeX
*~[0-9]*

# auto folder when using emacs and auctex
./auto/*
*.el

# expex forward references with \gathertags
*-tags.tex

# standalone packages
*.sta

# generated if using elsarticle.cls
*.spl
Binary file added corvinus_Department_of_Mathematics_logo_cmyk.eps
Binary file not shown.
Binary file added corvinus_Matematika_Tanszek_logo_cmyk.eps
Binary file not shown.
Binary file added corvinus_egyszerusitett_logo_cmyk.eps
Binary file not shown.
68 changes: 68 additions & 0 deletions corvinusmetropolis.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{corvinusmetropolis}[2021/10/26 corvinusmetropolis v0.1]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{beamer}}
\ProcessOptions
\LoadClass{beamer}
%
\ifpdf
\ClassInfo{corvinusmetropolis}{Use all of beamer options.\MessageBreak
LaTeX package corvinusmetropolis is loaded}
\else
\ClassError{corvinusmetropolis}{Optimal usage: lualatex <filename>\MessageBreak
pdflatex also works but does not use Corvinus fonts}
\fi
%
\newcommand{\@email}{}
\newcommand{\email}[1]{\renewcommand{\@email}{#1}}
\newcommand{\putemail}{\url{\@email}}
%
\synctex=1
%
\RequirePackage{graphicx,iftex}
\ifboolexpr{bool {xetex} or bool {luatex}}{
\RequirePackage{fontspec}%The package fontspec is also loaded by metropolis.sty but I do not need the option no-math.
}{\ClassInfo{corvinusmetropolis}{The recommended tex compiler is lualatex or xelatex.}}
%
\usetheme[outer/progressbar=foot, titleformat=smallcaps, subsectionpage=progressbar, block=fill]{metropolis}
\ifboolexpr{bool {xetex} or bool {luatex}}%
{%
\iffontsavailable{TT Nooks-Regular, Calluna-It, Calluna-Regular}
{%
\setsansfont[BoldFont={TT Nooks-Regular},ItalicFont={Calluna-It}]{Calluna-Regular}%
\ClassInfo{corvinusmetropolis}{Corvinus recommended fonts TT Nooks and Calluna work properly!}%
}
{\ClassInfo{corvinusmetropolis}{At least one of Corvinus recommended fonts is missing. \MessageBreak
Install the fonts TT Nooks and Calluna!}}
}%
{
\ClassInfo{corvinusmetropolis}{You need to compile XeLaTeX os LuaLatex to use the Corvinus recommended fonts TT Nooks and Calluna}
}
%
\definecolor{CorvinusGold}{HTML}{855C24}
\definecolor{CorvinusBlue}{HTML}{1B213E}
\setbeamercolor{normal text}{fg=CorvinusBlue}
\setbeamercolor{alerted text}{fg=CorvinusGold, bg=CorvinusBlue}
%
\setbeamertemplate{blocks}[rounded]
%
\newcommand{\thankyoupage}[1]{
\frametitle{#1}
\includegraphics[width=.5\textwidth]{corvinus_egyszerusitett_logo_cmyk.eps}
\hfill{\putemail}
}
\newcommand{\closingframes}[1]{
\metroset{outer/numbering=none}
\frame{\thankyoupage{#1}}
\frame{}
}
\newcommand{\openingframes}[1]{
\metroset{outer/numbering=none, outer/progressbar=foot}
\frame{\titlepage}
\frame{\frametitle{#1}
\tableofcontents}
\metroset{outer/numbering=counter, outer/progressbar=foot, block=transparent}%
}
\endinput
Last Modified: Tue 26 Oct 2021 03:55:30 pm CEST CEST CEST
Created: Tue 26 Oct 2021 08:10:34 am CEST

0 comments on commit a474702

Please sign in to comment.