4

I need to insert a formula containing text within. My problem is this text is long and it goes way over the margins, so I am trying to split the line so it could nicely fit in the page. Nothing I have tried so far worked, I am asking you for a bit of help.

\begin{description}
    \item[Caso $\bm{\Leftarrow}$] È verificato per i teoremi della sezione \ref{closprop}.
    \item[Caso $\bm{\Rightarrow}$] Sia $L$ un linguaggio regolare tale che $L = L(\mathcal{M})$, 
                  $\mathcal{M}$ è un DFA con stati $q_1, \ldots, q_n$,  
                  definito come di consueto e sia $A = \{s_1, s_2, \ldots, s_k\}$. 
                  Definiamo l'insieme $R^k_{i,j}$ nel modo seguente:
                ${R^k_{i,j} = \left\{x \in A^* \mid \delta^*(q_i, x) = q_j \text{ e } \mathcal{M} 
                \text{ nel processare la stringa passa solo per stati } q_l \text { con } l \leq k\right\}}$
    \end{description}

Here it is my issue:

enter image description here

Thanks for your assistance.

1
  • 1
    Please always put a complete small document in the question not as a link (which might change) Nov 11 '13 at 17:45
6

I'd just lift the text out of the math mode:

enter image description here

\documentclass[a4paper]{article}

\usepackage[italian]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}

\title{Your Paper}
\author{You}

\begin{document}
\begin{description}
\item[Caso $\Leftarrow$] È verificato per i teoremi della sezione 
\item[Caso $\Rightarrow$] Sia $L$ un linguaggio regolare tale che $L = L(\mathcal{M})$, $\mathcal{M}$ è un DFA con stati $q_1, \ldots, q_n$, definito come di consueto e sia $A = \{s_1, s_2, \ldots, s_k\}$. Definiamo l'insieme $R^k_{i,j}$ nel modo seguente:
$\displaystyle
R^k_{i,j} = \{x \in A^* \mid \delta^*(q_i, x) = q_j \text{ e } \mathcal{M}$  nel processare la stringa passa solo per stati 
$\displaystyle q_l \text { con } l \leq k\}$
\end{description}


\end{document}

Or with a center environment around the display:

enter image description here

3
  • 1
    First of all, thank you for your help. I really need it to be in display style rather than inline.
    – haunted85
    Nov 11 '13 at 17:51
  • It is in display style: \displaystyle you could put it (both math sections and the text in between) inside a center environment if you want it to be set off from the preceding paragraph Nov 11 '13 at 17:59
  • 1
    @haunted85 see 2nd image added to answer Nov 11 '13 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.