From fea7ff3efd694820aa43e5d5fbd02f9c993d1594 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 1 Dec 2019 22:09:28 +0100 Subject: [PATCH] Change \tup command to \up --- jl-cours/jl-cours.cls | 8 ++++---- shortcuts/shortcuts.sty | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jl-cours/jl-cours.cls b/jl-cours/jl-cours.cls index 2ec8bd9..7e71969 100644 --- a/jl-cours/jl-cours.cls +++ b/jl-cours/jl-cours.cls @@ -237,16 +237,16 @@ %% classe \NewDocumentCommand{\classe}{ G{2nde} }{ \ifthenelse{ \equal{#1}{2nde} }{ - \lohead[2\tup{nde}]{2\tup{nde}} + \lohead[2\tup{nde}]{2\up{nde}} }{ \ifthenelse{ \equal{#1}{1gen} }{ - \lohead[1\tup{ère}]{1\tup{ère}} + \lohead[1\tup{ère}]{1\up{ère}} }{ \ifthenelse{ \equal{#1}{1stg} }{ - \lohead[1\tup{ère}STMG]{1\tup{ère}STMG} + \lohead[1\tup{ère}STMG]{1\up{ère}STMG} }{ \ifthenelse{ \equal{#1}{tes} }{ - \lohead[T\tup{ale}ES]{T\tup{ale}ES} + \lohead[T\tup{ale}ES]{T\up{ale}ES} }{ \lohead{} } diff --git a/shortcuts/shortcuts.sty b/shortcuts/shortcuts.sty index f6a0499..6de6345 100644 --- a/shortcuts/shortcuts.sty +++ b/shortcuts/shortcuts.sty @@ -91,7 +91,7 @@ %% textsuperscript and textsubscript %% -\NewDocumentCommand \tup { g } { +\NewDocumentCommand \up { g } { \textsuperscript{#1} }