tex changes

This commit is contained in:
h 2023-09-25 14:10:12 -04:00
parent adedd29830
commit 45410393da
9 changed files with 299 additions and 224 deletions

View File

@ -1,5 +1,5 @@
Removing actuator/ actuator/
Removing scripts/actuator scripts/actuator
Removing scripts/landscape scripts/landscape
Removing scripts/portrait scripts/portrait
Removing tex/beamercolorthemesimpledark.sty tex/beamerthemedispboard.sty

View File

@ -4,205 +4,227 @@ local function import(name)
return ([[require '%s']]):format(name) return ([[require '%s']]):format(name)
end end
return require('packer').startup({ function(use) return require('packer').startup({
use 'wbthomason/packer.nvim' function(use)
use 'wbthomason/packer.nvim'
use { use {
'vim-airline/vim-airline', 'vim-airline/vim-airline',
requires = { requires = {
'ryanoasis/vim-devicons', 'ryanoasis/vim-devicons',
}
}
use {
'mustache/vim-mustache-handlebars'
}
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate'
}
use {
'petRUShka/vim-sage'
}
use {
'evanleck/vim-svelte'
}
use {
'wuelnerdotexe/vim-astro'
}
use {
'tpope/vim-fugitive',
config = function()
local map = vim.api.nvim_set_keymap
map('n', '<Leader>g', '<Cmd>Git<CR>', { noremap = true })
end,
}
use {
'tpope/vim-surround',
}
use {
'tpope/vim-repeat',
}
use {
'lewis6991/gitsigns.nvim',
requires = {
'nvim-lua/plenary.nvim'
},
config = function()
require('gitsigns').setup {
signs = {
add = { hl = 'GitSignsAdd', text = '', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' },
change = { hl = 'GitSignsChange', text = '', numhl = 'GitSignsChangeNr',
linehl = 'GitSignsChangeLn' },
delete = { hl = 'GitSignsDelete', text = '_', numhl = 'GitSignsDeleteNr',
linehl = 'GitSignsDeleteLn' },
topdelete = { hl = 'GitSignsDelete', text = '', numhl = 'GitSignsDeleteNr',
linehl = 'GitSignsDeleteLn' },
changedelete = { hl = 'GitSignsChange', text = '~', numhl = 'GitSignsChangeNr',
linehl = 'GitSignsChangeLn' },
},
} }
end }
}
use { use {
'akinsho/flutter-tools.nvim', 'mustache/vim-mustache-handlebars'
requires = { }
'nvim-lua/plenary.nvim'
}, use {
config = function() 'nvim-treesitter/nvim-treesitter',
require('flutter-tools').setup { run = ':TSUpdate'
lsp = { }
color = {
enabled = false use {
'petRUShka/vim-sage'
}
use {
'evanleck/vim-svelte'
}
use {
'wuelnerdotexe/vim-astro'
}
use {
'tpope/vim-fugitive',
config = function()
local map = vim.api.nvim_set_keymap
map('n', '<Leader>g', '<Cmd>Git<CR>', { noremap = true })
end,
}
use {
'tpope/vim-surround',
}
use {
'tpope/vim-repeat',
}
use {
'lewis6991/gitsigns.nvim',
requires = {
'nvim-lua/plenary.nvim'
},
config = function()
require('gitsigns').setup {
signs = {
add = {
hl = 'GitSignsAdd',
text = '',
numhl = 'GitSignsAddNr',
linehl = 'GitSignsAddLn'
},
change = {
hl = 'GitSignsChange',
text = '',
numhl = 'GitSignsChangeNr',
linehl = 'GitSignsChangeLn'
},
delete = {
hl = 'GitSignsDelete',
text = '_',
numhl = 'GitSignsDeleteNr',
linehl = 'GitSignsDeleteLn'
},
topdelete = {
hl = 'GitSignsDelete',
text = '',
numhl = 'GitSignsDeleteNr',
linehl = 'GitSignsDeleteLn'
},
changedelete = {
hl = 'GitSignsChange',
text = '~',
numhl = 'GitSignsChangeNr',
linehl = 'GitSignsChangeLn'
},
},
}
end
}
use {
'akinsho/flutter-tools.nvim',
requires = {
'nvim-lua/plenary.nvim'
},
config = function()
require('flutter-tools').setup {
lsp = {
color = {
enabled = false
}
} }
} }
} end
end }
}
use { use {
'numToStr/Comment.nvim', 'numToStr/Comment.nvim',
config = function() config = function()
local map = vim.api.nvim_set_keymap local map = vim.api.nvim_set_keymap
require('Comment').setup({}) require('Comment').setup({})
map('n', '<C-_>', map('n', '<C-_>',
'<Cmd>lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())<CR>', '<Cmd>lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())<CR>',
{ noremap = true, silent = true }) { noremap = true, silent = true })
end end
} }
use { use {
'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim',
requires = { requires = {
'nvim-lua/plenary.nvim', 'nvim-lua/plenary.nvim',
{ {
'nvim-telescope/telescope-fzf-native.nvim', 'nvim-telescope/telescope-fzf-native.nvim',
run = 'make', run = 'make',
},
'nvim-telescope/telescope-symbols.nvim',
}, },
'nvim-telescope/telescope-symbols.nvim', config = import('tel'),
}, }
config = import('tel'),
}
use { use {
'stevearc/dressing.nvim', 'stevearc/dressing.nvim',
config = function() config = function()
require('dressing').setup({ require('dressing').setup({
input = { input = {
default_prompt = '', default_prompt = '',
win_options = { win_options = {
winhighlight = 'NormalFloat:Normal', winhighlight = 'NormalFloat:Normal',
},
},
})
vim.cmd [[highlight link FloatTitle NonText]]
vim.cmd [[highlight link DressingInputText Normal]]
end,
}
use {
'antoinemadec/FixCursorHold.nvim',
config = function()
vim.g.cursorhold_updatetime = 500
end,
}
use {
'sirver/ultisnips',
ft = { 'latex', 'plaintex', 'tex' },
config = function()
vim.g.UltiSnipsExpandTrigger = '<tab>'
vim.g.UltiSnipsJumpForwardTrigger = '<c-h>'
vim.g.UltiSnipsJumpBackwardTrigger = '<c-b>'
end
}
use {
'neovim/nvim-lspconfig',
-- commit = "607ff48b970b89c3e4e3825b88d9cfd05b7aaea5",
requires = {
'nvim-lua/lsp-status.nvim',
{
'ms-jpq/coq.thirdparty',
},
{
'ms-jpq/coq_nvim',
run = ':COQdeps',
requires = {
'ms-jpq/coq.artifacts',
}, },
}, },
}) {
vim.cmd [[highlight link FloatTitle NonText]] 'jose-elias-alvarez/null-ls.nvim',
vim.cmd [[highlight link DressingInputText Normal]] requires = {
end, 'nvim-lua/plenary.nvim',
} },
use {
'antoinemadec/FixCursorHold.nvim',
config = function()
vim.g.cursorhold_updatetime = 500
end,
}
use {
'sirver/ultisnips',
ft = { 'latex', 'plaintex', 'tex' },
config = function()
vim.g.UltiSnipsExpandTrigger = '<tab>'
vim.g.UltiSnipsJumpForwardTrigger = '<c-h>'
vim.g.UltiSnipsJumpBackwardTrigger = '<c-b>'
end
}
use {
'neovim/nvim-lspconfig',
-- commit = "607ff48b970b89c3e4e3825b88d9cfd05b7aaea5",
requires = {
'nvim-lua/lsp-status.nvim',
{
'ms-jpq/coq.thirdparty',
},
{
'ms-jpq/coq_nvim',
run = ':COQdeps',
requires = {
'ms-jpq/coq.artifacts',
}, },
}, },
{ config = import('lsp'),
'jose-elias-alvarez/null-ls.nvim', }
requires = {
'nvim-lua/plenary.nvim',
},
},
},
config = import('lsp'),
}
use { use {
'lervag/vimtex', 'lervag/vimtex',
config = function() config = function()
vim.g.vimtex_view_general_viewer = 'zathura' vim.g.vimtex_view_general_viewer = 'zathura'
vim.g.vimtex_compiler_method = "latexmk" vim.g.vimtex_compiler_method = "latexmk"
-- vim.g.vimtex_view_general_options = = '-x nvim -n -c "Vimtex' -- vim.g.vimtex_view_general_options = = '-x nvim -n -c "Vimtex'
-- 'file:@pdf\\#src:@line@tex' -- 'file:@pdf\\#src:@line@tex'
-- vim.g.vimtex_quickfix_enabled = 0 -- vim.g.vimtex_quickfix_enabled = 0
-- vim.g.Tex_GotoError = 0 -- vim.g.Tex_GotoError = 0
-- vim.g.Tex_ShowErrorContext = 0 -- vim.g.Tex_ShowErrorContext = 0
end, end,
} }
use { use {
'iamcco/markdown-preview.nvim', 'iamcco/markdown-preview.nvim',
commit = "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96", commit = "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96",
run = "cd app && npm install", run = "cd app && npm install",
setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" },
config = function() config = function()
local map = vim.api.nvim_set_keymap local map = vim.api.nvim_set_keymap
map('n', '<C-m>', '<Plug>MarkdownPreviewToggle', {}) map('n', '<C-m>', '<Plug>MarkdownPreviewToggle', {})
map('n', '<Leader>m', '<Plug>MarkdownPreviewToggle', {}) map('n', '<Leader>m', '<Plug>MarkdownPreviewToggle', {})
vim.g.mkdp_markdown_css = os.getenv("HOME") .. "/.config/nvim/lua/markdownStyle.css" vim.g.mkdp_markdown_css = os.getenv("HOME") .. "/.config/nvim/lua/markdownStyle.css"
vim.g.mkdp_highlight_css = os.getenv("HOME") .. "/.cache/wal/colors.css" vim.g.mkdp_highlight_css = os.getenv("HOME") .. "/.cache/wal/colors.css"
end
}
if bootstrap.is_bootstrap then
require('packer').sync()
end end
} end,
if bootstrap.is_bootstrap then
require('packer').sync()
end
end,
config = { config = {
compile_path = require('packer.util').join_paths(vim.fn.stdpath('data'), 'site', 'plugin', 'packer_compiled.lua'), compile_path = require('packer.util').join_paths(vim.fn.stdpath('data'), 'site', 'plugin', 'packer_compiled.lua'),
} }) }
})

