Bonjour,
Je souhaiterais mettre des accolades autour de [Code ]-[:60]OH)-[:-30]-[:30, 1.5]({(-[:90](=[:120]O)-[:60]OH)(-[:-90])})-[:-30]- [/Code ] avec en indice n-1 .
J'ai beau décortiqué la doc de chemfig je n'y arrive toujours pas. Pourriez vous m'aider ?
Code:\documentclass{article} \usepackage{graphicx} % Required for inserting images \usepackage[french]{babel} \usepackage[T1]{fontenc} \usepackage[left=2.5cm, right=2.5cm, top=2cm, bottom=2cm]{geometry} \usepackage{hyperref} \usepackage{float} \usepackage{colortbl} \usepackage{tabularray} \usepackage{amsmath} \usepackage{xcolor} \usepackage{titling} \usepackage{chemfig} \usepackage{pgfplots} \usepackage{fancyhdr} \schemestart \chemfig{R-[:30]((-[:-30]CH_2\bullet)-[:90]((=[:120]O)-[:60]OH))} \raisebox{35pt}{+ n} \chemfig{=[:30]((-[:-30]CH_3)-[:90]((=[:120]O)-[:60]OH))} \arrow \chemfig{R-[:30](-[:90](=[:120]O)-[:60]OH)-[:-30]-[:30, 1.5]({(-[:90](=[:120]O)-[:60]OH)(-[:-90])})-[:-30]-[:30,1.5]CH_2\bullet((-[:90](=[:120]O)-[:60]OH)(-[:-90]))} \schemestop
-----