how to draw curved arrows of the form <=> instead of the form ->?
\documentclass[a4paper]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{chemfig}
\begin{document}
\begin{figure}[h!]
\footnotesize
\begin{center}
\noindent
\makeatletter
\definearrow1{s>}{%
\ifx\@empty#1\@empty
\expandafter\draw\expandafter[\CF@arrow@current@style,-CF](\CF@arrow@start@node)--(\CF@arrow@end@node);%
\else
\def\curvedarrow@style{shorten <=\CF@arrow@offset,shorten >=\CF@arrow@offset,}%
\CF@expadd@tocs\curvedarrow@style\CF@arrow@current@style
\expandafter\draw\expandafter[\curvedarrow@style,-CF](\CF@arrow@start@name)..controls#1..(\CF@arrow@end@name);
\fi
}
\makeatother
\schemedebug{false}
\schemestart
\noindent
\setcrambond{2pt}{}{}
\chemfig{ % Benzene Center
[:60]**6(------)} % Команда [:60] обозначает поворот молекулы на 60 град. Для ЦГ это незаметно. Однако baseline теперь внизу молекулы.
\arrow(benz.north--ch.south){<=>[][][]}[90,2] % Линия к циклогексану
\chemfig{(*6(------))} % циклогексан
\arrow(@benz.125--mch.305){<=>[][][]}[125,2,,,draw=none] % Линия к метилциклогексану
\chemfig{(*6(----(-)--))} % метилциклогексан
\arrow(@benz.192--tol.east){<=>[][][]}[185,2,,,draw=none] % Линия к толуолу
\chemfig{(**6(-----(-)-))} % толуол
\arrow(@benz.226--xy.10){<=>[][][]}[219,2,,,draw=none] % Линия к ксилолу
\chemfig{(**6((-)----(-)--))} % ксилол
\arrow(@benz.255--eb.45){<=>[][][]}[248,2,,,draw=none] % Линия к этилбензолу
\chemfig{(**6((--[:150])------))} % этилбензол
\arrow(@benz.285--hep.west){<=>[][][]}[285,2,,,draw=none] % Линия к гептану
\chemfig{(-[:35]-[:-35]-[:35]-[:-35]-[:35]-[:-35])} % гептан
\arrow(@benz.325--hex.west){<=>[][][]}[325,2,,,draw=none] % Линия к гексану
\chemfig{(-[:35]-[:-35]-[:35]-[:-35]-[:35])} % гексан
\arrow(@benz.355--ihex.175){<=>[][][]}[355,2,,,draw=none] % Линия к изогексану
\chemfig{(-[:-35](-[:270])-[:35]-[:-35]-[:35])} % изогексан
\arrow(@benz.55--mcp.235){<=>[][][]}[55,2,,,draw=none] % Линия к МЦП
\chemfig{([:234]*5((-)-----))} % МЦП
\arrow(@benz.210--l.235){<=>[][][]}[210,2]
\arrow(@benz.330--r.235){<=>[][][]}[330,2]
\arrow(@tol.90--mch.225){s>[+(90:2) and +(210:1)]}[60,2] % curved arrows
\arrow(@ihex.90--mcp.330){s>[+(90:2.5) and +(330:1)]}[120,2.3]
\arrow(@hep.240--eb.340){s>[+(240:1.2) and +(340:1.2)]}[195,2.6]
\schemestop
\end{center}
\normalsize
\caption{Пути образования бензола}
\label{fig:Benzene_precursors2}
\end{figure}
\end{document}
Ok, no one can help me during some months. I drawed the arrows. But I can't centered its on the scheme. And I don't know how to do center lines invisible.
\documentclass[a4paper]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english, russian]{babel}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{chemfig}
\begin{document}
\begin{figure}[h!]
\footnotesize
\begin{center}
\noindent
\tikz{\draw (0,0) -- (170:4cm) arc (170:135:4cm) -- +(210:2mm);
\draw (0,0) -- (45:4cm) arc (45:5:4cm) -- +(83:2mm);
\draw (0,0) -- (280:4cm) arc (280:260:4cm) -- +(338:2mm);
\draw (0,0) -- (135:3.85cm) arc (135:170:3.85cm) -- +(53:2mm);
\draw (0,0) -- (5:3.85cm) arc (5:45:3.85cm) -- +(290:2mm);
};
\end{center}
\normalsize
\caption{arrows}
\label{fig:arrows}
\end{figure}
\end{document}