Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Loïc Barrault
supports_cours
Commits
333d648c
Commit
333d648c
authored
Nov 15, 2019
by
Loïc Barrault
Browse files
more macros
parent
84b1b09d
Changes
3
Show whitespace changes
Inline
Side-by-side
macros.tex
View file @
333d648c
...
...
@@ -12,6 +12,7 @@
\usepackage
{
bbding
}
\usepackage
{
multirow
}
\usepackage
{
bm
}
%\usepackage{enumitem}
\usepackage
[absolute,showboxes,overlay]
{
textpos
}
\textblockorigin
{
10mm
}{
10mm
}
% origine des positions
...
...
@@ -107,6 +108,9 @@
\newcommand
{
\annot
}
[2]
{
[#1]
$_{
#
2
}$}
%\newcommand{\annot}[2]{#1\_#2}
\newcommand
{
\B
}
[1]
{
B
$_{
#
1
}$}
\newcommand
{
\I
}
[1]
{
I
$_{
#
1
}$}
\graphicspath
{{
../
}{
../figures/
}{
./figures/
}}
%{../figures/figures.pivot}{../figures/figures.dataselection}}
macros_beamer.tex
View file @
333d648c
...
...
@@ -26,13 +26,11 @@
}
\newcommand
{
\source
}
[1]
{{
\color
{
light
gray
}
\tiny
{
[Source: #1]
}}}
\newcommand
{
\source
}
[1]
{{
\color
{
dark
gray
}
\tiny
{
[Source: #1]
}}}
% My highlight
%\newcommand{\myhl}[2]{\colorbox{#1}{\strut #2}} %usage \myhl{color}{text}
%\newcommand<>\hlbox[2]{\only#3{\colorbox{#1}{#2}}}
\newcommand
<>
{
\myhl
}
[2]
{
%
\alt
#3
{
\begingroup\setlength
{
\fboxsep
}{
0pt
}
%
\colorbox
{
#1
}{
\vphantom
{
Ay
}
#2
}
%
...
...
@@ -41,15 +39,6 @@
\colorbox
{
white
}{
\vphantom
{
Ay
}
#2
}
%
\endgroup
}
}
% \colorbox{#1}{\hspace*{2pt}\vphantom{Ay}#2\hspace*{2pt}}%
%\newcommand<>{\myhlol}[2]{%
% \only#3{ \begingroup\setlength{\fboxsep}{1pt}%
% \colorbox{#1}{\vphantom{Ay}#2}%
% \endgroup
% }
%}
\setbeamercolor
{
alerted text
}{
fg=cyan
}
...
...
mycolors.tex
View file @
333d648c
...
...
@@ -25,5 +25,9 @@
\newcommand
{
\liumlightgray
}
[1]
{{
\color
{
liumlightgray
}
#1
}}
\newcommand
{
\myemph
}
[1]
{
\liumcyan
{
\textbf
{
#1
}}}
\newcommand
{
\myemphb
}
[1]
{
\orange
{
\textbf
{
#1
}}}
\newcommand
<>
{
\mycolor
}
[2]
{
%
\alt
#3
{{
\color
{
#1
}{
#2
}}}{
#2
}
%
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment