Hot answers tagged

30

@Canageek: Is this what you want? If so, then credit should go to Thorsten Donig as I read a "document" on authblk package and made few changes to Donig's answer. \documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{authblk} \title{More than one Author with different Affiliations} \author[*]{Author A} \...


12

After removing packages and code, which do not make immediate disappear, the following remains: \documentclass[11pt]{article} \usepackage{authblk} \begin{document} \title{this is the title} \maketitle \end{document} With the following warning: LaTeX Warning: No \author given. Also, let us make authorblk/\maketitle happy: \documentclass[11pt]{article}...


9

It is actually easier to obtain the "even better" output, if you're willing to accept some spacing adjustments: \documentclass{article} \usepackage{authblk}% http://ctan.org/pkg/authblk \makeatletter \renewcommand\AB@authnote[1]{\rlap{\textsuperscript{\normalfont#1}}} \renewcommand\Authsep{,~\,} \renewcommand\Authands{,~\,and } \makeatother \begin{document} ...


9

You can use the below mentioned code. The screen shot of the output is attached below. You need to remove the \thanks from the author affiliation. This is because \thanks places the e-mail id in the footnote. Hope this helps. \documentclass{article} \usepackage{authblk} \usepackage{blindtext} \begin{document} \date{} \title{My title} \author[1]{Author A}...


8

\usepackage{authblk} \makeatletter \renewcommand\AB@affilsepx{ --- \protect\Affilfont} \makeatother In this way the affiliations will separated by an em-dash surrounded by spaces. Choose what suits you.


8

