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}

  • 相关阅读:
    Xlua侧如何接受CSharp侧的可变参数
    C# 中如何精确地测量一段逻辑的执行时间
    C#中设计一个 ListPool 的方案
    unity中获取设备的信息
    Oracle-游标-取钱-存钱-转账
    Oracle 存储过程与java调用
    PL/SQL loop,while.for循环
    PL/SQL if case when
    PL/SQL %type %rowtype
    Oracle PLSQL入门
  • 原文地址:https://www.cnblogs.com/lemonQ/p/11845314.html
Copyright © 2011-2022 走看看