I am using Kile, a latex editing software, but I have a problem that the size of the text in the title and section is the same as the size of the text in Japanese, and it changes properly in English.
The same is true for direct character size changes (such as \fontsize).
I've looked into various things, but I don't know the cause.
What is the problem?
Below is the configuration.
\ documentclass [dvipdfmx] {jsarticle}
\uspackage [T1] {fontenc}
\uspackage [utf8] {inputenc}
\uspackage {CJKutf8}
\uspackage {ascmac}
\uspackage {amsmath,amssymb, amsthm}
\uspackage [authoryear] {natbib}
\uspackage {setspace}
\uspackage {lists}
\lstset {basicstyle=\ttfamily, breaklines=true, frame=single}
\uspackage [scale=0.76] {geometry}
\uspackage {excale}
\uspackage {hyperref}
\uspackage {pxjahyper}
\uspackage {color,graphicx}
\uspackage {bm}
\uspackage {textcomp}
\uspackage {lmodern}
\uspackage {otf}
\uspackage {tabularx}
\uspackage {titlesec}
\titleformat* {\section}
Please reply!
latex
The CJKutf8 package seems to be bad. This package is necessary if you want to use CJK characters (Chinese, Japanese, and Korean characters) on pdfLaTeX, but it is not necessary in the first place when using pLaTeX, so
\uspackage {CJKutf8}
Delete or comment out .
© 2024 OneMinuteCode. All rights reserved.