Skip to content

Commit

Permalink
fixing/enhancing acrofootnote
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Willner committed Apr 12, 2017
1 parent 44dc167 commit c442f10
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion thesis_template.config.tex
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,22 @@
\makeatother
\ifnewacro% show footnotes only once
\ExplSyntaxOn%
\RenewAcroCommand\ac%
{
\acro_if_acronym_used:nF {#1}
{ \acrousefootnotetrue\acro_cite: }
\acro_use:n {#1}
}
\RenewAcroCommand\Ac%
{
\acro_if_acronym_used:nF {#1}
{ \acrousefootnotetrue\acro_cite: }
\acro_first_upper:
\acro_use:n {#1}
}
\NewAcroCommand\aclu%
{
\acro_is_used:nF {#1}
\acro_if_acronym_used:nF {#1}
{ \acrousefootnotetrue\acro_cite: }
\acro_long:n {#1}
}
Expand Down

0 comments on commit c442f10

Please sign in to comment.