GithubHelp home page GithubHelp logo

Comments (5)

sikouhjw avatar sikouhjw commented on July 29, 2024 2
  1. 参考 stone-zeng/fduthesis@c1f9e3e 处理 \\
  2. \chapter[]{}
    \documentclass{book}
    \begin{document}
    \tableofcontents
    \chapter[test1]{test2}
    \newpage
    test
    \end{document}

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

这是个好问题,要求助一下其他人

from scut_thesis.

note286 avatar note286 commented on July 29, 2024

@mengchaoheng 你抽空看一下,我懒得去看你的代码了,我给个book.cls的示例吧,你照着弄一下,关键就是利用\markboth{}{},设置第一个参数即可。

\documentclass{book}
\usepackage{fancyhdr}
\fancypagestyle{plain}{
\pagestyle{fancy}
\fancyhf{}
\fancyhead[CE]{test}
\fancyhead[CO]{\leftmark}
}
\pagestyle{plain}
\usepackage{lipsum}
\begin{document}
\chapter{title1}
\lipsum[1-20]
\chapter{title2\\title2}
\markboth{\MakeUppercase{\chaptername~\thechapter.~title2--title2}}{}
\lipsum[1-20]
\chapter{title3}
\lipsum[1-20]
\end{document}

image
image

from scut_thesis.

mengchaoheng avatar mengchaoheng commented on July 29, 2024

抱歉实在没时间做这个修改。但我有一个疑问,一个章的标题真的需要这么长吗?考虑简称/缩写或者其他手段缩短标题?

from scut_thesis.

Droliven avatar Droliven commented on July 29, 2024

from scut_thesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.