I want to write the following chemical equation in Latex:
I'm trying to put the parentheses in ():
\documentclass[fontsize=11pt]{article}
\usepackage{braket}
\usepackage{pdfpages}
\usepackage{geometry}
\usepackage{chemist}
\usepackage{chemformula}
\geometry{margin=2.5cm}
\usepackage{mathptmx}
\newtheorem{theorem}{Teorema}
\usepackage{tocloft}
\usepackage{tocstyle}
\newtocstyle[standard][leaders]{mytocstyle}{\settocfeature[1]{entryhook}{\normalfont}}
\usetocstyle{mytocstyle}
\renewcommand{\baselinestretch}{1.15}
\usepackage[justification=centering]{caption}
\usepackage{array}
\usepackage{setspace}
\usepackage{imakeidx}
\usepackage{adjustbox}
\usepackage{enumitem}
\usepackage{amsfonts}
\usepackage{varwidth}
\usepackage{booktabs}
\usepackage{array,tabularx,threeparttablex}
\usepackage{indentfirst}
\usepackage{amsmath}
\usepackage{multirow}
\usepackage[normalem]{ulem}
\usepackage{mathtools}
\usepackage{blindtext}
\usepackage{color}
\usepackage{caption}
\usepackage{float}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{verbatim}
\usepackage[utf8]{inputenc}
\usepackage[document]{ragged2e}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{fancyhdr}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\usepackage[T1]{fontenc}
\usepackage[portuguese]{babel}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{amssymb,amsmath,bbm}
\usepackage{multirow}
\usepackage{acro}
\acsetup{first-style=short}
\begin{document}
\begin{chemmath}
\text{MoS}_{2}+\emph{x}\,\,\text{n-BuLi}
\reactrarrow{0pt}{1cm}{}{}
\frac{\emph{x}}{2}\,\,\text{n-Oct} + \text{Li}_{x}\text{MoS}_2\,\,\, (x\approx 1)
\end{chemmath}
\end{document}
Output:
How can I fix the code?