In latex i have written 3 different type of reaction and the problem is the middle arrow align according to reactants .

A + B -> C
A + B + C -> D

I want to align like this 
A + B     -> C
A + B + C -> D

I want to align these particular reactions


\title{Aromatic Hydrocarbons}

\section{General Method of Preparation of Benzene}

    \subsection{Decarboxylation (From Sodium Benzoate)}

      \sodiumbenzoaten \+ \NaOH \arrow(.{4.85}--){->[\footnotesize\chemfig{CaO}][$\Delta$]} \benzenen   \+ \CaO

    \subsection{From Phenol}

      \phenoln \+ \chemfig{Zn} \arrow(.{4.85}--){->[$\Delta$]} \benzenen   \+ \ZnO

    \subsection{From Reduction of Cholorobenzene}

      \chlorobenzenen   \arrow(.{4.85}--){->[\chemfig{LiAlH_4}]} \benzenen   \+ \chemfig{HCl}


is it possible? I find it don't work like math array while aligning equations :(

and I also want to align name like sodium benzoate towards left (i don't know why they appears to be right )

\def\sodiumbenzoaten{\chemname{COONa-[4]**6(------)}{Sodium Benzoate_ZZZZ}}

The text Sodium Benzoate_ZZZZ below the structure appears abit right how do i bring it abit left ?

So, How to align these reactions ? How to align the name of sodium benzoate abit left ? How to make arrow length longer ?

Thanks :)

  • Welcome to the site. But please, provide code that compiles, starting with \documentclass. Save time and effort for the people trying to help you by making your example compact but complete. – Steven B. Segletes Jun 22 '15 at 11:07
  • @StevenB.Segletes Ok i provided starting with document class :) – aftershock Jun 22 '15 at 11:21
  • @aftershock You documentclass is still missing. I do not know, how to compile your code. Please complete this – LaRiFaRi Jun 23 '15 at 9:19
  • Could you add the definition of \benzene as well? And while you're at it, add a \documentclass, the necessary \usepackages, and whatever else is needed to compile your example. – Torbjørn T. Jun 30 '15 at 22:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.