Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Sonntag
Posts: 13 Joined: Sun May 24, 2015 3:37 pm
Post
by Sonntag » Sun May 24, 2015 7:40 pm
Hi!
I would like to indent the reaction equation like in following example. With a lot of mistake it worked with mhchem. How can it be fixed with chemmacros?
Sonntag
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\usepackage{fleqn}
\setlength{\mathindent}{1cm}
\usepackage[option1 = <value1>, option2 = <value2>]{chemmacros}
\begin{document}
\reaction{H2 + O* <=> OH* + H*}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Johannes_B
Site Moderator
Posts: 4182 Joined: Thu Nov 01, 2012 4:08 pm
Post
by Johannes_B » Sun May 24, 2015 9:04 pm
To be honest, i don't even see the problem.
Code: Select all
\documentclass[fleqn]{article}
\usepackage{chemmacros}
\usepackage{showframe}
\setlength{\mathindent}{.2cm}
\begin{document}
\reaction{H2 + O* <=> OH* + H*}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Sonntag
Posts: 13 Joined: Sun May 24, 2015 3:37 pm
Post
by Sonntag » Sun May 24, 2015 9:49 pm
If I compile the example from above it look like this with 20 mistakes and if I let me show the first one I get directed to fleqn.clo.
file.php.jpeg (12.53 KiB) Viewed 8499 times
Last edited by
cgnieder on Sun Jul 05, 2015 12:37 pm, edited 2 times in total.
Johannes_B
Site Moderator
Posts: 4182 Joined: Thu Nov 01, 2012 4:08 pm
Post
by Johannes_B » Sun May 24, 2015 9:52 pm
Update your packages.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Sonntag
Posts: 13 Joined: Sun May 24, 2015 3:37 pm
Post
by Sonntag » Sun May 24, 2015 10:14 pm
Today I've updated all packages. Have checked it right now on MikTex. No new updates couldn't found. And restarted the computer, but nothing has changed. What else could I do?
Stefan Kottwitz
Site Admin
Posts: 10344 Joined: Mon Mar 10, 2008 9:44 pm
Post
by Stefan Kottwitz » Sun May 24, 2015 10:49 pm
Perhaps post your .log
file here, as attachment to a post.
Stefan
LaTeX.org admin
Sonntag
Posts: 13 Joined: Sun May 24, 2015 3:37 pm
Post
by Sonntag » Sun May 24, 2015 11:51 pm
Here is the log file:
Attachments
LaTeX2.log
(74.5 KiB) Downloaded 555 times
Johannes_B
Site Moderator
Posts: 4182 Joined: Thu Nov 01, 2012 4:08 pm
Post
by Johannes_B » Tue May 26, 2015 2:45 pm
Hi, please update the formats as seen in
MikTeX Maintenance . That should help.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Sonntag
Posts: 13 Joined: Sun May 24, 2015 3:37 pm
Post
by Sonntag » Sun May 31, 2015 12:38 pm
Thank you, for the suggestion.
But it hasn't change something. I still have the same number of mistakes.
Sonntag
Johannes_B
Site Moderator
Posts: 4182 Joined: Thu Nov 01, 2012 4:08 pm
Post
by Johannes_B » Sun May 31, 2015 12:56 pm
What exactly did you do? Can you show us the log-file of the latest run after the update? Please give it a proper file name.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.