From 7c0985035b6d8edb8cb85aada057183807ca8828 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Tue, 10 May 2016 21:16:31 +0200 Subject: [PATCH] add a shortcut command for text bold. --- commun/commun.sty | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commun/commun.sty b/commun/commun.sty index cc2d464..44c50b4 100644 --- a/commun/commun.sty +++ b/commun/commun.sty @@ -133,6 +133,7 @@ \newcommand{\bi}{\begin{itemize}} \newcommand{\ei}{\end{itemize}} +% barrer du texte \newcommand\hcancel[2][black]{ \setbox0=\hbox{$#2$}% \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{2pt}}}}#2 @@ -141,6 +142,9 @@ % \setbox0=\hbox{$#3$}% % \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{#2}}}} {#3} % } + +% texte gras +\newcommand{\tb}[1]{\textbf{#1}} %--%