View File

@ -67,6 +67,15 @@ snippet table "Table" b
\end{table} $0 \end{table} $0
endsnippet endsnippet
snippet algorithm "Algorithm" b
\begin{algorithm}[${1:H}]
\caption{$2}\label{tab:$3}
\begin{algorithmic}[${4:1}]
$5
\end{algorithmic}
\end{algorithm} $0
endsnippet
priority 100 priority 100
snippet ... "Ldots" iA snippet ... "Ldots" iA
\ldots \ldots
@ -80,6 +89,10 @@ snippet section "Section" bA
\sect{$1}$0 \sect{$1}$0
endsnippet endsnippet
snippet subsection "Subsection" bA
\subsect{$1}$0
endsnippet
snippet chapter "Chapter" bA snippet chapter "Chapter" bA
\chapter{$1}$0 \chapter{$1}$0
endsnippet endsnippet
@ -130,11 +143,6 @@ snippet ali "Align" bA
\end{align*} $0 \end{align*} $0
endsnippet endsnippet
context "math()"
snippet \\\ "Backslash" Ai
\backslash
endsnippet
context "math()" context "math()"
snippet => "Implies" Ai snippet => "Implies" Ai
\implies \implies
@ -211,6 +219,12 @@ snippet -> "To" iA
\to \to
endsnippet endsnippet
priority 100
context "math()"
snippet -< "Gets" iA
\gets
endsnippet
priority 200 priority 200
context "math()" context "math()"
snippet <-> "Leftrightarrow" iA snippet <-> "Leftrightarrow" iA
@ -347,7 +361,7 @@ endsnippet
context "math()" context "math()"
snippet case "Cases" wA snippet case "Cases" wA
\begin{case} \begin{cases}
$1 $1
\end{cases} $0 \end{cases} $0
endsnippet endsnippet
@ -732,6 +746,16 @@ snippet AA "For all" iA
\forall \forall
endsnippet endsnippet
context "math()"
snippet "such that" "Such that" iA
\suchthat
endsnippet
context "math()"
snippet "suchthat" "Suchthat" iA
\suchthat
endsnippet
snippet image "Image" wA snippet image "Image" wA
\begin{figure}[${1:h}] \begin{figure}[${1:h}]
\includegraphics[width=${2:0.5}\textwidth]{$3} \includegraphics[width=${2:0.5}\textwidth]{$3}
@ -750,8 +774,7 @@ snippet plot "Plot" w
\addplot[domain=$2:$3, samples=${6:100}]{$7}; \addplot[domain=$2:$3, samples=${6:100}]{$7};
\end{axis} \end{axis}
\end{tikzpicture} \end{tikzpicture}
\caption{$8} \caption{$8}\label{plot:$9}
\label{${9:$8}}
\end{figure} $0 \end{figure} $0
endsnippet endsnippet
@ -795,7 +818,7 @@ else:
endsnippet endsnippet
snippet ssc "Inline Code" wA snippet ssc "Inline Code" wA
\inlinecode{${1}}{${2}}`!p {\inlinecode{${1}}{${2}}}`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']: if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
snip.rv = ' ' snip.rv = ' '
else: else:

