I am writing my paper in LaTeX (the document class is jlreq and the option is book).
The file is organized by dividing the files into chapters and putting them together in merge.tex.
If you type \tableofcontents
in merge.tex, the table of contents will be displayed, but it is not my favorite display.
Therefore, I am thinking of correcting it.
Specifically, you should center the table of contents, such as the table of contents.
Therefore, after loading the tocloft package using the here site, I added the following to merge.tex:
\renewcommand {\cftoctitlefont} {\hfill\large\bfseries}
US>\renewcommand
"Then, it became central, but the part of ""Chapter 章"" and the name of the chapter overlapped."
Also, the space between them has not been resolved.
Is there any way?
Please let me know.
The tocloft package is not supposed to be in Japanese.If you just want to change the jlreq table of contents heading, you just need to redefine \contentsname
without using tocloft.
%#!uplatex
\ documentclass [book] {jlreq}
US>\renewcommand{\contentsname}{%
\makebox[\linewidth] \hfill order \hspace{2zw}next \hfill}}
\begin { document }
\tableofcontents
\chapter
\chapter {some content}
\end { document }
Also, if you change only the heading of the table of contents, it seems that the design will not be consistent with other headings, so we recommend that you consider balancing the overall design separately.
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
578 Understanding How to Configure Google API Key
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
612 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.