summaryrefslogtreecommitdiff
path: root/graphics/mol2chemfig/docs/chapters/flip-rotate.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mol2chemfig/docs/chapters/flip-rotate.tex')
-rw-r--r--graphics/mol2chemfig/docs/chapters/flip-rotate.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/mol2chemfig/docs/chapters/flip-rotate.tex b/graphics/mol2chemfig/docs/chapters/flip-rotate.tex
new file mode 100644
index 0000000000..8857af4857
--- /dev/null
+++ b/graphics/mol2chemfig/docs/chapters/flip-rotate.tex
@@ -0,0 +1,16 @@
+\subsection{Flipping and rotating structures}
+
+The vertical flipping can be reverted by passing the option \lstinline!--flop! or \lstinline!-q!:
+
+\lstinputlisting{doxo-recalculated-flopped.sh}
+
+\cfpic{doxo-recalculated-flopped.tex}
+
+Horizontal flipping is done with option \lstinline!--flip! or \lstinline!-p!.
+
+Rotation is performed by passing the \lstinline!--angle! or \lstinline!-a! option; rotation is counter-clockwise:
+
+\lstinputlisting{doxo-recalculated-rotated.sh}
+
+\cfpic{doxo-recalculated-rotated.tex}
+