[Docs] Update for new import scheme
This commit is contained in:
3
dist/full.tex
vendored
3
dist/full.tex
vendored
@@ -1041,6 +1041,9 @@
|
|||||||
\printnoidxglossaries
|
\printnoidxglossaries
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% ┌ ┐
|
||||||
|
% │ Minted │
|
||||||
|
% └ ┘
|
||||||
\usepackage{minted}
|
\usepackage{minted}
|
||||||
\usepackage{fancyvrb}
|
\usepackage{fancyvrb}
|
||||||
|
|
||||||
|
|||||||
BIN
docs/docs.pdf
BIN
docs/docs.pdf
Binary file not shown.
@@ -1,8 +1,6 @@
|
|||||||
\documentclass{article}
|
\documentclass{article}
|
||||||
|
|
||||||
\newcommand{\dir}{~/projects/latex}
|
\input{~/projects/latex/dist/full.tex}
|
||||||
\input{\dir/include.tex}
|
|
||||||
\load{full}
|
|
||||||
|
|
||||||
\setup{Docs - \LaTeX \hspace{0mm} helpers}
|
\setup{Docs - \LaTeX \hspace{0mm} helpers}
|
||||||
\setLang{en}
|
\setLang{en}
|
||||||
|
|||||||
@@ -5,9 +5,7 @@ You can type \texttt{latex-prepare} and press tab, if you have installed the VSC
|
|||||||
\begin{minted}{latex}
|
\begin{minted}{latex}
|
||||||
\documentclass{article}
|
\documentclass{article}
|
||||||
|
|
||||||
\newcommand{\dir}{~/path/to/helper} % TODO: Change your path here! No trailing slashes!
|
\input{~/projects/latex/dist/recommended.tex} % TODO: Change here your inclusion level and path
|
||||||
\input{\dir/include.tex}
|
|
||||||
\load{recommended} % TODO: Change the inclusion level (if necessary), see below
|
|
||||||
|
|
||||||
\setup{Type your title here}
|
\setup{Type your title here}
|
||||||
|
|
||||||
@@ -19,15 +17,19 @@ Type your \LaTeX here
|
|||||||
\end{document}
|
\end{document}
|
||||||
\end{minted}
|
\end{minted}
|
||||||
|
|
||||||
The \verb|\load| command takes one parameter, which can be one of the following:
|
On the line with the TODO, you can change the import path, as well as scope.
|
||||||
|
Simply replace the ``recommended'' with any of the below.
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \texttt{minimal} Just the core styling and core functionality.
|
\item \texttt{minimal} Just the core styling and core functionality.
|
||||||
\item \texttt{most} Includes Math, CS, Language and all styling.
|
\item \texttt{most} Includes Math, CS, Language and all styling.
|
||||||
\item \texttt{recommended} The recommended setup. Includes BibTeX in addition to what is in most
|
\item \texttt{recommended} The recommended setup. Includes BibTeX in addition to what is in most
|
||||||
\item \texttt{all} If you want to also include glossaries or code with highlighting
|
\item \texttt{full} If you want to also include glossaries or code with highlighting
|
||||||
\item \texttt{letter} If you want to typeset a letter (see \ref{sec:letters})
|
\item \texttt{letter} If you want to typeset a letter (see \ref{sec:letters})
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
|
If you are using the old import style, you can use the \verb|\load| command with these options
|
||||||
|
|
||||||
|
|
||||||
\subsection{Configuration}
|
\subsection{Configuration}
|
||||||
You can set a global config in config file in helper files directory. The file is located at
|
You can set a global config in config file in helper files directory. The file is located at
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
% ┌ ┐
|
||||||
|
% │ Minted │
|
||||||
|
% └ ┘
|
||||||
\usepackage{minted}
|
\usepackage{minted}
|
||||||
\usepackage{fancyvrb}
|
\usepackage{fancyvrb}
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,7 @@
|
|||||||
"prefix": "latex-prepare",
|
"prefix": "latex-prepare",
|
||||||
"body": [
|
"body": [
|
||||||
"\\documentclass{article}\n",
|
"\\documentclass{article}\n",
|
||||||
"\\newcommand{\\dir}{~/projects/latex} % IMPORTANT: No trailing slashes!",
|
"\\input{~/projects/latex/dist/recommended.tex}\n",
|
||||||
"\\input{\\dir/include.tex}",
|
|
||||||
"\\load{recommended}\n",
|
|
||||||
"\\setup{$1}\n",
|
"\\setup{$1}\n",
|
||||||
"\\begin{document}",
|
"\\begin{document}",
|
||||||
"\\startDocument",
|
"\\startDocument",
|
||||||
@@ -430,9 +428,7 @@
|
|||||||
"prefix": "latex-letter",
|
"prefix": "latex-letter",
|
||||||
"body": [
|
"body": [
|
||||||
"\\documentclass[12pt,a4paper]{scrlttr2}\n",
|
"\\documentclass[12pt,a4paper]{scrlttr2}\n",
|
||||||
"\\newcommand{\\dir}{~/projects/latex} % IMPORTANT: No trailing slashes!",
|
"\\input{~/projects/latex/dist/letter.tex}\n",
|
||||||
"\\input{\\dir/include.tex}",
|
|
||||||
"\\load{letter}\n",
|
|
||||||
"% Subject",
|
"% Subject",
|
||||||
"\\setkomavar{subject}{$1}",
|
"\\setkomavar{subject}{$1}",
|
||||||
"\\begin{document}\\raggedright",
|
"\\begin{document}\\raggedright",
|
||||||
|
|||||||
Reference in New Issue
Block a user