Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/drupal/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何编写LaTeX头文件_Latex - Fatal编程技术网

如何编写LaTeX头文件

如何编写LaTeX头文件,latex,Latex,我正在使用IEEETrans.cls格式化我的论文。现在我需要在每页的右角添加会议名称 有人能告诉我怎么做吗?你可以用fancyhdr软件包来做。看见您可以将\fancyfoot[R]{Conference name}添加到源代码。您可以使用fancyhdr包来完成此操作。看见您可以将\fancyfoot[R]{Conference name}添加到源代码中。我认为格式化页眉和页脚最全面的方法是包 您可能需要查阅文档,以获得所需的其余页眉和页脚。我认为格式化页眉和页脚最全面的方法是软件包 您可能

我正在使用IEEETrans.cls格式化我的论文。现在我需要在每页的右角添加会议名称


有人能告诉我怎么做吗?

你可以用
fancyhdr
软件包来做。看见您可以将
\fancyfoot[R]{Conference name}
添加到源代码。

您可以使用
fancyhdr
包来完成此操作。看见您可以将
\fancyfoot[R]{Conference name}
添加到源代码中。

我认为格式化页眉和页脚最全面的方法是包


您可能需要查阅文档,以获得所需的其余页眉和页脚。

我认为格式化页眉和页脚最全面的方法是软件包


您可能需要查阅文档以获得所需的其余页眉和页脚。

IEEEtran系列的作者在其,包括如何禁用和自定义页眉和页脚。

IEEEtran系列的作者在他的网站上维护了一个全面的FAQ部分,包括如何禁用和自定义页眉和页脚。

我在为会议准备相机就绪版本时遇到了类似的问题。指示要放在

  • 所有页面中居中的会议名称标题

  • 标题页页脚左侧的会议记录id和IEEE版权

  • 页码作为所有剩余页面的中间页脚

  • 我使用的latex代码来自Michael Shell,如下所示。将其放在\begin{document}的正上方

    \newcommand{\MYfooter}{\smash{
    \hfil\parbox[t][\height][t]{\textwidth}{\centering
    \thepage}\hfil\hbox{}}}
    
    \makeatletter
    
    % normal pages
    \def\ps@headings{%
    \def\@oddhead{\parbox[t][\height][t]{\textwidth}{\centering
    14-th IEEE International Conference on Your conference\\
    \noindent\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
    }\hfil\hbox{}}%
    
    \def\@evenhead{\parbox[t][\height][t]{\textwidth}{\centering
    14-th IEEE International Conference on Peer-to-Peer Computing\\
    \noindent\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
    }\hfil\hbox{}}%
    
    \def\@oddfoot{\MYfooter}%
    \def\@evenfoot{\MYfooter}}
    
    % title page
    \def\ps@IEEEtitlepagestyle{%
    \def\@oddhead{\parbox[t][\height][t]{\textwidth}{\centering
    14-th IEEE International Conference on Your conference\\
    \noindent\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
    }\hfil\hbox{}}%
    \def\@evenhead{\scriptsize\thepage \hfil \leftmark\mbox{}}%
    \def\@oddfoot{ 123-123-123-123/14/\$31.00 \textcopyright 2014 IEEE \hfil 
    \leftmark\mbox{}}%
    \def\@evenfoot{\MYfooter}}
    
    \makeatother
    % make changes take effect
    \pagestyle{headings}
    % adjust as needed
    \addtolength{\footskip}{0\baselineskip}
    \addtolength{\textheight}{-1\baselineskip}    
    

    我在为会议准备相机版本时遇到了类似的问题。指示要放在

  • 所有页面中居中的会议名称标题

  • 标题页页脚左侧的会议记录id和IEEE版权

  • 页码作为所有剩余页面的中间页脚

  • 我使用的latex代码来自Michael Shell,如下所示。将其放在\begin{document}的正上方

    \newcommand{\MYfooter}{\smash{
    \hfil\parbox[t][\height][t]{\textwidth}{\centering
    \thepage}\hfil\hbox{}}}
    
    \makeatletter
    
    % normal pages
    \def\ps@headings{%
    \def\@oddhead{\parbox[t][\height][t]{\textwidth}{\centering
    14-th IEEE International Conference on Your conference\\
    \noindent\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
    }\hfil\hbox{}}%
    
    \def\@evenhead{\parbox[t][\height][t]{\textwidth}{\centering
    14-th IEEE International Conference on Peer-to-Peer Computing\\
    \noindent\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
    }\hfil\hbox{}}%
    
    \def\@oddfoot{\MYfooter}%
    \def\@evenfoot{\MYfooter}}
    
    % title page
    \def\ps@IEEEtitlepagestyle{%
    \def\@oddhead{\parbox[t][\height][t]{\textwidth}{\centering
    14-th IEEE International Conference on Your conference\\
    \noindent\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
    }\hfil\hbox{}}%
    \def\@evenhead{\scriptsize\thepage \hfil \leftmark\mbox{}}%
    \def\@oddfoot{ 123-123-123-123/14/\$31.00 \textcopyright 2014 IEEE \hfil 
    \leftmark\mbox{}}%
    \def\@evenfoot{\MYfooter}}
    
    \makeatother
    % make changes take effect
    \pagestyle{headings}
    % adjust as needed
    \addtolength{\footskip}{0\baselineskip}
    \addtolength{\textheight}{-1\baselineskip}    
    

    我将只添加fancyhdr手册的链接:我将只添加fancyhdr手册的链接:您可以在上找到整个社区,其中没有TeX相关的问题太小。您可以在上找到整个社区,其中没有TeX相关的问题太小。