-1

I am using LaTeX for research with hexagonal chains and would like to know some ways to create the a horizontal hexagonal chain. So far I only have some going vertically; I have used code I received on here under a previous question but haven't figured out how to rotate the vertical chain of hexagons to make it horizontal.

Is it possible to use chemfig or tikz to create a chain similar to either of these?

Hexagonal chain of 3 hexagons

Hexagonal chain with dotted line representing any number of hexagons

Werner
  • 14,324
  • 7
  • 55
  • 77
phys
  • 1
  • 1

1 Answers1

1

Here is an example with the chemfig package

\documentclass{article}
\usepackage{chemfig}
\begin{document}
\begin{figure}
\centering
\chemfig{*6(--*6(--*6(-----)---)----)}
\caption{Chain of 3 hexagons}
\end{figure}

\end{document}

And the corresponding output
enter image description here

sebo1234
  • 608
  • 5
  • 18