You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CTeX能够正常使用中文,需要在其他模板如 Journal of Statistical Software中使用中文,改如何做?
---
author:
- name: FirstName LastName
affiliation: University/Company
address: >
First line
Second line
email: name@company.com
url: http://rstudio.com
- name: Second Author
affiliation: Affiliation
title:
formatted: "A Capitalized Title: Something about a Package \\pkg{foo}"
# If you use tex in the formatted title, also supply version without
plain: "A Capitalized Title: Something about a Package foo"
# For running headers, if needed
short: "\\pkg{foo}: A Capitalized Title"
abstract: >
The abstract of the article.
keywords:
# at least one keyword must be supplied
formatted: [keywords, not capitalized, "\\proglang{Java}"]
plain: [keywords, not capitalized, Java]
preamble: >
\usepackage{amsmath}
output: rticles::jss_article
documentclass: ctexart
---
# 中文 Introduction
提示:
! Undefined control sequence.
\GenericError ...
#4 \errhelp \@err@ ...
l.42 \section{中文 Introduction}
pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
Execution halted
The text was updated successfully, but these errors were encountered:
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
CTeX能够正常使用中文,需要在其他模板如 Journal of Statistical Software中使用中文,改如何做?
The text was updated successfully, but these errors were encountered: