Tag Info

New answers tagged

2

If, despite barbara's comment, you really want italic curly brackets, you might want one of these solutions: \documentclass{article} \usepackage{mathtools} \usepackage[T1]{fontenc} \begin{document} Text mode with arrows in maths mode: {\itshape Method $\rightarrow$ \{\ ``EquationSimplification'' $\rightarrow$ ``Solve'' \} } Maths mode: \[ Method ...


7

\documentclass{memoir}%it must work with memoir, so no solutions with \it allowed. \newcommand\italicmath{\mathversion{italic}} \newcommand\bitalicmath{\mathversion{bitalic}} \DeclareMathVersion{italic} \SetSymbolFont{operators}{italic}{OT1}{cmr} {m}{it} \SetSymbolFont{letters} {italic}{OML}{cmm} {m}{it} \SetSymbolFont{symbols} ...


2

My suggestion would be to define a macro that handles the formatting of your "variable names", so you can have some consistent output in your document, regardless of where you use it: \documentclass{article} \usepackage[T1]{fontenc} % http://tex.stackexchange.com/a/139980/5764 \newcommand{\var}[1]{\texttt{\detokenize{#1}}} \begin{document} \[ ...


4

Usually numbers are not italicized, but it is possible, for example: \documentclass{article} \begin{document} \[\mathit{01234567890}\] \end{document}


1

You have already enabled mathescape. This can also be used for executing \textbf, e.g. $\textbf{Table}$. I would use markup commands, then the code is easier to read and maintain. Also there are other options than a listings. The following example uses a tabbing environment: \documentclass{article} \usepackage{amstext} \newcommand*{\EndTag}[1]{% ...



Top 50 recent answers are included