Browse Source

espaces insecables tailles fixes

Hugo Roy 8 years ago
parent
commit
7da2ed8a5f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      templates/main.md

+ 2 - 2
templates/main.md

@@ -84,8 +84,8 @@ header-includes:
   - \newcounter{paranumero}
   - \newcounter{paranumero}
   - \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{¶\thinspace\ref{#1}}}
-  - \newcommand{\vparnum}[1]{\textsf{¶\thinspace\ref{#1}} page~\pageref{#1}}
+  - \newcommand{\parnum}[1]{\textsf{¶\nobreak\thinspace\ref{#1}}}
+  - \newcommand{\vparnum}[1]{\textsf{¶\nobreak\thinspace\ref{#1}} page\nobreak\hspace{0.035in}\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}}