summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/minitoc/minitoc.ins
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/minitoc/minitoc.ins')
-rw-r--r--Master/texmf-dist/source/latex/minitoc/minitoc.ins21
1 files changed, 17 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/minitoc/minitoc.ins b/Master/texmf-dist/source/latex/minitoc/minitoc.ins
index cc57a7ff421..a5e69cd5ee8 100644
--- a/Master/texmf-dist/source/latex/minitoc/minitoc.ins
+++ b/Master/texmf-dist/source/latex/minitoc/minitoc.ins
@@ -1312,6 +1312,7 @@ numhead_negative "nombres"
\providecommand{\BibTeX}{{\rmfamily B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\providecommand{\SLaTeX}{{\rmfamily S\LaTeX}}
+\renewcommand{\SLaTeX}{{\sffamily S\LaTeX}} % \sffamily to be coherent with other package names
%\renewcommand{\BibTeX}{{\rm B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em
% T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\renewcommand{\BibTeX}{{\upshape B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em
@@ -1403,12 +1404,24 @@ numhead_negative "nombres"
\def\ps@chapterverso{\ps@empty}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatother
-%\def\name#1#2{\penalty-1\mbox{\textrm{#1}~\textsc{#2}}}
-\def\name#1#2{{\protect\linebreak[0]}\mbox{\textrm{#1}~\textsc{#2}}}
+%old%
+\def\oname#1#2{{\protect\linebreak[0]}\mbox{\textrm{#1}~\textsc{#2}}\oinameA{#1}{#2}\oinameB{#1}{#2}}
+\def\oiname#1#2{\oinameA{#1}{#2}\oinameB{#1}{#2}}
+\newcommand{\name}[2]{{\protect\linebreak[0]}\mbox{\textrm{#1}~\textsc{#2}}\inameA{#1}{#2}\inameB{#1}{#2}}
+\newcommand{\iname}[2]{\inameA{#1}{#2}\inameB{#1}{#2}}
+\newcommand{\uname}[2]{{\protect\linebreak[0]}\mbox{\textrm{#1}~\textsc{#2}}}
+\newcommand{\namea}[3]{{\protect\linebreak[0]}\mbox{\textrm{#1}~\textsc{#2}}\inameaA{#1}{#2}{#3}\inameaB{#1}{#2}{#3}}
+\newcommand{\inamea}[3]{\inameaA{#1}{#2}{#3}\inameaB{#1}{#2}{#3}}
%\def\xname#1#2{\mbox{\textrm{#1}~\textsc{#2}}}
+\let\oxname\oname
\let\xname\name
-%\def\vname#1#2{\mbox{\textsc{#2}~\textrm{\upshape{#1}}}} % vietnamese name: last-first
-\def\vname#1#2{{\protect\linebreak[0]}\mbox{\textsc{#2}~\textrm{\upshape{#1}}}} % vietnamese name: last-first
+% vietnamese name: last-first
+%old%
+\def\ovname#1#2{{\protect\linebreak[0]}\mbox{\textsc{#2}~\textrm{\upshape{#1}}}\oinameA{#2}{#1}\oinameB{#2}{#1}}
+\newcommand{\vname}[2]{{\protect\linebreak[0]}\mbox{\textsc{#2}~\textrm{\upshape{#1}}}\inameA{#2}{#1}\inameB{#2}{#1}}
+\newcommand{\ivname}[2]{\inameA{#2}{#1}\inameB{#2}{#1}}
+\newcommand{\vnamea}[3]{{\protect\linebreak[0]}\mbox{\textsc{#2}~\textrm{\upshape{#1}}}\inameaA{#2}{#1}{#3}\inameaB{#2}{#1}{#3}}
+\newcommand{\ivnamea}[3]{\inameaA{#2}{#1}{#3}\inameaB{#2}{#1}{#3}}
\parskip=12pt
%\def\bs{{\ttfamily\char'134}}
\def\bs{\textbackslash} %ESSAI