View File

@ -1,24 +1,16 @@
\usepackage{amsthm, amssymb, amsmath, bm} \usepackage{amsthm, amssymb, amsmath, bm}
\definecolor{gold}{RGB}{234, 157, 52} \definecolor{base}{HTML}{212121}
\definecolor{rose}{RGB}{215, 130, 126} \definecolor{title}{HTML}{FFFFFF}
\definecolor{foam}{RGB}{86, 148, 159} \definecolor{text}{HTML}{ADADAD}
\definecolor{text}{RGB}{87, 82, 121} \definecolor{url}{HTML}{4DD0E1}
\definecolor{base}{RGB}{250, 244, 237} \definecolor{toc}{HTML}{FFAB40}
\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{background canvas}{bg=base}
\setbeamercolor{section in toc}{fg=love} \setbeamercolor{section in toc}{fg=toc}
\setbeamercolor{title}{fg=pine} \setbeamercolor{title}{fg=title}
\setbeamercolor{frametitle}{fg=pine} \setbeamercolor{frametitle}{fg=title}
\setbeamercolor{normal text}{fg=text} \setbeamercolor{normal text}{fg=text}
\setbeamercolor{item}{fg=text} \setbeamercolor{item}{fg=text}
\setbeamercolor{footline}{fg=title}
\setbeamercolor{frametitle}{fg=pine}
\setbeamercolor{footline}{fg=pine}

