# Missing $inserted with \left and \right Hello everybody I am a new Latex user and I try to write a my first presentation starting from a templete. When I try to make a slide with this code \subsection{Main Result} \frame { \begin{block}{Theorem \left[ Pasquale, Nicola \right]} Consider the multiplex network .... code from daniel \end{block} }  I have this error Missing$ inserted.}


Thanks a lot for every answer

• Welcome to TeX.SX! Whoever told you that you always need \left and \right in front of [ and ] (or other brackets) was wrong. – egreg Dec 16 '15 at 16:28

The best way is to not use \left and \right:

\documentclass{beamer}
\begin{document}

\frame
{
\begin{block}{Theorem [Pasquale, Nicola]}
Consider the multiplex network .... code from daniel
\end{block}
}
\end{document}


However if you want to use \left and \right you should be in math mode but this is not the best solution at all:

\documentclass{beamer}
\begin{document}

\frame
{
\begin{block}{Theorem $\left[\text{Pasquale, Nicola} \right]$}
Consider the multiplex network .... code from daniel
\end{block}
}
\end{document}


• You really don't want to write a name in math mode like that. The interword space is ignored (edit: but you get a small space after the comma), and the character spacing will be wrong. – Torbjørn T. Dec 16 '15 at 16:01
• @TorbjørnT. With a \text it's better of course – Romain Picot Dec 16 '15 at 16:04
• Yes, but rather pointless, isn't it? – Torbjørn T. Dec 16 '15 at 16:07
• @TorbjørnT. I agree :-) – Romain Picot Dec 16 '15 at 16:08
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7255248427391052, "perplexity": 1751.1654240187063}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2019-22/segments/1558232256571.66/warc/CC-MAIN-20190521202736-20190521224736-00069.warc.gz"}