1

Update generated nvim config

This commit is contained in:
2024-06-05 22:05:42 +02:00
parent 859ee3a2ba
commit 075fe5f587
1292 changed files with 152601 additions and 0 deletions

View File

@ -0,0 +1,35 @@
\chapter{Appendix 1}
This test document is created to test advanced TOC functionality.
\section{Appendix subsection}
\subsection{sub}
\subsubsection{subsub}
\paragraph{par}
\subsection{Test sub section 1}
\chapter{Appendix 2}
\label{chap: appendix 2}
\section{Testing TOC levels}
Testing more input and TOC levels.
\subsection{Testing TOC sub levels}
\subsubsection{Testing TOC sub sub levels}
Hello world.
\subsubsection{Text $\Gamma^{r}(\ensuremath{{\mathbf{Z}}}_p^d,\mathbf{K})$}
\subsection{Another test subsection}
\subsubsection{Other text $\Gamma^{r}$}
\section{Testing more appendix levels}
Testing more input and TOC levels.
\subsection{Testing TOC sub levels}

View File

@ -0,0 +1,27 @@
\chapter{No numbers in backmatter 1}
\section{Section 1}
\section{Section 2}
\chapter{No numbers in backmatter 2}
\section{Section 1}
\section{Section 2}
%\label{sec:back_section2}
% vimtex-include: minivimrc
% \bibliography{test}
% \printbibliography
% \printbibliography{Testing}
% \printbibliography[Some option]{Testing}
% \printbibheading
% \printbibheading{Testing}
% \printbibheading[Some option]{Testing}
% \begin{thebibliography}
% \end{thebibliography}
% \printindex
% \printindex[Some option]

View File

@ -0,0 +1,3 @@
@Test{
test = {test},
}

View File

@ -0,0 +1,87 @@
% TeX Root = main.tex
\chapter[Short title]{Long title}
\begin{equation}
\label{eq:test}
f=1
\end{equation}
\chapter{Parsing {toc entries works
also for} multi-line \texorpdfstring{stuff}{entries}
--- Hurray!}
\section{\texorpdfstring{\textcolor{red}{Very important title}} {Very important title}}
\label{sec:test2}
\section{Test section 1}\label{sec:TesSec1}
% \includegraphics{test.jpg}
\todo[inline]{
En test til her, ja.}
\begin{figure}[htpb]
\centering
\input{test.tikz}
\caption{Silly example}
\label{fig:example1}
\end{figure}
\subsection{sub}
\subsubsection{subsub}
\paragraph{par}
\subsection{Test sub section 1}
\section{$\alpha$}
\subsection{Test sub section 1}
\subsection{Test sub section 2}
Some text.
\chapter[Parsing toc specific entries works
also for multi-line --- A second Hurray!]{Parsing {toc entries works
also for} multi-line \texorpdfstring{stuff}{entries}
--- Hurray!}
\chapter*{Test chapter 1}
Test of starred chapter.
\chapter{Test chapter 2}
\label{chap:second test}
\section{Testing TOC levels}
Testing more input and TOC levels.
\subsection{Testing TOC sub levels}
\subsubsection{Testing TOC sub sub levels}
Hello world.
\paragraph{something}
asdasd
\subsubsection{Text $\Gamma^{r}(\ensuremath{{\mathbf{Z}}}_p^d,\mathbf{K})$}
\begin{equation}
\label{eq:test equation label}
f(x) = 1
\end{equation}
\subsection{Another test subsection}
\subsubsection{Other text $\Gamma^{r}$}
\paragraph{something}
asdasd
\section{Testing more appendix levels}
Testing more input and TOC levels.
\subsection{Testing TOC sub levels}
\section{Testing included section contents}
\input{content/sections}

View File

@ -0,0 +1,9 @@
\chapter{Preface}
Preface.
\section{Acknowledgements}
\chapter[Other]{Other frontmatter chapter}
\label{chap:test}
\tableofcontents

View File

@ -0,0 +1,38 @@
\documentclass{book}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{todonotes}
\input{preamble}
% \addbibresource{book.bib}
% \addglobalbib{book.bib}
\begin{document}
\frontmatter
\input{ frontmatter}
\mainmatter
% Todo This should NOT match
\include{content/chapters}
\todo[inline]{Match more things}
\appendix
\input{appendix}
% TODO: This should be much better!
% IMPORTANT: Mucho importante
% IMPORTANTE: Very important
\backmatter
% FIXME Be smarter
\input{backmatter}
\begin{equation}
\label{eq:finito}
f=2
\end{equation}
\bibliography{book.bib,test}
\end{document}

View File

@ -0,0 +1,46 @@
set nocompatible
set runtimepath^=../..
set runtimepath+=../../after
filetype plugin indent on
syntax enable
nnoremap q :qall!<cr>
let g:vimtex_toc_config = {
\ 'layer_status' : {'include' : 0},
\ 'layer_keys' : {'content' : '<c-c>'},
\}
let g:vimtex_toc_todo_labels = {
\ 'TODO': 'TODO: ',
\ 'FIXME': 'FIXME: ',
\ 'IMPORTANT': 'IMPORTANT: ',
\ 'IMPORTANTE': 'IMPORTANT: ',
\}
" let g:vimtex_compiler_latexmk = {'out_dir': 'out'}
let g:vimtex_view_automatic = 0
let g:vimtex_quickfix_mode = 0
augroup vimtex_customization
autocmd!
autocmd FileType tex call CreateTocs()
augroup END
function CreateTocs()
let g:custom_toc1 = vimtex#toc#new({
\ 'layers' : ['label', 'todo'],
\ 'todo_sorted' : 0,
\ 'show_help' : 0,
\ 'show_numbers' : 0,
\ 'mode' : 4,
\})
nnoremap <silent> \ly :call g:custom_toc1.open()<cr>
let g:custom_toc2 = vimtex#toc#new({
\ 'layers' : ['include'],
\ 'show_help' : 0,
\})
nnoremap <silent> \lY :call g:custom_toc2.open()<cr>
endfunction
silent edit main.tex

View File

@ -0,0 +1,5 @@
% Commands
\usepackage{color}
\usepackage{hyperref}
% FIXME Add more packages and commands

View File

@ -0,0 +1,3 @@
\begin{tikzpicture}
blahr
\end{tikzpicture}