About setting the Japanese character size of Kile

Asked 2 years ago, Updated 2 years ago, 55 views

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

2022-09-30 11:50

1 Answers

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 .


2022-09-30 11:50

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.