Questions tagged [ctex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
64 views

It is possible to use ctex in MikTeX/TeXworks?

I have been using MikTeX/TeXworks for a while and have really enjoyed its universality and facility. I usually compile laTeX documents with XeLaTeX or pdfLaTeX. However, I was not able to input ...
1
vote
1answer
110 views

How to solve the following errors in notag equation with the “amsmath” used? [closed]

Coding: \documentclass{article} \usepackage{ctex} % used for Chinese \usepackage{amsmath} % equation* \begin{document} 直角三角形有如下性质: \begin{equation*} % for notag equation a^2 ...
4
votes
1answer
73 views

How do I make Chinese character string to be same length by filling blanks?

I am trying to write a document for several people to sign, their names have different numbers of characters. I would like to make them to have the same length by filling blank spaces to them. For ...
1
vote
1answer
34 views

Missing characters in ctex

When using ctex combined with xeLatex, I found there are some missing characters in ctex, so I wonder how to solve this issue ? For example, character 祂. \documentclass[a4paper, 11pt]{article} \...
1
vote
0answers
13 views

CTEX renders the underscore too long [duplicate]

When using the ctex package, it seems that a single underscore (\_) will be rendered the length of two underscores. However in the rendered PDF there's nothing wrong with the text itself (meaning you ...
1
vote
1answer
35 views

“LaTeX Error: Not in outer par mode.” When Rotating a Table

I wanted to rotate my table using sidewaystable in LaTeX, but it turned out to be wrong with the error message LaTeX Error: Not in outer par mode., whose location is marked with %'s below. % !TEX ...
1
vote
1answer
31 views

How to select a cascading set of fonts

I am writing a LaTeX document about Chinese characters decomposition. As such I need many weird and unusual characters. I have installed several fonts to cover all the CJK set and in my system all ...
4
votes
0answers
51 views

What are the problems for CTeX in pdfLaTeX?

While I do not produce documents in Chinese, I quote enough Chinese to be very happy that CTeX exists. I have used CJKutf8. Now simple examples in CTeX work fine for me using pdfLaTeX. The CTeX ...
0
votes
0answers
15 views

How to use \addCJKfontfeatures?

The ctex bundle provides Mapping = fullwidth-stop to convert ordinary Chinese periods (。) to fullwidth periods (.). (Not to be confused with halfwidth periods (.).) However, this only works for one ...
1
vote
0answers
48 views

The vertical spacing before the title of TOC is inconsistent with the normal section title

I use the tocloft package to customize the format of TOC and the ctex package to support Chinese typesetting and to customize the section title format. Everything works well. But I find that the ...
0
votes
0answers
22 views

padlatex: too long time for compilation of file with chinese symbols using ctex package

I'm usign pdflatex for technical reports. Until now I used it wihout chinese language and everything worked well. But now I need to add chinese language. I found here information how to do this: How ...
1
vote
1answer
183 views

How do I select a Chinese font for caption label?

I am writing a document in Chinese and would like to choose a font for the caption label, different from that is used in the main text. I know it is tricky to work with Chinese font in LaTeX, but I ...
5
votes
1answer
230 views

Will \usepackage[UTF8]{ctex} change the appearance of my non-Chinese part LaTeX document?

I'm very new with LaTeX. I'm using it to write a document and 70% of the content is English and left is Chinese. After some research I found just by adding \usepackage[UTF8]{ctex} in the document, I ...
1
vote
0answers
82 views

Packages option breakall not compatible with ctex

I am having this weird issue where the option breakall of package truncate is not compatible with package ctex. Below is the code \documentclass[UTF8]{article} \usepackage{lipsum} \usepackage[UTF8]{...
3
votes
0answers
488 views

\maketitle undefined control sequence{with ctex} [closed]

I want to type Chinese in my report but I have some problem with my code. Once I add \usepackage[UTF8]{ctex} in the file the compiler will complain with the message undefined control sequence \...
5
votes
2answers
352 views

How to properly scale up fonts from newtxtext and mtpro2?

Motivation For my CJK documents, I’m mixing TeX Gyre Termes (a Times clone) with Source Han Serif and TeX Gyre Heros (a Helvetica clone) with Source Han Sans. I’m also using the MathTime Professional ...
3
votes
0answers
183 views

Customizing line spacing in ctex classes

My goal I recently started using the ctex classes to convert some of my English articles into Chinese. Regarding the line spacing, I would like to achieve the following: The body text should have a ...
3
votes
1answer
2k views

Chinese on MacTex2018, simple example

I just installed MacTex2018 (because I was having trouble with TexLive2016). My issue is related to chinese chars. May I ask for a simple example? In the end I would like to have just some chinese ...
0
votes
0answers
48 views

ctex and fontenc mess up the siunitx package

I am working on an article in Chinese, and I find that ctex and fontenc are interfering with the siunitx package when the detect-all switch is on. A MWE is as follows %!TEX program = xelatex \...