View File

@ -38,6 +38,8 @@
\RequirePackage{tikz-cd} \RequirePackage{tikz-cd}
\RequirePackage{pgfplots} \RequirePackage{pgfplots}
\RequirePackage{hyperref} \RequirePackage{hyperref}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\hypersetup{ \hypersetup{
colorlinks=true, colorlinks=true,
@ -108,11 +110,11 @@
\declaretheorem[style=thmsimple, numbered=no, name=Note]{note} \declaretheorem[style=thmsimple, numbered=no, name=Note]{note}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}} \newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|} \newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}} \newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2] \newcommand{\specialquote}[2]
@ -314,6 +316,11 @@
\section{#1} \section{#1}
} }
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsection{#1}
}
\def\@lecture{} \def\@lecture{}
\newcommand{\lecture}[2]{ \newcommand{\lecture}[2]{
\ifthenelse{\isempty{#2}}{ \ifthenelse{\isempty{#2}}{

View File

@ -37,6 +37,8 @@
\RequirePackage{tikz-cd} \RequirePackage{tikz-cd}
\RequirePackage{pgfplots} \RequirePackage{pgfplots}
\RequirePackage{parskip} \RequirePackage{parskip}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\pgfplotsset{ \pgfplotsset{
compat=newest, compat=newest,
@ -94,16 +96,17 @@
\declaretheorem[style=thmproof, name=Proof]{thmproof} \declaretheorem[style=thmproof, name=Proof]{thmproof}
\renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}} \renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}}
\declaretheorem[style=thmline, numbered=no, name=Proof]{expl} \declaretheorem[style=thmline, numbered=no, name=Proof]{expl}
\declaretheorem[style=thmline, numbered=no, name=Solution]{answ}
\declaretheorem[style=thmsimple, numbered=no, name=Remark]{remark} \declaretheorem[style=thmsimple, numbered=no, name=Remark]{remark}
\declaretheorem[style=thmsimple, numbered=no, name=Note]{note} \declaretheorem[style=thmsimple, numbered=no, name=Note]{note}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}} \newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|} \newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}} \newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2] \newcommand{\specialquote}[2]
@ -227,6 +230,8 @@
\renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}} \renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}}
\declaretheorem[style=thmexpl, numbered=no, name=Proof]{thmexpl} \declaretheorem[style=thmexpl, numbered=no, name=Proof]{thmexpl}
\newenvironment{expl}[1][]{\vspace{-12pt}\begin{thmexpl}}{\end{thmexpl}} \newenvironment{expl}[1][]{\vspace{-12pt}\begin{thmexpl}}{\end{thmexpl}}
\declaretheorem[style=thmexpl, numbered=no, name=Solution]{thmansw}
\newenvironment{answ}[1][]{\vspace{-12pt}\begin{thmansw}}{\end{thmansw}}
\declaretheorem[style=thmremark, numbered=no, name=Remark]{remark} \declaretheorem[style=thmremark, numbered=no, name=Remark]{remark}
\declaretheorem[style=thmremark, numbered=no, name=Note]{note} \declaretheorem[style=thmremark, numbered=no, name=Note]{note}
@ -306,6 +311,11 @@
\section{#1} \section{#1}
} }
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsection{#1}
}
\newcommand{\chapter}[1]{} \newcommand{\chapter}[1]{}
\renewcommand{\part}[1]{} \renewcommand{\part}[1]{}

