make author acronym available
This commit is contained in:
parent
c8deda5af8
commit
75a2b137ec
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ def make_default_macros(formatter: PyTeX.formatter.TexFormatter, latex_file_type
|
|||
formatter.add_replacement('{Type} prefix'.format(Type=latex_file_type), '{}', PyTeX.base.Attributes.prefix)
|
||||
formatter.add_replacement('date', '{}', PyTeX.base.Attributes.date)
|
||||
formatter.add_replacement('author', '{}', PyTeX.base.Attributes.author)
|
||||
formatter.add_replacement('author acronym', '{}', PyTeX.base.Attributes.author_acronym)
|
||||
formatter.add_arg_replacement(1, 'info', r'\{Type}Info{{{name}}}{{{info}}}',
|
||||
name=PyTeX.base.Attributes.name_lowercase,
|
||||
info=PyTeX.base.Args.one, Type=latex_file_type.capitalize())
|
||||
|
|
Loading…
Reference in a new issue