Triple bond inside escaped chemfig formula within chemformula's reaction

by andselisk   Last Updated October 09, 2019 14:23 PM

I'm trying to include a molecular structure drawn with chemfig inside chemformula's reaction environment by escaping it with "…". It all worked fine until I stumbled upon a structure with a triple bond. According to chemfig's manual, ~ is used exclusively for drawing a triple bond, however, when placed inside reaction, ~ character is ignored or incorrectly interpreted (single and double bonds are displayed fine):

enter image description here



    A + B + C + D -> "\chemfig{A-[::30]B=[::30]C~[:30]D}"


I'm using chemformula v4.15g, chemmacros v5.8f and chemfig v1.41 from the fully up-to-date (as of 2019-10-08) TeX Live 2019.

Related Questions

Updated February 20, 2018 11:23 AM

Updated April 23, 2016 09:09 AM

Updated April 03, 2016 08:10 AM

Updated December 29, 2018 11:23 AM