Tag Info

New answers tagged

1

If you want to keep using authblk you have to resort to patching its \author macro, because the strategy with \AB@authors has the consequence of expanding the authors' names to the \cyr... macros. \documentclass[twocolumn, oneside]{article} \usepackage[utf8]{inputenc} \usepackage[english, ukrainian]{babel} \usepackage{authblk} \usepackage{xpatch} ...


0

Solution of this problem is in the following topics: Separator between author names (with LaTeX kernel programming) and How to write totally expanded macro to file (with LaTeX kernel) Unfortunately, I had to abandon the use of authblk package. Full example: \documentclass[]{article} \usepackage[T2A,T1]{fontenc} \usepackage[utf8]{inputenc} ...


3

We can use the fact that authblk saves the list of authors and affiliations in a well defined format: in the case of the example, the macro \AB@authors expands to \protect \Authfont \protect \AB@setsep First Author\protect \\[\affilsep ]% \protect \Affilfont Affiliation of the 1st author\protect \and \protect \Authfont \protect \AB@setsep Second ...


2

As other answers note, you need one way or another to output the string %. For users not using LaTeX, something like \def\percentchar#1{} \edef\percentchar{\expandafter\percentchar\string\%} will generate a macro \percentchar which can be used for this purpose. (I've used \percentchar twice rather than define a 'gobble' command: just to avoid 'name ...



Top 50 recent answers are included