beamer themes

This commit is contained in:
EvilMuffinHa 2022-11-09 19:09:19 -05:00
parent d0ea6f9e32
commit 6b182fc571
7 changed files with 106 additions and 2 deletions

View File

@ -19,11 +19,13 @@
- ~/.config/spicetify - ~/.config/spicetify
- ~/.config/bat - ~/.config/bat
- ~/.config/texmf/tex/latex - ~/.config/texmf/tex/latex
- ~/.config/texmf/tex/latex/theme
- link: - link:
~/.config/zsh/.zshrc: zsh/zshrc ~/.config/zsh/.zshrc: zsh/zshrc
~/.config/nvim/init.lua: nvim/init.lua ~/.config/nvim/init.lua: nvim/init.lua
~/.config/nvim/lua: nvim/lua ~/.config/nvim/lua: nvim/lua
~/.config/nvim/UltiSnips: nvim/ultisnips
~/.config/X11/Xresources: X11/Xresources ~/.config/X11/Xresources: X11/Xresources
~/.config/bspwm: bspwm ~/.config/bspwm: bspwm
~/.config/sxhkd: sxhkd ~/.config/sxhkd: sxhkd

View File

@ -135,8 +135,8 @@ return require('packer').startup({ function(use)
ft = { 'latex', 'plaintex', 'tex' }, ft = { 'latex', 'plaintex', 'tex' },
config = function() config = function()
vim.g.UltiSnipsExpandTrigger = '<tab>' vim.g.UltiSnipsExpandTrigger = '<tab>'
vim.g.UltiSnipsJumpForwardTrigger = '<tab>' vim.g.UltiSnipsJumpForwardTrigger = '<c-h>'
vim.g.UltiSnipsJumpBackwardTrigger = '<s-tab>' vim.g.UltiSnipsJumpBackwardTrigger = '<c-b>'
end end
} }

View File

@ -0,0 +1,29 @@
global !p
def math():
return vim.eval('vimtex#syntax#in_mathzone()') == '1'
endglobal
snippet beg "begin{} / end{}" bA
\\begin{$1}
$2
\\end{$1}$0
endsnippet
snippet sm "Math" wA
$${1}$`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
snip.rv = ' '
else:
snip.rv = ''
`$2
endsnippet
snippet dm "Display Math" wA
\[
$1
.\] $0
endsnippet

View File

@ -0,0 +1,23 @@
\definecolor{gold}{RGB}{234, 157, 52}
\definecolor{rose}{RGB}{215, 130, 126}
\definecolor{foam}{RGB}{86, 148, 159}
\definecolor{text}{RGB}{87, 82, 121}
\definecolor{base}{RGB}{250, 244, 237}
\definecolor{pine}{RGB}{40, 105, 131}
\definecolor{iris}{RGB}{144, 122, 169}
\definecolor{muted}{RGB}{152, 147, 165}
\definecolor{base}{RGB}{250, 244, 237}
\definecolor{love}{RGB}{180, 99, 122}
\setbeamercolor{background canvas}{bg=base}
\setbeamercolor{title}{fg=pine}
\setbeamercolor{frametitle}{fg=pine}
\setbeamercolor{normal text}{fg=text}
\setbeamercolor{item}{fg=text}
\setbeamercolor{frametitle}{fg=pine}
\setbeamercolor{footline}{fg=pine}

32
tex/beamerthemeslide.sty Normal file
View File

@ -0,0 +1,32 @@
\setbeamertemplate{itemize item}[circle]
\setbeamertemplate{itemize subitem}[circle]
\setbeamertemplate{itemize subsubitem}[circle]
\beamertemplatenavigationsymbolsempty
\setlength\belowdisplayshortskip{2ex}
\setbeamertemplate{footline}{
\hfill%
\hspace{2em}%
\usebeamercolor[fg]{footline}
\insertframenumber\kern1em\vskip2ex%
}
\setbeamertemplate{caption}
{
\raggedright\insertcaption\par
}
\setbeamertemplate{frametitle}{
\nointerlineskip
\vskip2ex
\usebeamercolor[fg]{frametitle}
\insertframetitle
}

View File

@ -22,3 +22,5 @@ binary-ninja-custom = { file = "~/.config/binja/.binaryninja/themes/theme.bnthem
tmtheme = { file = "~/.cache/theme/theme.tmTheme" } tmtheme = { file = "~/.cache/theme/theme.tmTheme" }
tmux = { file = "~/.cache/theme/tmux.conf" } tmux = { file = "~/.cache/theme/tmux.conf" }
beamercolortheme = { file = "~/.config/texmf/tex/latex/theme/beamercolorthemetheme.sty" }

View File

@ -0,0 +1,16 @@
\usepackage{xcolor}
\definecolor{base}{HTML}{ {{base00-hex}} }
\definecolor{col}{HTML}{ {{base0D-hex}} }
\definecolor{text}{HTML}{ {{base05-hex}} }
\setbeamercolor{background canvas}{bg=base}
\setbeamercolor{title}{fg=col}
\setbeamercolor{frametitle}{fg=col}
\setbeamercolor{normal text}{fg=text}
\setbeamercolor{item}{fg=text}
\setbeamercolor{frametitle}{fg=col}
\setbeamercolor{footline}{fg=col}