Pitfalls that Latex has climbed through (5) - Solving the problem of author alignment in IEEE template papers

The Latex template used in this article is IEEE's Manuscript Templates for Conference Proceedings . The template download URL is: https://www.ieee.org/conferences/publishing/templates.html .

Download the template and compile it directly, we will find that the author names in the latex template are not aligned:
IEEE conference template-1
if one of our lines is very long, this misalignment will be more noticeable:

IEEE conference template-2
The solution to this situation is as follows (taking 6 authors as an example) :

Step 1: Arrange the authors according to 135 246and \anddelete.

The authors in the template are arranged as 123 456follows:

\author{
    
    
\IEEEauthorblockN{
    
    1\textsuperscript{
    
    st} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\and

\IEEEauthorblockN{
    
    2\textsuperscript{
    
    nd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\and

\IEEEauthorblockN{
    
    3\textsuperscript{
    
    rd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\and

\IEEEauthorblockN{
    
    4\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\and

\IEEEauthorblockN{
    
    5\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\and

\IEEEauthorblockN{
    
    6\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}
}

We first change 135 246the order of , and \anddelete , as follows:

\author{
    
    
\IEEEauthorblockN{
    
    1\textsuperscript{
    
    st} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\IEEEauthorblockN{
    
    3\textsuperscript{
    
    rd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
	\textit{
    
    name of organization (of Aff.)}\\
	City, Country \\
	email address or ORCID}

\IEEEauthorblockN{
    
    5\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
	\textit{
    
    name of organization (of Aff.)}\\
	City, Country \\
	email address or ORCID}

\IEEEauthorblockN{
    
    2\textsuperscript{
    
    nd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\IEEEauthorblockN{
    
    4\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}

\IEEEauthorblockN{
    
    6\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID}
}

After completing the above step, the compiled code will now look like this:
135 246
Step 2: Then use line breaks between 135and .246\\

\author{
    
    
\IEEEauthorblockN{
    
    1\textsuperscript{
    
    st} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} \\

\IEEEauthorblockN{
    
    3\textsuperscript{
    
    rd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
	\textit{
    
    name of organization (of Aff.)}\\
	City, Country \\
	email address or ORCID} \\

\IEEEauthorblockN{
    
    5\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
	\textit{
    
    name of organization (of Aff.)}\\
	City, Country \\
	email address or ORCID} 

\IEEEauthorblockN{
    
    2\textsuperscript{
    
    nd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} \\

\IEEEauthorblockN{
    
    4\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} \\

\IEEEauthorblockN{
    
    6\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} 
}

After adding the newline character, the compilation looks like this:
135 246 newline
We found that after adding the newline character, except that the spacing between 5and 2has not changed, the rest have gaps.

Step 3: In the last step, we add between 5and :2\and

\author{
    
    
\IEEEauthorblockN{
    
    1\textsuperscript{
    
    st} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} \\

\IEEEauthorblockN{
    
    3\textsuperscript{
    
    rd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
	\textit{
    
    name of organization (of Aff.)}\\
	City, Country \\
	email address or ORCID} \\

\IEEEauthorblockN{
    
    5\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
	\textit{
    
    name of organization (of Aff.)}\\
	City, Country \\
	email address or ORCID} 
\and
\IEEEauthorblockN{
    
    2\textsuperscript{
    
    nd} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} \\

\IEEEauthorblockN{
    
    4\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} \\

\IEEEauthorblockN{
    
    6\textsuperscript{
    
    th} Given Name Surname}
\IEEEauthorblockA{
    
    \textit{
    
    dept. name of organization (of Aff.)} \\
\textit{
    
    name of organization (of Aff.)}\\
City, Country \\
email address or ORCID} 
}

After compilation, it can be aligned normally:
success

Guess you like

Origin blog.csdn.net/qq_35357274/article/details/126585041