I am just what want to define a tcolorbox with title box environment like this: [I:OBJ_ID_123] due to it is contains underscore.it is very tedious to type_ to show underscore everytime.because my documents contains so many fixed format like I:OBJ_ID_123 .how to make a format just type as plain text without using math symbol mode.just type as [I:OBJ_ID_123].for example
this is demo:
\documentclass[10pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{tcolorbox}
\begin{document}
\begin{tcolorbox}[halign title=flush right,title=\texttt{[I:OBJ\_ID\_123] }]
this is demo for how to define this,i need this effect
\end{tcolorbox}
% start new effect, begin ID:124,125......, it is very hard to type \_ to escape underscore
\begin{tcolorbox}[halign title=flush right,title=\texttt{[I:OBJ\_ID\_124] }]
so the second ID begin 124, i need to type [I:OBJ\_ID\_124]
how to directly to type[I:OBJ_ID_124]
\end{tcolorbox}
\end{document}
\newcommand
.