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}

  • 相关阅读:
    【Canvas】(1)---概述+简单示例
    【jQuery】(8)---jquery Ajax
    lastlogon
    windows server core 2016 IIS远程管理的那些坑
    开机手机显示存储空间不足某些系统功能可能无法正常使用,而且无法取消这个界面,导致手机停在这个界面无法操作。
    javascript prototype理解
    微信小程序诡异错误this.setData报错
    转:goproxy和go modules的初步使用
    真机调试No target device的解决(android studio)3.4.1
    unable to access android sdk add-on list的解决
  • 原文地址:https://www.cnblogs.com/lemonQ/p/11845314.html
Copyright © 2011-2022 走看看