-
Notifications
You must be signed in to change notification settings - Fork 525
Closed
Description
CTeX能够正常使用中文,需要在其他模板如 Journal of Statistical Software中使用中文,改如何做?
---
author:
- name: FirstName LastName
affiliation: University/Company
address: >
First line
Second line
email: [email protected]
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
Metadata
Metadata
Assignees
Labels
No labels