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 ...
4
votes
2answers
243 views
Can I draw a small arrow from a word to a space-gap on the same line?
I want to illustrate that the const in the following line can also be moved one word to the right. Maybe I can underline the const and draw a slim arced arrow pointing to the next gap?
const int * ...
8
votes
4answers
1k views
Micro-graphics inline in text
Can I insert a graphic in-line in a sentence?
Use case: I'm writing a manual that involves navigating the Windows Start Menu. I would like to insert a little graphic of the start menu in-line in ...
5
votes
1answer
288 views
inline math with \ldots
what should be preferred: $x_1,\, x_2,\ldots,\, x_n$ or $x_1$, $x_2$, ..., $x_n$
I'm hesitating for the \ldots versus ...
2
votes
5answers
441 views
inline bracket, similar to a permutation and binomial, but aligned
I'm often experiencing instances, when I need to define a function on two sets in a domain. I'd like to create a command \newcommand{\func}[4]{...}, which makes an inline bracket, that shows how the ...
13
votes
1answer
2k views
Vertical alignment of inline images
Images appearing inline aren't always ideally placed relative to the baseline and risers of the text itself, so I frequently find myself doing manual adjustment, by eye, using \raisebox{}{} with a ...
3
votes
1answer
217 views
How to properly break text with lots of inline formulas?
I have the following document:
\documentclass{article}
\begin{document}
\textbf{Theorem:}
$\forall x_0\cdots\forall x_{n+2}(
\forall x_{n+3}(x_{n+3}\in x_{n+1}\leftrightarrow
...
1
vote
1answer
115 views
Spacing of characters in a mathematical set, displayed inline in paragraph
I have a mathematical set notation that I want to display inline in a paragraph of text. However, when I write this, the output is not very beautiful:
$\{ (w_j,\dots,w_{j+n-1}) | 0 \leq j \leq ...
3
votes
3answers
2k views
Aquamacs + AUCTeX inline preview
I tried to search for the solution, but I couldn't even find references to this problem. I'm trying to use Aquamacs+AUCTeX as my LaTeX editor. One of the major features available in this setting is ...
23
votes
6answers
6k views
Prevent LaTeX to break an inline math equation
I hope this question was not asked before. At least I haven't found it. I have an inline math equation and LaTeX is breaking it into two parts. In this case I'd prefer to have the whole and short ...
15
votes
3answers
2k views
Preferred method for inline code samples
I tend to use the minted package for including code samples within my documents, which produces very nice output. However, because Pygments always produces a verbatim environment there's no way to ...
2
votes
5answers
817 views
How to automatically inline \input commands and bibliography?
I have a document that uses some \input commands and creates the bibliography via an external .bib file and bibtex.
Now I have to inline the \input commands (i.e. replace each \input command with ...
4
votes
1answer
478 views
Is it possible to use \begin{align} in an inline math mode with \displaystyle?
Is it possible to use \begin{align} in an inline math mode with \displaystyle?