Compare commits
No commits in common. "c777e43361520be6e430e0be60985b2e9d57af05" and "6287a7235e4e9b96e06eb5e5d50ebec64258ae17" have entirely different histories.
c777e43361
...
6287a7235e
@ -1,43 +0,0 @@
|
|||||||
# Vim-like Keybindings
|
|
||||||
def_key "/"
|
|
||||||
find
|
|
||||||
def_key "/"
|
|
||||||
find_item_forward
|
|
||||||
|
|
||||||
def_key "+"
|
|
||||||
show_clock
|
|
||||||
def_key "="
|
|
||||||
volume_up
|
|
||||||
|
|
||||||
def_key "j"
|
|
||||||
scroll_down
|
|
||||||
|
|
||||||
def_key "k"
|
|
||||||
scroll_up
|
|
||||||
|
|
||||||
def_key "ctrl-u"
|
|
||||||
page_up
|
|
||||||
|
|
||||||
def_key "ctrl-d"
|
|
||||||
page_down
|
|
||||||
|
|
||||||
def_key "h"
|
|
||||||
previous_column
|
|
||||||
|
|
||||||
def_key "l"
|
|
||||||
next_column
|
|
||||||
|
|
||||||
def_key "."
|
|
||||||
show_lyrics
|
|
||||||
|
|
||||||
def_key "n"
|
|
||||||
next_found_item
|
|
||||||
|
|
||||||
def_key "N"
|
|
||||||
previous_found_item
|
|
||||||
|
|
||||||
def_key "g"
|
|
||||||
move_home
|
|
||||||
|
|
||||||
def_key "G"
|
|
||||||
move_end
|
|
@ -1,6 +1,6 @@
|
|||||||
%%
|
%%
|
||||||
% Copyright (c) 2017 - 2020, Pascal Wagler;
|
% Copyright (c) 2017 - 2019, Pascal Wagler;
|
||||||
% Copyright (c) 2014 - 2020, John MacFarlane
|
% Copyright (c) 2014 - 2019, John MacFarlane
|
||||||
%
|
%
|
||||||
% All rights reserved.
|
% All rights reserved.
|
||||||
%
|
%
|
||||||
@ -49,9 +49,6 @@ $if(latex-dir-rtl)$
|
|||||||
\PassOptionsToPackage{RTLdocument}{bidi}
|
\PassOptionsToPackage{RTLdocument}{bidi}
|
||||||
$endif$
|
$endif$
|
||||||
$endif$
|
$endif$
|
||||||
$if(CJKmainfont)$
|
|
||||||
\PassOptionsToPackage{space}{xeCJK}
|
|
||||||
$endif$
|
|
||||||
%
|
%
|
||||||
\documentclass[
|
\documentclass[
|
||||||
$if(fontsize)$
|
$if(fontsize)$
|
||||||
@ -63,7 +60,7 @@ $endif$
|
|||||||
$if(papersize)$
|
$if(papersize)$
|
||||||
$papersize$paper,
|
$papersize$paper,
|
||||||
$else$
|
$else$
|
||||||
paper=a4,
|
a4paper,
|
||||||
$endif$
|
$endif$
|
||||||
$if(beamer)$
|
$if(beamer)$
|
||||||
ignorenonframetext,
|
ignorenonframetext,
|
||||||
@ -77,7 +74,7 @@ $endif$
|
|||||||
$for(classoption)$
|
$for(classoption)$
|
||||||
$classoption$$sep$,
|
$classoption$$sep$,
|
||||||
$endfor$
|
$endfor$
|
||||||
,captions=tableheading
|
,tablecaptionabove
|
||||||
]{$if(beamer)$$documentclass$$else$$if(book)$scrbook$else$scrartcl$endif$$endif$}
|
]{$if(beamer)$$documentclass$$else$$if(book)$scrbook$else$scrartcl$endif$$endif$}
|
||||||
$if(beamer)$
|
$if(beamer)$
|
||||||
$if(background-image)$
|
$if(background-image)$
|
||||||
@ -132,7 +129,6 @@ $endif$
|
|||||||
$if(beamerarticle)$
|
$if(beamerarticle)$
|
||||||
\usepackage{beamerarticle} % needs to be loaded first
|
\usepackage{beamerarticle} % needs to be loaded first
|
||||||
$endif$
|
$endif$
|
||||||
\usepackage{amsmath,amssymb}
|
|
||||||
$if(fontfamily)$
|
$if(fontfamily)$
|
||||||
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
||||||
$else$
|
$else$
|
||||||
@ -145,17 +141,15 @@ $else$
|
|||||||
\usepackage{setspace}
|
\usepackage{setspace}
|
||||||
\setstretch{1.2}
|
\setstretch{1.2}
|
||||||
$endif$
|
$endif$
|
||||||
\usepackage{amsmath}
|
\usepackage{amssymb,amsmath}
|
||||||
\usepackage{ifxetex,ifluatex}
|
\usepackage{ifxetex,ifluatex}
|
||||||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
|
||||||
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
|
\usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage{textcomp} % provide euro and other symbols
|
\usepackage{textcomp} % provide euro and other symbols
|
||||||
\usepackage{amssymb}
|
|
||||||
\else % if luatex or xetex
|
\else % if luatex or xetex
|
||||||
$if(mathspec)$
|
$if(mathspec)$
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\usepackage{amssymb}
|
|
||||||
\usepackage{mathspec}
|
\usepackage{mathspec}
|
||||||
\else
|
\else
|
||||||
\usepackage{unicode-math}
|
\usepackage{unicode-math}
|
||||||
@ -342,8 +336,7 @@ $highlighting-macros$
|
|||||||
|
|
||||||
$endif$
|
$endif$
|
||||||
$if(tables)$
|
$if(tables)$
|
||||||
\usepackage{longtable,booktabs,array}
|
\usepackage{longtable,booktabs}
|
||||||
\usepackage{calc} % for calculating minipage widths
|
|
||||||
$if(beamer)$
|
$if(beamer)$
|
||||||
\usepackage{caption}
|
\usepackage{caption}
|
||||||
% Make caption package work with longtable
|
% Make caption package work with longtable
|
||||||
@ -367,7 +360,7 @@ $else$
|
|||||||
\usepackage{footnotebackref}
|
\usepackage{footnotebackref}
|
||||||
$endif$
|
$endif$
|
||||||
$if(graphics)$
|
$if(graphics)$
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx,grffile}
|
||||||
\makeatletter
|
\makeatletter
|
||||||
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||||
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
|
||||||
@ -376,10 +369,6 @@ $if(graphics)$
|
|||||||
% margins by default, and it is still possible to overwrite the defaults
|
% margins by default, and it is still possible to overwrite the defaults
|
||||||
% using explicit options in \includegraphics[width, height, ...]{}
|
% using explicit options in \includegraphics[width, height, ...]{}
|
||||||
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
||||||
% Set default figure placement to htbp
|
|
||||||
\makeatletter
|
|
||||||
\def\fps@figure{htbp}
|
|
||||||
\makeatother
|
|
||||||
$endif$
|
$endif$
|
||||||
$if(links-as-notes)$
|
$if(links-as-notes)$
|
||||||
% Make links footnotes instead of hotlinks:
|
% Make links footnotes instead of hotlinks:
|
||||||
@ -390,11 +379,11 @@ $if(strikeout)$
|
|||||||
% Avoid problems with \sout in headers with hyperref
|
% Avoid problems with \sout in headers with hyperref
|
||||||
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
|
||||||
$endif$
|
$endif$
|
||||||
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
||||||
\providecommand{\tightlist}{%
|
\providecommand{\tightlist}{%
|
||||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||||
$if(numbersections)$
|
$if(numbersections)$
|
||||||
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
|
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$3$endif$}
|
||||||
$else$
|
$else$
|
||||||
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
|
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
|
||||||
$endif$
|
$endif$
|
||||||
@ -433,23 +422,17 @@ $if(lang)$
|
|||||||
$endif$
|
$endif$
|
||||||
% Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic)
|
% Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic)
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setmainlanguage[$for(polyglossia-lang.options)$$polyglossia-lang.options$$sep$,$endfor$]{$polyglossia-lang.name$}
|
\setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
|
||||||
$for(polyglossia-otherlangs)$
|
$for(polyglossia-otherlangs)$
|
||||||
\setotherlanguage[$for(polyglossia-otherlangs.options)$$polyglossia-otherlangs.options$$sep$,$endfor$]{$polyglossia-otherlangs.name$}
|
\setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
|
||||||
$endfor$
|
$endfor$
|
||||||
\else
|
\else
|
||||||
\usepackage[$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
|
||||||
% get rid of language-specific shorthands (see #6817):
|
|
||||||
\let\LanguageShortHands\languageshorthands
|
|
||||||
\def\languageshorthands#1{}
|
|
||||||
$if(babel-newcommands)$
|
$if(babel-newcommands)$
|
||||||
$babel-newcommands$
|
$babel-newcommands$
|
||||||
$endif$
|
$endif$
|
||||||
\fi
|
\fi
|
||||||
$endif$
|
$endif$
|
||||||
\ifluatex
|
|
||||||
\usepackage{selnolig} % disable illegal ligatures
|
|
||||||
\fi
|
|
||||||
$if(dir)$
|
$if(dir)$
|
||||||
\ifxetex
|
\ifxetex
|
||||||
% Load bidi as late as possible as it modifies e.g. graphicx
|
% Load bidi as late as possible as it modifies e.g. graphicx
|
||||||
@ -476,24 +459,10 @@ $endif$
|
|||||||
$if(csl-refs)$
|
$if(csl-refs)$
|
||||||
\newlength{\cslhangindent}
|
\newlength{\cslhangindent}
|
||||||
\setlength{\cslhangindent}{1.5em}
|
\setlength{\cslhangindent}{1.5em}
|
||||||
\newlength{\csllabelwidth}
|
\newenvironment{cslreferences}%
|
||||||
\setlength{\csllabelwidth}{3em}
|
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
|
||||||
\newenvironment{CSLReferences}[2] % #1 hanging-ident, #2 entry spacing
|
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
|
||||||
{% don't indent paragraphs
|
{\par}
|
||||||
\setlength{\parindent}{0pt}
|
|
||||||
% turn on hanging indent if param 1 is 1
|
|
||||||
\ifodd #1 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi
|
|
||||||
% set entry spacing
|
|
||||||
\ifnum #2 > 0
|
|
||||||
\setlength{\parskip}{#2\baselineskip}
|
|
||||||
\fi
|
|
||||||
}%
|
|
||||||
{}
|
|
||||||
\usepackage{calc}
|
|
||||||
\newcommand{\CSLBlock}[1]{#1\hfill\break}
|
|
||||||
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}}
|
|
||||||
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break}
|
|
||||||
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
|
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
$if(title)$
|
$if(title)$
|
||||||
@ -511,7 +480,9 @@ $else$
|
|||||||
$endif$
|
$endif$
|
||||||
\subtitle{$subtitle$}
|
\subtitle{$subtitle$}
|
||||||
$endif$
|
$endif$
|
||||||
|
$if(author)$
|
||||||
\author{$for(author)$$author$$sep$ \and $endfor$}
|
\author{$for(author)$$author$$sep$ \and $endfor$}
|
||||||
|
$endif$
|
||||||
\date{$date$}
|
\date{$date$}
|
||||||
$if(beamer)$
|
$if(beamer)$
|
||||||
$if(institute)$
|
$if(institute)$
|
||||||
@ -560,10 +531,6 @@ $endfor$
|
|||||||
\fi
|
\fi
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
$if(page-background)$
|
|
||||||
\usepackage[pages=all]{background}
|
|
||||||
$endif$
|
|
||||||
|
|
||||||
%
|
%
|
||||||
% for the background color of the title page
|
% for the background color of the title page
|
||||||
%
|
%
|
||||||
@ -663,14 +630,13 @@ $endif$
|
|||||||
%\addtokomafont{chapter}{\color{heading-color}}
|
%\addtokomafont{chapter}{\color{heading-color}}
|
||||||
|
|
||||||
%
|
%
|
||||||
% variables for title, author and date
|
% variables for title and author
|
||||||
%
|
%
|
||||||
$if(beamer)$
|
$if(beamer)$
|
||||||
$else$
|
$else$
|
||||||
\usepackage{titling}
|
\usepackage{titling}
|
||||||
\title{$title$}
|
\title{$title$}
|
||||||
\author{$for(author)$$author$$sep$, $endfor$}
|
\author{$for(author)$$author$$sep$, $endfor$}
|
||||||
\date{$date$}
|
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
%
|
%
|
||||||
@ -862,17 +828,6 @@ $else$
|
|||||||
\renewcommand{\footrulewidth}{0.4pt}
|
\renewcommand{\footrulewidth}{0.4pt}
|
||||||
}
|
}
|
||||||
\pagestyle{eisvogel-header-footer}
|
\pagestyle{eisvogel-header-footer}
|
||||||
$if(page-background)$
|
|
||||||
\backgroundsetup{
|
|
||||||
scale=1,
|
|
||||||
color=black,
|
|
||||||
opacity=$if(page-background-opacity)$$page-background-opacity$$else$0.2$endif$,
|
|
||||||
angle=0,
|
|
||||||
contents={%
|
|
||||||
\includegraphics[width=\paperwidth,height=\paperheight]{$page-background$}
|
|
||||||
}%
|
|
||||||
}
|
|
||||||
$endif$
|
|
||||||
$endif$
|
$endif$
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
@ -987,7 +942,7 @@ $if(toc-title)$
|
|||||||
\renewcommand*\contentsname{$toc-title$}
|
\renewcommand*\contentsname{$toc-title$}
|
||||||
$endif$
|
$endif$
|
||||||
$if(beamer)$
|
$if(beamer)$
|
||||||
\begin{frame}[allowframebreaks]
|
\begin{frame}
|
||||||
$if(toc-title)$
|
$if(toc-title)$
|
||||||
\frametitle{$toc-title$}
|
\frametitle{$toc-title$}
|
||||||
$endif$
|
$endif$
|
||||||
@ -1001,7 +956,7 @@ $else$
|
|||||||
$if(colorlinks)$
|
$if(colorlinks)$
|
||||||
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
|
\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
|
||||||
$endif$
|
$endif$
|
||||||
\setcounter{tocdepth}{$toc-depth$}
|
\setcounter{tocdepth}{$if(toc-depth)$$toc-depth$$else$3$endif$}
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
$if(toc-own-page)$
|
$if(toc-own-page)$
|
||||||
\newpage
|
\newpage
|
||||||
|
Loading…
Reference in New Issue
Block a user