Questions tagged [inline]

In typesetting math in LaTeX, there is inline mode (math inside text) and display mode (separate equations outside text). This tag is used for inline mode. It should also be used for other structures that provide a similar distinction between its usage, like the {listings} package's environment and inline form.

Math in LaTeX is most commonly set as inline (or text style) mathematics

...here is some text and $<math content>$ and some more text...

or as (or display style) mathematics

...here is some text and
\[
  <math content>
\]
and some more text...

For specific use on the notation/symbols for setting these, see Why is \[ ... \] preferable to $$ ... $$? and Are \( and \) preferable to dollar signs for math mode?

Other packages may also provide variants to their display environments. Most notably listings provides an inline \lstinline version to its display lstlisting environment:

...here is some text and some \lstinline!code!, and some more
\begin{lstlisting}[basicstyle=\ttfamily]
code
\end{lstlisting}
315 questions
4
votes
1 answer

What is the opposite of an inline formula?

What is the technical term to refer to a "regular" equation in the center of a page in latex? I know that a formula in the middle of a sentence is called "inline" Would it be called an "outline" formula?
Conor
  • 349
  • 2
  • 7
3
votes
1 answer

Inline mode vs equation* environment

I want to create For this, I write \begin{equation*} \sum^* =\sum^0 \cup\sum^1 \cup \sum^2 \cup\ldots \end{equation*} But this creates Again if I write this in inline mode like $\sum^* =\sum^0 \cup\sum^1 \cup \sum^2 \cup\ldots$ then it…
Manjoy Das
  • 779
  • 4
  • 15
1
vote
1 answer

Align summation with capital letters inline

I imagine this has been asked, but everything I can find when searching is about aligning with line breaks, or messing with limits. Also searching for centering summation, naturally has its own commands it gets lost in. I have also seen the…
001001
  • 159
1
vote
1 answer

Breaking line inside inline maths seperated by comma

I am trying to write a huge inline math expression $S_{new} =\left\lbrace(x_{k} + N(\mu_{x},\sigma),y_{k} + N(\mu_{y},\sigma))\allowbreak,(x_{k}+1 + N(\mu_{x},\sigma),y_{k}+1 + N(\mu_{y},\sigma))..\right\rbrace \forall \ k \in…
swarnava112
  • 113
  • 3
0
votes
1 answer

How to fix overfull in inline math?

How do I fix this overfull warning that is caused by the inline math equation? When I used \sloppy on the paragraph related, underfull warning appeared instead. I've included a MWE below. If it helps, I use…
0
votes
0 answers

LaTex \(...\) escape sequence meaning

I'm trying to insert some inline mathematical expressions inside a sentence. I've read that in-order to do that you should do: $$expression$$ I've also read it's not recommended but as for the explanations I've read I'm not sure I fully understand…
Jorayen
  • 191
0
votes
1 answer

How can I put both in the same line?

\textbf{BC Calculus - Step-by-Step \begin{flushright}{Name \underline{\hspace{2.6in}}}\end{flushright}}
Jake Lam
  • 131
0
votes
0 answers

In-line math symbol convention

I know it's much better to use \[ \] over $$ $$ when typesetting math equations on their own line (I believe this is called display math?) But is it also inappropriate to use $ $ for in-line math over \( \)? If so, what are the reasons? I find the…