From 62bd666c740dbd8ded6481054c5db762da7f4bdf Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Wed, 29 Mar 2017 17:53:10 +0200 Subject: [PATCH] Too much changes. --- commun/commun.sty | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/commun/commun.sty b/commun/commun.sty index 60da56d..72e1271 100644 --- a/commun/commun.sty +++ b/commun/commun.sty @@ -69,6 +69,7 @@ \RequirePackage{siunitx} \RequirePackage{asymptote} \RequirePackage{mathrsfs} +\RequirePackage{tipfr} % tableau \RequirePackage{array} @@ -155,6 +156,7 @@ \newfontfamily\PokemonHollow[Ligatures=TeX]{Pokemon Hollow} \newfontfamily\PokemonSolid[Ligatures=TeX]{Pokemon Solid} \newfontfamily\ScratchedLetters[Ligatures=TeX]{Scratched Letters} +\newfontfamily\TrebuchetMS[Ligatures=TeX]{Trebuchet MS} % tentative pour une commande généraliste % \NewDocumentCommand \setFont { O{\familydefault} O{\encodingdefault} }{% % \fontencoding{#2}% @@ -174,9 +176,19 @@ % Create new color commands \newColorCommand{red} \newColorCommand{white} +\newColorCommand{gray} %%%%%%%%%%%%%%%% +%%% TiKZ %%% +% Define the possibility to make (dis)appear something in a beamer. +\tikzset{ + invisible/.style={opacity=0}, + visible on/.style={alt=#1{}{invisible}}, + alt/.code args={<#1>#2#3}{% + \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path + }, +} %---------------