data screenshots, texlab label prefix fix
This commit is contained in:
@@ -40,18 +40,18 @@
|
||||
|
||||
% new chapter, section, ... plus a few addons
|
||||
% part
|
||||
\newcommand{\newpart}[2]{\FloatBarrier\cleardoublepage\part{#1}\label{part:#2}}%
|
||||
\newcommand{\newpart}[2]{\FloatBarrier\cleardoublepage\part{#2}\label{part:#1}}%
|
||||
% chapter
|
||||
\newcommand{\newchapter}[2]{\FloatBarrier\chapter{#1}\label{chp:#2}\renewcommand{\pwd}{#2}}
|
||||
\newcommand{\newchapter}[2]{\FloatBarrier\chapter{#2}\label{chp:#1}\renewcommand{\pwd}{#1}}
|
||||
\newcommand{\newchapterNoTOC}[1]{\FloatBarrier\stepcounter{chapter}\chapter*{#1}}%
|
||||
% section
|
||||
\newcommand{\newsection}[2]{\FloatBarrier\vspace{5mm}\section{#1}\label{sec:#2}}%
|
||||
\newcommand{\newsection}[2]{\FloatBarrier\vspace{5mm}\section{#2}\label{sec:#1}}%
|
||||
\newcommand{\newsectionNoTOC}[1]{\FloatBarrier\vspace{5mm}\stepcounter{section}\section*{#1}}%
|
||||
% subsection
|
||||
\newcommand{\newsubsection}[2]{\FloatBarrier\vspace{3mm}\subsection{#1}\label{sec:#2}}%
|
||||
\newcommand{\newsubsection}[2]{\FloatBarrier\vspace{3mm}\subsection{#2}\label{sec:#1}}%
|
||||
\newcommand{\newsubsectionNoTOC}[1]{\FloatBarrier\vspace{3mm}\stepcounter{subsection}\subsection*{#1}}%
|
||||
% subsubsection
|
||||
\newcommand{\newsubsubsection}[2]{\vspace{2mm}\subsubsection{#1}\label{sec:#2}}%
|
||||
\newcommand{\newsubsubsection}[2]{\vspace{2mm}\subsubsection{#2}\label{sec:#1}}%
|
||||
\newcommand{\newsubsubsectionNoTOC}[1]{\vspace{2mm}\stepcounter{subsubsection}\subsubsection*{#1}}%
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
|
||||
% figures without frames
|
||||
% standard
|
||||
\newcommand{\fig}[3]{\begin{figure}\centering\includegraphics[width=\textwidth]{#1}\caption{#2}\label{fig:#3}\end{figure}}%
|
||||
\newcommand{\fig}[3]{\begin{figure}\centering\includegraphics[width=\textwidth]{#2}\caption{#3}\label{fig:#1}\end{figure}}%
|
||||
% with controllable parameters
|
||||
\newcommand{\figc}[4]{\begin{figure}\centering\includegraphics[#1]{#2}\caption{#3}\label{fig:#4}\end{figure}}%
|
||||
% two subfigures
|
||||
@@ -199,4 +199,4 @@
|
||||
% slighly darkened colors for text
|
||||
\definecolor{bkred}{rgb}{0.9,0,0}
|
||||
\definecolor{bkgreen}{rgb}{0,0.67,0}
|
||||
\definecolor{bkblue}{rgb}{0,0,0.75}
|
||||
\definecolor{bkblue}{rgb}{0,0,0.75}
|
||||
|
||||
Reference in New Issue
Block a user