Parentheses disappear in Equation mode in ACM class
The problem is that when using the font package lmodern
with the ACM class acmart.cls
, the parentheses tend to disappear in the final output. Without lmodern
, acmart.cls
gives an error. Here is the MWE:
documentclass[sigconf, anonymous=true]{acmart}
usepackage{lmodern}
begin{document}
title[XYZ]{XYZ}
maketitle
begin{equation}
Output = AES_{K}(0),AES_{K}(1),AES_{K}(2),...
end{equation}
%
bibliographystyle{ACM-Reference-Format}
bibliography{PRNGbib}
end{document}
I am using a lot of other math packages too. Both parentheses and curly brackets tend to disappear in the final output as shown below:
I have already tried adjusting the package order as suggested here.
math-mode brackets acmart lmodern
add a comment |
The problem is that when using the font package lmodern
with the ACM class acmart.cls
, the parentheses tend to disappear in the final output. Without lmodern
, acmart.cls
gives an error. Here is the MWE:
documentclass[sigconf, anonymous=true]{acmart}
usepackage{lmodern}
begin{document}
title[XYZ]{XYZ}
maketitle
begin{equation}
Output = AES_{K}(0),AES_{K}(1),AES_{K}(2),...
end{equation}
%
bibliographystyle{ACM-Reference-Format}
bibliography{PRNGbib}
end{document}
I am using a lot of other math packages too. Both parentheses and curly brackets tend to disappear in the final output as shown below:
I have already tried adjusting the package order as suggested here.
math-mode brackets acmart lmodern
4
You shouldn't load font packages withacmart
.
– egreg
Mar 5 at 17:48
2
Theacmart
document class loads thelibertine
text font package and thenewtxmath
math font package (with optionlibertine
). You should under no circumstance be loading thelmodern
font package while using theacmart
document class. If, for some reason, you simply must use thelmodern
font package, don't use theacmart
document class. Incidentally, I get no error or warning message when running your code without the instructionusepackage{lmodern}
. Which TeX distribution do you employ?
– Mico
Mar 5 at 17:59
@Mico: I am usingMiKTeX
. I have enhanced the MWE to include the document title part now and commenting the packagelmodern
gives me this error "pdftex error (font expansion): auto expansion is only possible with scalabale fonts
".
– Azuru
Mar 6 at 19:37
Something must have gone wrong during the MikTeX installation process on your machine. I tried your code (with and without theusepackage{lmodern}
directive) on both a MikteX2.9 and a MacTeX2017 system and am unable to produce any error messages. Sorry.
– Mico
Mar 6 at 21:48
@Mico: That's strange. One more thing which popped up recently is that if you comment the title part along with thelmodern
package, no output pdf output is produced i.e. 0 pages. Though the compiler doesn't gives an error, the log file do mentions this error "!pdfTeX error: pdflatex.exe (file LinLibertineT-tlf-ot1--base): Font LinLibertineT-tlf-ot1--base at 360 not found ==> Fatal error occurred, no output PDF file produced!
". So as you already suggested this seems to be a case of some components missing from the underlyinglibertine
font package.
– Azuru
Mar 7 at 0:01
add a comment |
The problem is that when using the font package lmodern
with the ACM class acmart.cls
, the parentheses tend to disappear in the final output. Without lmodern
, acmart.cls
gives an error. Here is the MWE:
documentclass[sigconf, anonymous=true]{acmart}
usepackage{lmodern}
begin{document}
title[XYZ]{XYZ}
maketitle
begin{equation}
Output = AES_{K}(0),AES_{K}(1),AES_{K}(2),...
end{equation}
%
bibliographystyle{ACM-Reference-Format}
bibliography{PRNGbib}
end{document}
I am using a lot of other math packages too. Both parentheses and curly brackets tend to disappear in the final output as shown below:
I have already tried adjusting the package order as suggested here.
math-mode brackets acmart lmodern
The problem is that when using the font package lmodern
with the ACM class acmart.cls
, the parentheses tend to disappear in the final output. Without lmodern
, acmart.cls
gives an error. Here is the MWE:
documentclass[sigconf, anonymous=true]{acmart}
usepackage{lmodern}
begin{document}
title[XYZ]{XYZ}
maketitle
begin{equation}
Output = AES_{K}(0),AES_{K}(1),AES_{K}(2),...
end{equation}
%
bibliographystyle{ACM-Reference-Format}
bibliography{PRNGbib}
end{document}
I am using a lot of other math packages too. Both parentheses and curly brackets tend to disappear in the final output as shown below:
I have already tried adjusting the package order as suggested here.
math-mode brackets acmart lmodern
math-mode brackets acmart lmodern
edited 30 mins ago
barbara beeton
69.1k9157367
69.1k9157367
asked Mar 5 at 17:34
Azuru
313
313
4
You shouldn't load font packages withacmart
.
– egreg
Mar 5 at 17:48
2
Theacmart
document class loads thelibertine
text font package and thenewtxmath
math font package (with optionlibertine
). You should under no circumstance be loading thelmodern
font package while using theacmart
document class. If, for some reason, you simply must use thelmodern
font package, don't use theacmart
document class. Incidentally, I get no error or warning message when running your code without the instructionusepackage{lmodern}
. Which TeX distribution do you employ?
– Mico
Mar 5 at 17:59
@Mico: I am usingMiKTeX
. I have enhanced the MWE to include the document title part now and commenting the packagelmodern
gives me this error "pdftex error (font expansion): auto expansion is only possible with scalabale fonts
".
– Azuru
Mar 6 at 19:37
Something must have gone wrong during the MikTeX installation process on your machine. I tried your code (with and without theusepackage{lmodern}
directive) on both a MikteX2.9 and a MacTeX2017 system and am unable to produce any error messages. Sorry.
– Mico
Mar 6 at 21:48
@Mico: That's strange. One more thing which popped up recently is that if you comment the title part along with thelmodern
package, no output pdf output is produced i.e. 0 pages. Though the compiler doesn't gives an error, the log file do mentions this error "!pdfTeX error: pdflatex.exe (file LinLibertineT-tlf-ot1--base): Font LinLibertineT-tlf-ot1--base at 360 not found ==> Fatal error occurred, no output PDF file produced!
". So as you already suggested this seems to be a case of some components missing from the underlyinglibertine
font package.
– Azuru
Mar 7 at 0:01
add a comment |
4
You shouldn't load font packages withacmart
.
– egreg
Mar 5 at 17:48
2
Theacmart
document class loads thelibertine
text font package and thenewtxmath
math font package (with optionlibertine
). You should under no circumstance be loading thelmodern
font package while using theacmart
document class. If, for some reason, you simply must use thelmodern
font package, don't use theacmart
document class. Incidentally, I get no error or warning message when running your code without the instructionusepackage{lmodern}
. Which TeX distribution do you employ?
– Mico
Mar 5 at 17:59
@Mico: I am usingMiKTeX
. I have enhanced the MWE to include the document title part now and commenting the packagelmodern
gives me this error "pdftex error (font expansion): auto expansion is only possible with scalabale fonts
".
– Azuru
Mar 6 at 19:37
Something must have gone wrong during the MikTeX installation process on your machine. I tried your code (with and without theusepackage{lmodern}
directive) on both a MikteX2.9 and a MacTeX2017 system and am unable to produce any error messages. Sorry.
– Mico
Mar 6 at 21:48
@Mico: That's strange. One more thing which popped up recently is that if you comment the title part along with thelmodern
package, no output pdf output is produced i.e. 0 pages. Though the compiler doesn't gives an error, the log file do mentions this error "!pdfTeX error: pdflatex.exe (file LinLibertineT-tlf-ot1--base): Font LinLibertineT-tlf-ot1--base at 360 not found ==> Fatal error occurred, no output PDF file produced!
". So as you already suggested this seems to be a case of some components missing from the underlyinglibertine
font package.
– Azuru
Mar 7 at 0:01
4
4
You shouldn't load font packages with
acmart
.– egreg
Mar 5 at 17:48
You shouldn't load font packages with
acmart
.– egreg
Mar 5 at 17:48
2
2
The
acmart
document class loads the libertine
text font package and the newtxmath
math font package (with option libertine
). You should under no circumstance be loading the lmodern
font package while using the acmart
document class. If, for some reason, you simply must use the lmodern
font package, don't use the acmart
document class. Incidentally, I get no error or warning message when running your code without the instruction usepackage{lmodern}
. Which TeX distribution do you employ?– Mico
Mar 5 at 17:59
The
acmart
document class loads the libertine
text font package and the newtxmath
math font package (with option libertine
). You should under no circumstance be loading the lmodern
font package while using the acmart
document class. If, for some reason, you simply must use the lmodern
font package, don't use the acmart
document class. Incidentally, I get no error or warning message when running your code without the instruction usepackage{lmodern}
. Which TeX distribution do you employ?– Mico
Mar 5 at 17:59
@Mico: I am using
MiKTeX
. I have enhanced the MWE to include the document title part now and commenting the package lmodern
gives me this error "pdftex error (font expansion): auto expansion is only possible with scalabale fonts
".– Azuru
Mar 6 at 19:37
@Mico: I am using
MiKTeX
. I have enhanced the MWE to include the document title part now and commenting the package lmodern
gives me this error "pdftex error (font expansion): auto expansion is only possible with scalabale fonts
".– Azuru
Mar 6 at 19:37
Something must have gone wrong during the MikTeX installation process on your machine. I tried your code (with and without the
usepackage{lmodern}
directive) on both a MikteX2.9 and a MacTeX2017 system and am unable to produce any error messages. Sorry.– Mico
Mar 6 at 21:48
Something must have gone wrong during the MikTeX installation process on your machine. I tried your code (with and without the
usepackage{lmodern}
directive) on both a MikteX2.9 and a MacTeX2017 system and am unable to produce any error messages. Sorry.– Mico
Mar 6 at 21:48
@Mico: That's strange. One more thing which popped up recently is that if you comment the title part along with the
lmodern
package, no output pdf output is produced i.e. 0 pages. Though the compiler doesn't gives an error, the log file do mentions this error "!pdfTeX error: pdflatex.exe (file LinLibertineT-tlf-ot1--base): Font LinLibertineT-tlf-ot1--base at 360 not found ==> Fatal error occurred, no output PDF file produced!
". So as you already suggested this seems to be a case of some components missing from the underlying libertine
font package.– Azuru
Mar 7 at 0:01
@Mico: That's strange. One more thing which popped up recently is that if you comment the title part along with the
lmodern
package, no output pdf output is produced i.e. 0 pages. Though the compiler doesn't gives an error, the log file do mentions this error "!pdfTeX error: pdflatex.exe (file LinLibertineT-tlf-ot1--base): Font LinLibertineT-tlf-ot1--base at 360 not found ==> Fatal error occurred, no output PDF file produced!
". So as you already suggested this seems to be a case of some components missing from the underlying libertine
font package.– Azuru
Mar 7 at 0:01
add a comment |
active
oldest
votes
Your Answer
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%2f418599%2fparentheses-disappear-in-equation-mode-in-acm-class%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f418599%2fparentheses-disappear-in-equation-mode-in-acm-class%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
4
You shouldn't load font packages with
acmart
.– egreg
Mar 5 at 17:48
2
The
acmart
document class loads thelibertine
text font package and thenewtxmath
math font package (with optionlibertine
). You should under no circumstance be loading thelmodern
font package while using theacmart
document class. If, for some reason, you simply must use thelmodern
font package, don't use theacmart
document class. Incidentally, I get no error or warning message when running your code without the instructionusepackage{lmodern}
. Which TeX distribution do you employ?– Mico
Mar 5 at 17:59
@Mico: I am using
MiKTeX
. I have enhanced the MWE to include the document title part now and commenting the packagelmodern
gives me this error "pdftex error (font expansion): auto expansion is only possible with scalabale fonts
".– Azuru
Mar 6 at 19:37
Something must have gone wrong during the MikTeX installation process on your machine. I tried your code (with and without the
usepackage{lmodern}
directive) on both a MikteX2.9 and a MacTeX2017 system and am unable to produce any error messages. Sorry.– Mico
Mar 6 at 21:48
@Mico: That's strange. One more thing which popped up recently is that if you comment the title part along with the
lmodern
package, no output pdf output is produced i.e. 0 pages. Though the compiler doesn't gives an error, the log file do mentions this error "!pdfTeX error: pdflatex.exe (file LinLibertineT-tlf-ot1--base): Font LinLibertineT-tlf-ot1--base at 360 not found ==> Fatal error occurred, no output PDF file produced!
". So as you already suggested this seems to be a case of some components missing from the underlyinglibertine
font package.– Azuru
Mar 7 at 0:01