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 ...

learn more… | top users | synonyms

2
votes
0answers
115 views

Using oldstyle numbers in XeLaTeX math mode for ONLY inline math

Is there any way to use OldStyle numbers for text and inline math only, while using Lining in the align and equation environments? Ideally via mathspec, but I'm open to other solutions.
1
vote
0answers
233 views

Extra space in \lstinline

When using the \lstinline macro from listings, like \lstinline|subl| some extra whitespace is added to the intended text. It is especially painful at the end of the line: it behaves as if it were ...
0
votes
0answers
43 views

Line Breaks in Inline Math Mode

Is it possible to put in manual line-breaks in inline math mode? I have tried using '\\' and '\linebreak' but my equation keeps displaying as a single line. :( Sample code: \[ abcd \\ abcd \newline ...
0
votes
0answers
41 views

Babelbib - book citation with author and page numbers

I am using Overleaf to typeset my book using the Memoir class, and Babelbib\usepackage{babelbib}with bibliography style \bibliographystyle{bababbrv} to generate my references. I'm using \usepackage[...
0
votes
0answers
42 views

Overfull hbox in lstinline

I have defined new command like this: def\inline#1{\lstinline[breaklines=true, basicstyle=\ttfamily]{#1}} Now I can say something like this in my document: \inline{my_file.cpp} But here is the ...
0
votes
0answers
128 views

Issue with multiple in-line references by some author using bibtex + natbib + apacite

When I have multiple papers to refer to in the same breath by the same author, the second reference year always prints as 0 and with no space after the comma, even though the full reference is indeed ...
0
votes
0answers
242 views

LaTeX for word style divide?

In microsoft word equation, it's possible to write a / b in a format that a is slightly upper than normal text, the / can be entered using \ldivide. Is it possible to do so in LaTeX?