chemfig
Horizontal reactions
Horizontal reactions
To typeset a horizontal reaction with a simpler syntax, you can use the environment “hreac”.
\hreac[⟨keys⟩=⟨values⟩] ⟨reaction⟩ \endhreac
As seen previously, the options can be set with \setchemfig{⟨keys⟩=⟨values⟩} if you want to set them for the rest of the document.
To apply settings to a single reaction only, use the optional argument of the environment.
Here is the complete list of parameters for the \hreac macro, their default values, and a short description.
| Key | Default value | Description |
|---|---|---|
| harrow minwidth | 3em | minimal length of an arrow |
| label xsep | 3pt | when the arrow extends to fit its labels, its length is equal to the length of the longest label plus twice that dimension |
| label align | c | text alignment in arrow labels (possible values ⟨c⟩, ⟨r⟩, or ⟨l⟩) |
| name sep | 1.5ex | minimum vertical distance between the compound boxes and its name |
| hreac anchor | text | anchor of the first compound |
| hreac sep | 0.5em | horizontal space between boxes containing compounds |
| hreac debug | false | if ⟨true⟩, draw the boundaries of the compounds, the anchors, the node names, and the horizon line |
| arrow label sep | 3pt | for this key and the following ones, see options of \schemestart section 1 |
| arrow style | ⟨empty⟩ | |
| arrow double sep | 2pt | |
| arrow double coeff | 0.6 | |
| arrow double harpoon | true | |
| arrow label sep | 3pt | |
| arrow head | -CF | |
| arrow coeff | 1 |