View File

@ -36,6 +36,8 @@
\RequirePackage{tikz} \RequirePackage{tikz}
\RequirePackage{tikz-cd} \RequirePackage{tikz-cd}
\RequirePackage{pgfplots} \RequirePackage{pgfplots}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\pgfplotsset{ \pgfplotsset{
compat=newest, compat=newest,
@ -92,17 +94,18 @@
\declaretheorem[style=thmproof, name=Proof]{thmproof} \declaretheorem[style=thmproof, name=Proof]{thmproof}
\renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}} \renewenvironment{proof}[1][\proofname]{\begin{thmproof}}{\end{thmproof}}
\declaretheorem[style=thmline, numbered=no, name=Proof]{expl} \declaretheorem[style=thmline, numbered=no, name=Proof]{expl}
\declaretheorem[style=thmline, numbered=no, name=Solution]{answ}
\declaretheorem[style=thmsimple, numbered=no, name=Remark]{remark} \declaretheorem[style=thmsimple, numbered=no, name=Remark]{remark}
\declaretheorem[style=thmsimple, numbered=no, name=Note]{note} \declaretheorem[style=thmsimple, numbered=no, name=Note]{note}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}} \newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|} \newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}} \newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2] \newcommand{\specialquote}[2]
{ {
@ -169,5 +172,10 @@
\section*{#1} \section*{#1}
} }
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsection*{#1}
}
\makeatother \makeatother

View File

@ -37,6 +37,8 @@
\RequirePackage{tikz-cd} \RequirePackage{tikz-cd}
\RequirePackage{pgfplots} \RequirePackage{pgfplots}
\RequirePackage{hyperref} \RequirePackage{hyperref}
\RequirePackage{algpseudocode}
\RequirePackage{algorithm}
\hypersetup{ \hypersetup{
colorlinks=true, colorlinks=true,
@ -107,11 +109,11 @@
\declaretheorem[style=thmsimple, numbered=no, name=Note]{note} \declaretheorem[style=thmsimple, numbered=no, name=Note]{note}
\newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}} \newenvironment{code}[1]{\VerbatimEnvironment\begin{minted}[fontfamily=courier, frame=lines,framesep=7pt, linenos, breaklines]{#1}}{\end{minted}}
\newcommand{\inlinecode}[2]{\mintinline{#1}|#2|} \newcommand{\inlinecode}[2]{\mintinline{#1}|#2|}
\newcommand{\importcode}[2]{\inputminted[frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}} \newcommand{\importcode}[2]{\inputminted[fontfamily=courier, frame=lines, framesep=7pt, linenos, breaklines]{#1}{#2}}
\newcommand{\specialquote}[2] \newcommand{\specialquote}[2]
@ -313,6 +315,11 @@
\subsection{#1} \subsection{#1}
} }
\newcommand{\subsect}[1]{
\def\@subsection{#1}
\subsubsection{#1}
}
\newcommand{\chapter}[1]{ \newcommand{\chapter}[1]{
\section{#1} \section{#1}
} }

View File

@ -12,8 +12,13 @@
\newcommand{\Z}{\ensuremath{\mathbb{Z}}} \newcommand{\Z}{\ensuremath{\mathbb{Z}}}
\newcommand{\R}{\ensuremath{\mathbb{R}}} \newcommand{\R}{\ensuremath{\mathbb{R}}}
\newcommand{\Q}{\ensuremath{\mathbb{Q}}} \newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand\C{\ensuremath{\mathbb{C}}} \newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\D}{\ensuremath{\mathbb{D}}}
\newcommand{\suchthat}{\ensuremath{\text{ such that }}}
\newcommand{\BigO}{\ensuremath{\mathcal{O}}}
\newcommand{\BigOm}{\ensuremath{\Omega}}
\newcommand{\BigT}{\ensuremath{\Theta}}
\DeclareMathOperator{\GL}{GL} \DeclareMathOperator{\GL}{GL}
\DeclareMathOperator{\Imm}{Im} \DeclareMathOperator{\Imm}{Im}
@ -23,3 +28,4 @@
\DeclareMathOperator{\Hol}{Hol} \DeclareMathOperator{\Hol}{Hol}
\DeclareMathOperator{\Arg}{Arg} \DeclareMathOperator{\Arg}{Arg}
\DeclareMathOperator{\Log}{Log} \DeclareMathOperator{\Log}{Log}
\DeclareMathOperator{\Var}{Var}