【问题标题】:Toc LOF alignment issue in lyxlyx 中的 Toc LOF 对齐问题
【发布时间】:2015-01-08 10:08:45
【问题描述】:

我正在用 Latex 做我的论文,并使用 Lyx 编辑器来实现它。我想将我的 TOC 和 LOF 放在页面的中心。我用过

\usepackage{tocloft}
\renewcommand{\cfttoctitlefont}{\hfill\Huge\hfill}

但这会将 toc 标题推到右侧。

我如何以同样的方式居中 lof?

【问题讨论】:

  • 您能否为社区提供一个完整的minimal working example (MWE) 来复制您的问题?通过将 ToC 和/或 LoF 放置在“页面中心”,您的意思是您希望标题居中吗?
  • 嗨@Werner,是的,我只希望标题居中。

标签: latex lyx tableofcontents


【解决方案1】:

您应该在目录/ToC 标题之前以及之后插入内容:

\usepackage{tocloft}
\renewcommand{\cfttoctitlefont}{\hfill<titlefont>}
\renewcommand{\cftaftertoctitle}{\hfill\mbox{}}

&lt;titlefont&gt; 代表您有兴趣进行的任何字体切换。如需调整图表列表/LoF(表格列表/LoT),请使用\cftloftitlefont\cftafterloftitle\cftlottitlefont\cftafterlottitle)。

【讨论】:

    猜你喜欢
    • 2022-08-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-03
    • 1970-01-01
    • 2018-05-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多