This commit is contained in:
EvilMuffinHa 2022-12-04 16:32:16 -05:00
parent d156927fab
commit efe2f09b17
6 changed files with 31 additions and 6 deletions

View File

@ -16,6 +16,20 @@ o.viminfo = ''
vim.g.base16colorspace = 256 vim.g.base16colorspace = 256
o.termguicolors = true o.termguicolors = true
vim.cmd [[
augroup spellcheck
au!
au FileType markdown setlocal spell
au FileType plaintex setlocal spell
au FileType tex setlocal spell
au FileType latex setlocal spell
au BufRead,BufNewFile *.md setlocal spell
au BufRead,BufNewFile *.tex setlocal spell
augroup END
]]
o.spelllang = "en_us"
map('i', '<C-L>', '<c-g>u<Esc>[s1z=`]a<c-g>u', { noremap = true })
vim.cmd('colorscheme theme') vim.cmd('colorscheme theme')
vim.g.airline_theme = 'theme' vim.g.airline_theme = 'theme'
@ -46,6 +60,7 @@ o.listchars = {
extends = '' extends = ''
} }
vim.cmd [[ vim.cmd [[
augroup options_guicursor augroup options_guicursor
au! au!

View File

@ -1,6 +1,6 @@
\ProvidesClass{booknotes} \ProvidesClass{booknotes}
\LoadClass{report} \LoadClass[twoside]{report}
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
\RequirePackage{textcomp} \RequirePackage{textcomp}
@ -161,11 +161,13 @@
} }
\pagestyle{fancy} \pagestyle{fancy}
\fancyhead[RO,L]{\@section} \fancyhead[RO,LE]{\@section}
\fancyhead[R,LO]{\leftmark} \fancyhead[RE,LO]{\leftmark}
\newcommand{\fullpagebreak}{\pagebreak} \newcommand{\fullpagebreak}{\pagebreak}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\newcommand{\incfig}[1]{% \newcommand{\incfig}[1]{%
\def\svgwidth{\columnwidth} \def\svgwidth{\columnwidth}
\import{./figures/}{#1.pdf_tex} \import{./figures/}{#1.pdf_tex}

View File

@ -178,6 +178,7 @@
\definecolor{MintedBg}{RGB}{38, 38, 38} \definecolor{MintedBg}{RGB}{38, 38, 38}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\newenvironment{code}[1]{\color{white}\VerbatimEnvironment\begin{minted}[bgcolor=MintedBg]{#1}}{\end{minted}} \newenvironment{code}[1]{\color{white}\VerbatimEnvironment\begin{minted}[bgcolor=MintedBg]{#1}}{\end{minted}}

View File

@ -176,6 +176,9 @@
\import{./figures/}{#1.pdf_tex} \import{./figures/}{#1.pdf_tex}
} }
\newcommand{\toc}{\tableofcontents\raggedbottom}
\definecolor{MintedBg}{RGB}{38, 38, 38} \definecolor{MintedBg}{RGB}{38, 38, 38}

View File

@ -1,5 +1,5 @@
\ProvidesClass{simplebooknotes} \ProvidesClass{simplebooknotes}
\LoadClass{report} \LoadClass[twoside]{report}
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
\RequirePackage{textcomp} \RequirePackage{textcomp}
@ -129,9 +129,11 @@
\subsection*{\@lecture} \subsection*{\@lecture}
} }
\newcommand{\toc}{\tableofcontents\raggedbottom}
\pagestyle{fancy} \pagestyle{fancy}
\fancyhead[RO,L]{\@section} \fancyhead[RO,LE]{\@section}
\fancyhead[R,LO]{\leftmark} \fancyhead[RE,LO]{\leftmark}
\newcommand{\fullpagebreak}{\pagebreak} \newcommand{\fullpagebreak}{\pagebreak}

View File

@ -141,6 +141,8 @@
\newcommand{\fullpagebreak}{} \newcommand{\fullpagebreak}{}
\renewcommand{\maketitle}{} \renewcommand{\maketitle}{}
\newcommand{\toc}{\tableofcontents\raggedbottom}
\newcommand{\incfig}[1]{% \newcommand{\incfig}[1]{%
\def\svgwidth{\columnwidth} \def\svgwidth{\columnwidth}
\import{./figures/}{#1.pdf_tex} \import{./figures/}{#1.pdf_tex}