如何使用作者块移动文本

如何使用作者块移动文本

我正在尝试使用已提供的模板来格式化作者的姓名。

    \documentclass[conference]{IEEEtran}
    \IEEEoverridecommandlockouts
    % The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
    \usepackage{cite}
    \usepackage{amsmath,amssymb,amsfonts}
    \usepackage{algorithmic}
    \usepackage{graphicx}
    \usepackage{textcomp}
    \usepackage{xcolor}
    \usepackage{tikz}
    \usepackage{hyperref}
    \usetikzlibrary{positioning}
    
    
    \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
        T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
    \begin{document}
    
    \title{Conference Paper Title*\\
    \thanks{979-8-3503-1597-4/23/\$31.00 ©2023 IEEE}
    }
    
    \author{\IEEEauthorblockN{1\textsuperscript{st} mechelle}
    \IEEEauthorblockA{\textit{Department of computer science)} \\
    \textit{university of toronto of\\ computer science }\\
    toronto, canada \\
    [email protected]}
    \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}
    }
    
    \maketitle
    
    \begin{abstract}
    This document is a model and instructions for \LaTeX.
    This and the IEEEtran.cls file define the components of your paper [title, text, heads, etc.]. *CRITICAL: Do Not Use Symbols, Special Characters, Footnotes, 
    or Math in Paper Title or Abstract.
    \end{abstract}
    
    \begin{IEEEkeywords}
    Homology inference, gene synteny, gene similarity.
    \end{IEEEkeywords}
    
    \begin{tikzpicture}[overlay,remember picture]
    \path(current page.north) node(anchor){};
    \end{tikzpicture}
    
    \section{Introduction}
    This document is a model and instructions for \LaTeX.
    Please observe the conference page limits. 
    
    \section{Ease of Use}
    
    \subsection{Maintaining the Integrity of the Specifications}
    
    The IEEEtran class file is used to format your paper and style the text. All margins, 
    column widths, line spaces, and text fonts are prescribed; please do not 
    alter them. You may note peculiarities. For example, the head margin
    measures proportionately more than is customary. This measurement 
    and others are deliberate, using specifications that anticipate your paper 
    as one part of the entire proceedings, and not as an independent document. 
    Please do not revise any of the current designations.
    
    \section{Prepare Your Paper Before Styling}
    Before you begin to format your paper, first write and save the content as a 
    separate text file. Complete all content and organizational editing before 
    formatting. Please note sections \ref{AA}--\ref{SCM} below for more information on 
    proofreading, spelling and grammar.
    
    Keep your text and graphic files separate until after the text has been 
    formatted and styled. Do not number text heads---{\LaTeX} will do that 
    for you.
    
    \bibliographystyle{IEEEtran}
    \bibliography{Bibliography}
    \end{document}

这段代码给出了这样的结果: 在此处输入图片描述

我想要的是城市、国家名称和电子邮件地址与左侧的其他文本对齐。

答案1

所以我找到了问题所在,我插入了扰乱格式的\\内容\textit{}

\textit{name of organization \\ (of Aff.)}\\

所以我又写了另一个\textit{},写了一半大学的名字

\textit{name of organization}\\
\textit{(of Aff.)}\\

现在它运行完美。

前 后

相关内容