Browse Source

vparnum like vref

Hugo Roy 8 years ago
parent
commit
e552e4eea9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      templates/main.md

+ 1 - 0
templates/main.md

@@ -88,6 +88,7 @@ header-includes:
   - \newif\ifcounting\countingtrue
   - \newif\ifcounting\countingtrue
   - \newcommand{\para}[1]{\noindent\ifcounting\refstepcounter{paranumero}\fi{\small\strut\llap{\textsf{\scriptsize \theparanumero}\quad\quad}}\label{#1}}
   - \newcommand{\para}[1]{\noindent\ifcounting\refstepcounter{paranumero}\fi{\small\strut\llap{\textsf{\scriptsize \theparanumero}\quad\quad}}\label{#1}}
   - \newcommand{\parnum}[1]{\textsf{\small ¶~\ref{#1}}}
   - \newcommand{\parnum}[1]{\textsf{\small ¶~\ref{#1}}}
+  - \newcommand{\vparnum}[1]{\textsf{\small ¶~\ref{#1}} page~\pageref{#1}}
   - \let\oldquote\quote
   - \let\oldquote\quote
   - \let\endoldquote\endquote
   - \let\endoldquote\endquote
   - \renewenvironment{quote}{\begin{oldquote}\renewcommand{\para}[1]{}}{\end{oldquote}}
   - \renewenvironment{quote}{\begin{oldquote}\renewcommand{\para}[1]{}}{\end{oldquote}}