texlab: switch pdflatex with xelatex
This commit is contained in:
@@ -41,7 +41,7 @@ lsp.texlab.setup({
|
|||||||
settings = {
|
settings = {
|
||||||
texlab = {
|
texlab = {
|
||||||
build = {
|
build = {
|
||||||
args = { '-pdf', '-interaction=nonstopmode', '-synctex=1', '-shell-escape', '%f' },
|
args = { '-xelatex', '-interaction=nonstopmode', '-synctex=1', '-shell-escape', '%f' },
|
||||||
onSave = true,
|
onSave = true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ return require('packer').startup(function(use)
|
|||||||
['V'] = 'VL',
|
['V'] = 'VL',
|
||||||
[''] = "VB",
|
[''] = "VB",
|
||||||
['s'] = "VB",
|
['s'] = "VB",
|
||||||
|
['c'] = "C",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- actually load bar
|
-- actually load bar
|
||||||
@@ -185,6 +186,7 @@ return require('packer').startup(function(use)
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- LSP (install with `:LSPInstall`, inspect with `:LSPInfo`)
|
-- LSP (install with `:LSPInstall`, inspect with `:LSPInfo`)
|
||||||
|
-- Config in lsp.lua
|
||||||
use("neovim/nvim-lspconfig") -- Easy to manage LSP servers (attach etc)
|
use("neovim/nvim-lspconfig") -- Easy to manage LSP servers (attach etc)
|
||||||
use("williamboman/nvim-lsp-installer") -- Easy to install LSP servers
|
use("williamboman/nvim-lsp-installer") -- Easy to install LSP servers
|
||||||
use("simrat39/rust-tools.nvim") -- Cooler LSP stuff for Rust
|
use("simrat39/rust-tools.nvim") -- Cooler LSP stuff for Rust
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
\date{\today}
|
\date{\today}
|
||||||
|
|
||||||
\usepackage[ngerman]{babel}
|
\usepackage[ngerman]{babel}
|
||||||
\usepackage[T1]{fontenc}
|
% only need this with pdflatex, don't use with xelatex
|
||||||
|
%\usepackage[T1]{fontenc}
|
||||||
|
|
||||||
\usepackage{a4wide}
|
\usepackage{a4wide}
|
||||||
\usepackage{mathtools}
|
\usepackage{mathtools}
|
||||||
@@ -29,7 +30,6 @@
|
|||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
\usepackage{minted}
|
\usepackage{minted}
|
||||||
\definecolor{bg}{rgb}{0.95, 0.95, 1.0}
|
\definecolor{bg}{rgb}{0.95, 0.95, 1.0}
|
||||||
\usepackage{inconsolata}
|
|
||||||
|
|
||||||
%%% define own enumeration styles
|
%%% define own enumeration styles
|
||||||
% use custom labels with `\begin{enumerate}[label=$\bullet$]`
|
% use custom labels with `\begin{enumerate}[label=$\bullet$]`
|
||||||
|
|||||||
@@ -5,8 +5,9 @@
|
|||||||
\date{\today}
|
\date{\today}
|
||||||
|
|
||||||
\usepackage[ngerman]{babel}
|
\usepackage[ngerman]{babel}
|
||||||
\usepackage[T1]{fontenc}
|
% only use with pdflatex, don't use with xelatex
|
||||||
\usepackage[utf8]{inputenc}
|
%\usepackage[T1]{fontenc}
|
||||||
|
%\usepackage[utf8]{inputenc}
|
||||||
|
|
||||||
\usepackage{mathtools}
|
\usepackage{mathtools}
|
||||||
\usepackage{amsthm}
|
\usepackage{amsthm}
|
||||||
@@ -22,7 +23,15 @@
|
|||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
\usepackage{minted}
|
\usepackage{minted}
|
||||||
\definecolor{bg}{rgb}{0.95, 0.95, 1.0}
|
\definecolor{bg}{rgb}{0.95, 0.95, 1.0}
|
||||||
\usepackage{inconsolata}
|
|
||||||
|
%%% define own enumeration styles
|
||||||
|
% use custom labels with `\begin{enumerate}[label=$\bullet$]`
|
||||||
|
\usepackage{enumerate}
|
||||||
|
\usepackage{enumitem}
|
||||||
|
\setlist{nosep}
|
||||||
|
\setlist[enumerate, 1]{label=$\bullet$}
|
||||||
|
\setlist[enumerate, 2]{label=$\bullet$}
|
||||||
|
\setlist[enumerate, 3]{label=$\bullet$}
|
||||||
|
|
||||||
% page numbers in the bottom right
|
% page numbers in the bottom right
|
||||||
\addtobeamertemplate{navigation symbols}{}{%
|
\addtobeamertemplate{navigation symbols}{}{%
|
||||||
|
|||||||
Reference in New Issue
Block a user