Greek letters are not displayed in the chinese text
When I replaced mathbf{A} with A,$Omega$ can be displayed,which reasons cause this problem?
$Omega$ doesn't show in the text.
documentclass{article}
usepackage{ctex}
usepackage{amsmath}%
setcounter{MaxMatrixCols}{30}%
usepackage{amsfonts}%
usepackage{amssymb}%
usepackage{graphicx}
begin{document}
当我们考虑一束圆偏振光垂直照射时,含时的哈密顿量可以写为$hat{H}left( tright) =hat{H}e^{-iA_{ij}left( tright) }$,这里的$A_{ij}left( tright) =mathbf{A}left( tright) cdotleft( R_{j} -R_{i}right)$,$mathbf{A}left( tright) =A_{0}left[ sinleft( Omega tright),cosleft( Omega tright) right]$,$A_{0}$为激光的振幅,$Omega$为激光的频率。这里我们采用自然单位制,普朗克常数
end{document}
error
You have requested package savesym', but the package provides
savesymbol'.
fonts chinese
|
show 3 more comments
When I replaced mathbf{A} with A,$Omega$ can be displayed,which reasons cause this problem?
$Omega$ doesn't show in the text.
documentclass{article}
usepackage{ctex}
usepackage{amsmath}%
setcounter{MaxMatrixCols}{30}%
usepackage{amsfonts}%
usepackage{amssymb}%
usepackage{graphicx}
begin{document}
当我们考虑一束圆偏振光垂直照射时,含时的哈密顿量可以写为$hat{H}left( tright) =hat{H}e^{-iA_{ij}left( tright) }$,这里的$A_{ij}left( tright) =mathbf{A}left( tright) cdotleft( R_{j} -R_{i}right)$,$mathbf{A}left( tright) =A_{0}left[ sinleft( Omega tright),cosleft( Omega tright) right]$,$A_{0}$为激光的振幅,$Omega$为激光的频率。这里我们采用自然单位制,普朗克常数
end{document}
error
You have requested package savesym', but the package provides
savesymbol'.
fonts chinese
If I add theUTF8
option toctex
I get no error. What TeX distribution are you using?
– egreg
Mar 21 at 10:11
@egreg,you mean Compile code?My Compile code is UTF-8,my Tex distribution is Texlive 2018
– guangya
Mar 21 at 10:53
It compiles fine under XeLaTeX. Try using XeLaTeX as your complier orusepackage[UTF8]{ctex}
in your preamble as suggested by @egreg.
– Huang_d
Mar 21 at 11:34
My complier is XeLaTeX.I try to replace usepackage{ctex} with usepackage[UTF8]{ctex}, but it doesn't work in my computer.@Huang_d
– guangya
Mar 21 at 11:41
@guangya Tried with XeLaTeX (and removedUTF8
): no problem either.
– egreg
Mar 21 at 11:47
|
show 3 more comments
When I replaced mathbf{A} with A,$Omega$ can be displayed,which reasons cause this problem?
$Omega$ doesn't show in the text.
documentclass{article}
usepackage{ctex}
usepackage{amsmath}%
setcounter{MaxMatrixCols}{30}%
usepackage{amsfonts}%
usepackage{amssymb}%
usepackage{graphicx}
begin{document}
当我们考虑一束圆偏振光垂直照射时,含时的哈密顿量可以写为$hat{H}left( tright) =hat{H}e^{-iA_{ij}left( tright) }$,这里的$A_{ij}left( tright) =mathbf{A}left( tright) cdotleft( R_{j} -R_{i}right)$,$mathbf{A}left( tright) =A_{0}left[ sinleft( Omega tright),cosleft( Omega tright) right]$,$A_{0}$为激光的振幅,$Omega$为激光的频率。这里我们采用自然单位制,普朗克常数
end{document}
error
You have requested package savesym', but the package provides
savesymbol'.
fonts chinese
When I replaced mathbf{A} with A,$Omega$ can be displayed,which reasons cause this problem?
$Omega$ doesn't show in the text.
documentclass{article}
usepackage{ctex}
usepackage{amsmath}%
setcounter{MaxMatrixCols}{30}%
usepackage{amsfonts}%
usepackage{amssymb}%
usepackage{graphicx}
begin{document}
当我们考虑一束圆偏振光垂直照射时,含时的哈密顿量可以写为$hat{H}left( tright) =hat{H}e^{-iA_{ij}left( tright) }$,这里的$A_{ij}left( tright) =mathbf{A}left( tright) cdotleft( R_{j} -R_{i}right)$,$mathbf{A}left( tright) =A_{0}left[ sinleft( Omega tright),cosleft( Omega tright) right]$,$A_{0}$为激光的振幅,$Omega$为激光的频率。这里我们采用自然单位制,普朗克常数
end{document}
error
You have requested package savesym', but the package provides
savesymbol'.
fonts chinese
fonts chinese
edited Mar 21 at 11:35
guangya
asked Mar 21 at 8:53
guangyaguangya
11
11
If I add theUTF8
option toctex
I get no error. What TeX distribution are you using?
– egreg
Mar 21 at 10:11
@egreg,you mean Compile code?My Compile code is UTF-8,my Tex distribution is Texlive 2018
– guangya
Mar 21 at 10:53
It compiles fine under XeLaTeX. Try using XeLaTeX as your complier orusepackage[UTF8]{ctex}
in your preamble as suggested by @egreg.
– Huang_d
Mar 21 at 11:34
My complier is XeLaTeX.I try to replace usepackage{ctex} with usepackage[UTF8]{ctex}, but it doesn't work in my computer.@Huang_d
– guangya
Mar 21 at 11:41
@guangya Tried with XeLaTeX (and removedUTF8
): no problem either.
– egreg
Mar 21 at 11:47
|
show 3 more comments
If I add theUTF8
option toctex
I get no error. What TeX distribution are you using?
– egreg
Mar 21 at 10:11
@egreg,you mean Compile code?My Compile code is UTF-8,my Tex distribution is Texlive 2018
– guangya
Mar 21 at 10:53
It compiles fine under XeLaTeX. Try using XeLaTeX as your complier orusepackage[UTF8]{ctex}
in your preamble as suggested by @egreg.
– Huang_d
Mar 21 at 11:34
My complier is XeLaTeX.I try to replace usepackage{ctex} with usepackage[UTF8]{ctex}, but it doesn't work in my computer.@Huang_d
– guangya
Mar 21 at 11:41
@guangya Tried with XeLaTeX (and removedUTF8
): no problem either.
– egreg
Mar 21 at 11:47
If I add the
UTF8
option to ctex
I get no error. What TeX distribution are you using?– egreg
Mar 21 at 10:11
If I add the
UTF8
option to ctex
I get no error. What TeX distribution are you using?– egreg
Mar 21 at 10:11
@egreg,you mean Compile code?My Compile code is UTF-8,my Tex distribution is Texlive 2018
– guangya
Mar 21 at 10:53
@egreg,you mean Compile code?My Compile code is UTF-8,my Tex distribution is Texlive 2018
– guangya
Mar 21 at 10:53
It compiles fine under XeLaTeX. Try using XeLaTeX as your complier or
usepackage[UTF8]{ctex}
in your preamble as suggested by @egreg.– Huang_d
Mar 21 at 11:34
It compiles fine under XeLaTeX. Try using XeLaTeX as your complier or
usepackage[UTF8]{ctex}
in your preamble as suggested by @egreg.– Huang_d
Mar 21 at 11:34
My complier is XeLaTeX.I try to replace usepackage{ctex} with usepackage[UTF8]{ctex}, but it doesn't work in my computer.@Huang_d
– guangya
Mar 21 at 11:41
My complier is XeLaTeX.I try to replace usepackage{ctex} with usepackage[UTF8]{ctex}, but it doesn't work in my computer.@Huang_d
– guangya
Mar 21 at 11:41
@guangya Tried with XeLaTeX (and removed
UTF8
): no problem either.– egreg
Mar 21 at 11:47
@guangya Tried with XeLaTeX (and removed
UTF8
): no problem either.– egreg
Mar 21 at 11:47
|
show 3 more comments
0
active
oldest
votes
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480641%2fgreek-letters-are-not-displayed-in-the-chinese-text%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480641%2fgreek-letters-are-not-displayed-in-the-chinese-text%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If I add the
UTF8
option toctex
I get no error. What TeX distribution are you using?– egreg
Mar 21 at 10:11
@egreg,you mean Compile code?My Compile code is UTF-8,my Tex distribution is Texlive 2018
– guangya
Mar 21 at 10:53
It compiles fine under XeLaTeX. Try using XeLaTeX as your complier or
usepackage[UTF8]{ctex}
in your preamble as suggested by @egreg.– Huang_d
Mar 21 at 11:34
My complier is XeLaTeX.I try to replace usepackage{ctex} with usepackage[UTF8]{ctex}, but it doesn't work in my computer.@Huang_d
– guangya
Mar 21 at 11:41
@guangya Tried with XeLaTeX (and removed
UTF8
): no problem either.– egreg
Mar 21 at 11:47