The package provides the command \authorcr for breaking lines. The documentation says this is for use within \author, but it also works in the \affil: \documentclass{article} \usepackage{authblk} \begin{document} \title{TITLE} \author[1]{Author1} \affil[1]{School, University \authorcr Email: author1@university.com} \author[2]{Author2} \affil[2]{School,...


8

You should set the footnotemarker with the optional argument of \author: \documentclass[12pt]{article} \usepackage{newtxtext,newtxmath,lipsum} \usepackage{authblk} \renewcommand{\Affilfont}{\footnotesize} \renewcommand{\Authfont}{\normalsize} \renewcommand\Authands{, } \begin{document} \title{\textbf{Preparation of Papers for IEEE Sponsored ...


6

You need \normalfont for the affiliations to neutralize the boldfaced fonts for the authors: \renewcommand*{\Affilfont}{\normalsize\normalfont} \renewcommand*{\Authfont}{\bfseries} You can use a \parbox of the appropriate width inside \affil to have manual line breaks. The code: \documentclass{article} \usepackage[left=3.00cm, right=3.00cm, top=2.00cm, ...


6

Not a really elegant solution, but for a one shot it seems not really unmanageable. The problem is that the optional argument to \author is added as a footnote marker after the author name, which already has \thanks, is absorbed and typeset. Doing it differently would require very deep surgery on authblk macros. \documentclass[12pt]{article} \usepackage[T1]...


6

May be this will help you, \documentclass{article} \usepackage{authblk} \makeatletter \renewcommand\AB@affilsepx{, \protect\Affilfont} \makeatother \title{Your Title} \author[1]{author1} \author[2]{author2} \author[3]{author3} \affil[1]{dept1} \affil[2]{dept2} \affil[3]{dept3} \begin{document} \maketitle \end{document} Here is the output,


6

Here's a slightly different way to do it: \documentclass{article} \usepackage{url} \makeatletter \newcommand{\address}[1]{\gdef\@address{#1}} \newcommand{\email}[1]{\gdef\@email{\url{#1}}} \newcommand{\@endstuff}{\par\vspace{\baselineskip}\noindent\small \begin{tabular}{@{}l}\scshape\@address\\\textit{E-mail address:} \@email\end{tabular}} \AtEndDocument{\@...


5

@Canageek, I understand your concern so I hope my solution at that time will help you \documentclass[letterpaper,twocolumn,10pt]{article} %\renewcommand{\familydefault}{\sfdefault} %use your conference package \usepackage{usenix,epsfig,endnotes} **\usepackage{authblk}** \usepackage{enumitem} %for math \usepackage{algorithmic} \usepackage{algorithm} \...


5

Since this seems to be a request for a one-time use, I would opt for a manual design of the title; something along these lines: \documentclass{article} \usepackage{array} \usepackage{url} \newcommand\Mark[1]{\textsuperscript#1} \begin{document} \begingroup \centering {\LARGE The Title \\[1.5em] \large First Author\Mark{1}, Second Author\Mark{2}, Third ...


5

The new counter doesn't seem necessary, as you just use the current value of footnote; also \footnotemark should be protected in the \edef and \value{CoAuthor} should be \arabic{CoAuthor}, because \value{CoAuthor} doesn't expand to the number, but only to the internal name of the counter. Actually, you don't need \edef at all. Finally, \CoAuthorMark must ...


5

Don't use authblk. Rather set the authors in separate \columns: \documentclass{beamer} \usetheme{CambridgeUS} \usecolortheme{dolphin} \setbeamercovered{transparent} \title[Short title]{Long Title} \subtitle{Subtitle} \author[Short Name (U ABC)]{% \texorpdfstring{% \begin{columns} \column{.3333\linewidth} \centering Author 1 \\ ...


5

If typesetting it manually is ok for you, you can use: \documentclass{article} \usepackage{authblk} \AtEndDocument{% \par \medskip \begin{tabular}{@{}l@{}}% \textsc{Addresses of Author A}\\ \textit{E-mail address}: \texttt{email@Author.A} \end{tabular}} \title{The title} \author{Author A\thanks{email@Author.A}} \affil{Addresses of Author ...


5

Add \usepackage[T1]{fontenc} This tells (pdf)LaTeX that it can find many (designed) letters directly in the font, without (and not using xelatex or lualatex), LaTeX will try to add a ring to an A. BTW: always a good idea to have both fontenc and inputenc when using (pdf)LaTeX.


5

the package locally redefines \rlap to affect the position of footnote marks, but that affects the positioning of the accent \r A in OT1. You can define the accent not to use \rlap but use lower level commands directly \documentclass{article} \makeatletter \DeclareTextCompositeCommand{\r}{OT1}{A} {\leavevmode\setbox\z@\hbox{!}\dimen@\ht\z@\advance\...


5

If you want to print all superscripts in bold, simply redefine the way superscripts are handled: \documentclass{article} \usepackage{newtxtext,newtxmath} \usepackage{authblk} \renewcommand{\Authfont}{\bfseries\fontsize{12}{14.4}\selectfont} \renewcommand{\Affilfont}{\normalfont\itshape\fontsize{10}{12}\selectfont} \renewcommand\Authands{, } \...


4

\protect the line breaks: \documentclass{article} \usepackage{authblk} \begin{document} \title{TITLE} \author[1]{Author1} \affil[1]{School \protect\\ University \protect\\ Email: author1@university.com} \maketitle \end{document}


4

I don't think you need the authblk package to achieve the desired look. \documentclass{article} \title{Author Practice} \author{% \begin{tabular}{c} Author 1 \\ University \\ Email-id \end{tabular} \and \begin{tabular}{c} Author 2 \\ University \\ Email-id \end{tabular} \and \begin{tabular}{c} Author 3 \\ University \\ Email-id \end{tabular} \and \begin{...


4

Try loading the authblk package before the acl2015 package. Worked for me (I'm using acl2016 package and I was facing the same error you reported).


4

This is more a workaround then an official solution i guess. But depending on the journal author guidelines for your manuscript this formatting might look more appropriate. It includes the indicator for the corresponding author as a affiliation. Example code: \listfiles \documentclass[titlepage]{article} \usepackage[affil-it]{authblk} \usepackage[english]{...


4

Add the following lines after loading the package authblk. \usepackage{authblk} % improved author and affiliation design \makeatletter \renewcommand\maketitle{\AB@maketitle} % revert \maketitle to its old definition \renewcommand\AB@affilsepx{\quad\protect\Affilfont} % put affiliations into one line \makeatother \renewcommand\Affilfont{\Large} % set font ...


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 Author\...


3

You can use this answer as a starting point. First of all, the package tocloft allows us to create a "List of Abstracts" \usepackage[titles]{tocloft} \newcommand{\listabstractname}{List of Abstracts} \newlistof[section]{abstracts}{abs}{\listabstractname} Then we define our own environment abstracts which takes the title as argument \newenvironment{...


3

I've come up with a solution without the use of additional packages (authblk). It gives almost exactly what the OP wants. Basically, it provides a command \affmark which uses \textsuperscript to typeset the navigation symbols. The command takes an optional argument that specifies which symbol to use, which defaults to a star *. You can use \dag, \ddag etc ...


Only top voted, non community-wiki answers of a minimum length are eligible