add animation support for hl
This commit is contained in:
parent
1cebc13b2d
commit
7a5527d445
2 changed files with 6 additions and 6 deletions
10
README.md
10
README.md
|
@ -32,11 +32,11 @@ Options disponibles :
|
|||
|
||||
Commandes disponibles :
|
||||
|
||||
| Commande | Utilité |
|
||||
| :-----------------------------------: | :--------------------------------------------------------------------------------- |
|
||||
| `\ul{texte}` | Souligne du texte |
|
||||
| `\hl{texte}` ou `\hl[couleur]{texte}` | Met en surbrillance du texte |
|
||||
| `\code[minted-opts]{lang}{filepath}` | Ajoute un fichier via minted `\inputminted` et l'ajoute en pièce jointe du fichier |
|
||||
| Commande | Utilité |
|
||||
| :---------------------------------------: | :---------------------------------------------------------------------------------------- |
|
||||
| `\ul{texte}` | Souligne du texte |
|
||||
| `\hl<>{texte}` ou `\hl<>[couleur]{texte}` | Met en surbrillance du texte, `<>` permet de choisir sur quelles diapos appliquer l'effet |
|
||||
| `\code[minted-opts]{lang}{filepath}` | Ajoute un fichier via minted `\inputminted` et l'ajoute en pièce jointe du fichier |
|
||||
|
||||
## [Exemples](./examples)
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
\newcommand{\ul}[1]{\underline{\smash{#1}}}
|
||||
|
||||
% Met en surbrillance du texte
|
||||
\newcommand{\hl}[2][yellow]{\fboxsep0pt{\pgfsetfillopacity{0.5}\colorbox{#1}{\pgfsetfillopacity{1}\strut#2}}}
|
||||
\newcommand<>{\hl}[2][yellow]{\alt#3{\mbox{\fboxsep0pt\pgfsetfillopacity{0.5}\colorbox{#1}{\pgfsetfillopacity{1}\strut#2}}}{#2}}
|
||||
|
||||
% Avertissement par rapport à l'appendix
|
||||
\renewcommand\appendixname{Appendix}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue