disable indexing with beamer clas
This commit is contained in:
parent
51afbd7188
commit
3483a24dca
1 changed files with 12 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
||||||
__HEADER__(Declaring of math symbols with automatic indexing)
|
__HEADER__(Declaring of math symbols with automatic indexing)
|
||||||
|
|
||||||
|
\@ifclassloaded{beamer}{}{
|
||||||
\RequirePackage{imakeidx}
|
\RequirePackage{imakeidx}
|
||||||
|
}
|
||||||
\RequirePackage{xparse}
|
\RequirePackage{xparse}
|
||||||
|
|
||||||
% Keys used for declaring symbols
|
% Keys used for declaring symbols
|
||||||
|
@ -35,6 +37,7 @@ __HEADER__(Declaring of math symbols with automatic indexing)
|
||||||
{
|
{
|
||||||
\bool_if:cF { used_#2 }
|
\bool_if:cF { used_#2 }
|
||||||
{
|
{
|
||||||
|
\@ifclassloaded{beamer}{}{
|
||||||
\index[#1]
|
\index[#1]
|
||||||
{
|
{
|
||||||
#7
|
#7
|
||||||
|
@ -42,6 +45,7 @@ __HEADER__(Declaring of math symbols with automatic indexing)
|
||||||
$#4{#5}#6$
|
$#4{#5}#6$
|
||||||
#3
|
#3
|
||||||
}
|
}
|
||||||
|
}
|
||||||
\bool_gset_true:c { used_#2 }
|
\bool_gset_true:c { used_#2 }
|
||||||
}
|
}
|
||||||
#4{#5}
|
#4{#5}
|
||||||
|
|
Loading…
Reference in a new issue