¿El nodo TikZ no permite saltos de línea?

¿El nodo TikZ no permite saltos de línea?

Recibo un error cuando intento agregar un salto de línea dentro de un TikNodo Z. ¿Alguna idea?

El código:

\documentclass[12pt,dvipsnames]{article}
\usepackage[a4paper, bindingoffset=0.1in, left=1in, right=1in, 
top=.51in, bottom=1in, footskip=.25in]{geometry}
\usepackage{listings,xcolor,amssymb,tikz,amsmath,enumitem}  
\usetikzlibrary{shadows.blur, shapes.arrows, shapes.geometric, shapes.misc}
\begin{document}
\tikzset{decision/.style= {diamond, draw, aspect=2,text badly centered, node
distance=2.5em, inner sep=0pt}}
\begin{center}
  \begin{tikzpicture}
    \node[decision] (dic) at (0,0) {\scriptsize{is $dE<0$}};
    \node[decision](metro) at (-3,-2) {\scriptsize{is\\ $rand< e^{-\Delta E/k_BT}$}};
  \end{tikzpicture}
\end{center}
\end{document}

El error

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.12 ...sion](metro) at (-3,-2) {\scriptsize{is\\ 
                                                  $rand< e^{-\Delta E/k_BT}$}};

Respuesta1

Debe agregar una alineación (como center) para permitir \\el contenido del nodo.

\documentclass[12pt,dvipsnames]{article}
\usepackage[a4paper, bindingoffset=0.1in, left=1in, right=1in, 
top=.51in, bottom=1in, footskip=.25in]{geometry}
\usepackage{listings,xcolor,amssymb,tikz,amsmath,enumitem}  
\usetikzlibrary{shadows.blur, shapes.arrows, shapes.geometric, shapes.misc}
\begin{document}
\tikzset{decision/.style= {diamond, draw, aspect=2,text badly centered, node
distance=2.5em, inner sep=0pt,font=\scriptsize,align=center}}
\begin{center}
  \begin{tikzpicture}
    \node[decision] (dic) at (0,0) {is $\mathrm{d}E<0$}; 
    \node[decision](metro) at (-3,-2) {is\\ $\text{rand}< e^{-\Delta E/k_\mathrm{B}T}$}; 
   \end{tikzpicture}
\end{center}
\end{document}

ingrese la descripción de la imagen aquí

información relacionada