add a shortcut command for text bold.

This commit is contained in:
Jeff Lance 2016-05-10 21:16:31 +02:00
parent 21bbaf4935
commit 7c0985035b

View File

@ -133,6 +133,7 @@
\newcommand{\bi}{\begin{itemize}} \newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}} \newcommand{\ei}{\end{itemize}}
% barrer du texte
\newcommand\hcancel[2][black]{ \newcommand\hcancel[2][black]{
\setbox0=\hbox{$#2$}% \setbox0=\hbox{$#2$}%
\rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{2pt}}}}#2 \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{2pt}}}}#2
@ -141,6 +142,9 @@
% \setbox0=\hbox{$#3$}% % \setbox0=\hbox{$#3$}%
% \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{#2}}}} {#3} % \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{#2}}}} {#3}
% } % }
% texte gras
\newcommand{\tb}[1]{\textbf{#1}}
%--% %--%