title: Copying LaTeX from Mathematica
body: <p>Is there a way to copy text with <code>InlineFormula</code> styles to the clipboard with the math section within the dollar signs?</p>
  
  <p>Take this for example. The following screenshot shows part of a mathematica notebook:</p>
  
  <p><img src="https://i.stack.imgur.com/ekRqo.png" alt="Notebook"></p>
  
  <p>I have duplicated the same cell to show the expression form. Now, when I right click on the text and click copy as LaTeX and paste it say here:</p>
  
  <pre><code>\text{I hope this inline text is copied within the dollar signs: }
  
  f(x) = 3. \text{Did} \text{it} \text{work}?
  </code></pre>
  
  <p>I get that. If I were to save the file as latex I would obtain something like this:</p>
  
  <pre><code>I hope this inline text is copied within the dollar signs: \(f(x) = 3\). Did it work?
  </code></pre>
  
  <p>I have never used <code>\( \)</code> in latex. But I'm assuming this is another form of doing inline math since it worked when I compiled it with LaTeX</p>
  
  <p>Sometimes I find myself typing some text in Mathematica and later pasting some text with inline text into some latex file. Is there some settings I can change so that I can obtain the inline math mode instead of the <code>\text{}</code> command?</p>
  
  <p>Another related question is, Is it possible to do display math in Latex? The <code>DisplayFormula</code> style doesn't seem to work quite right.</p>
  
  <p>Any knowledge about latex settings in <em>Mathematica</em> is welcome.</p>