Document Classes ⇒ achemso math environment problem
achemso math environment problem
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: achemso math environment problem
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
achemso math environment problem
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: achemso math environment problem
Here's an example. Example1 is compiled using achemso.cls, example2 is using article.cls.
Incidentally, when I compile the demo file it has the same problem, which is why I believe this is a problem with my install - I just don't know what to do about it.
- Attachments
-
- Latex.zip
- I included all output files and both input .tex
- (7.04 KiB) Downloaded 132 times
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
achemso math environment problem
Code: Select all
\begin{equation}
a^{\textrm{2}} + b \textrm{ - 18 = 0}
\end{equation}
Code: Select all
\begin{equation}
a^2 + b - 18 = 0
\end{equation}
I think you are looking at what people type into a word processor and expecting TeX to do the same. It does not, and those in the know also make the same changes when using a word processor (I certainly do). The tools have different aims: TeX is a typesetting engine, and is intended for getting it right.
Re: achemso math environment problem
In the example.div I posted, when I view the first line of the file, it reads
a +b =c
There are no numerals displayed at all, regardless of size or typesetting. The only way I could get them to display was by exiting the math environment using \textrm. Could this be a problem with my install of evince, perhaps? Do you happen to know what font is used for numerals in the math environment for achemso or where I could find out? It might not be installed on my machine.
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
achemso math environment problem
Code: Select all
\documentclass{article}
\usepackage{mathptmx}
\begin{document}
$a^2 - b = c$
\end{document}
Re: achemso math environment problem
- Attachments
-
- example.log
- (15.17 KiB) Downloaded 253 times