zoukankan      html  css  js  c++  java
  • 如何修改latex标题,作者以及正文的间距

    以IEEEtran.cls为例

    针对conf

    % can be negative -0.25em

    def@IEEEauthorblockconfadjspace{-0.15em}  % 调节title和author的间距

    % formats the Title, authors names, affiliations and special paper notice
    % THIS IS A CONTROLLED SPACING COMMAND! Do not allow blank lines or unintentional
    % spaces to enter the definition - use % at the end of each line
    def@maketitle{ ewpage
    groupparvskipIEEEtitletopspacevskipIEEEtitletopspaceextracentering%
    ifCLASSOPTIONtechnote% technotes, V1.8a abstract and index terms are not treated differently for compsoc technotes
    {fserieslarge@IEEEcompsoconly{Largesffamily}@titlepar}vskip 1.3em{lineskip .5em@IEEEcompsoconly{largesffamily}@author
    @IEEEspecialpapernoticepar} elax
    else% not a technote
    vskip0.2em{HugeifCLASSOPTIONtransmagfseriesLARGEfi@IEEEcompsoconly{sffamily}@IEEEcompsocconfonly{ ormalfont ormalsizevskip 2@IEEEnormalsizeunitybaselineskip
    fseriesLarge}@IEEEcompsocnotconfonly{vskip 0.75@IEEEnormalsizeunitybaselineskip}@titlepar} elax
    @IEEEcompsocnotconfonly{vskip 0.5@IEEEnormalsizeunitybaselineskip}vskip 0empar       % 1.0em    这个可以调节标题与正文的间距
    % V1.6 handle author differently if in conference mode
    ifCLASSOPTIONconference%
    {@IEEEspecialpapernoticembox{}vskip@IEEEauthorblockconfadjspace%
    mbox{}hfillegin{@IEEEauthorhalign}@authorend{@IEEEauthorhalign}hfillmbox{}par} elax
    else% peerreviewca, peerreview or journal
    ifCLASSOPTIONpeerreviewca
    % peerreviewca handles author names just like conference mode
    {@IEEEcompsoconly{sffamily}@IEEEspecialpapernoticembox{}vskip@IEEEauthorblockconfadjspace%
    mbox{}hfillegin{@IEEEauthorhalign}@authorend{@IEEEauthorhalign}hfillmbox{}par
    {@IEEEcompsoconly{vskip 1.5em elax
    @IEEEtitleabstractindextextbox{@IEEEtitleabstractindextext}par oindenthfill
    IEEEcompsocdiamondlinehfillhbox{}par}}} elax
    else% journal, peerreview or transmag
    ifCLASSOPTIONtransmag
    % transmag also handles author names just like conference mode
    % it also uses @IEEEtitleabstractindextex, but with one line less
    % space above, and one more below
    {@IEEEspecialpapernoticembox{}vskip@IEEEauthorblockconfadjspace%
    mbox{}hfillegin{@IEEEauthorhalign}@authorend{@IEEEauthorhalign}hfillmbox{}par
    {vspace{0.5aselineskip} elax@IEEEtitleabstractindextextbox{@IEEEtitleabstractindextext}vspace{-1aselineskip}par}} elax
    else% journal or peerreview
    {lineskip.5em@IEEEcompsoconly{sffamily}sublargesize@author@IEEEspecialpapernoticepar
    {@IEEEcompsoconly{vskip 1.5em elax
    @IEEEtitleabstractindextextbox{@IEEEtitleabstractindextext}par oindenthfill
    IEEEcompsocdiamondlinehfillhbox{}par}}} elax
    fi
    fi
    fi
    fiparaddvspace{0.5aselineskip}egroup}

  • 相关阅读:
    面向对象编程,其属性特性,用法等
    re正则模块细解,面向对象编程思路的优劣。
    机器人学——1.2-三维空间位姿描述
    机器人学——1.1-二维空间位姿描述
    机器人学——1.0-位置与姿态概述
    latex教程:1.2-latex现状
    latex教程: 1.1-历史
    windows安装opencv
    使用pip安装Opencv
    在Ubuntu上安装opencv-python
  • 原文地址:https://www.cnblogs.com/lemonQ/p/11845314.html
Copyright © 2011-2022 走看看