# Tag Info

0

You are partially answering yourself. Because $\epsilon$ and $\in$ are rather similar, a typografic customary says that the latter should be big enough to see the difference. It is not under: it is centered, but big. Let us see: \documentclass{article} \begin{document} $\in<$ $\in\left<\rule{0pt}{3mm}\right.$ \end{document} In the first case ...

1

The amsmath package provides "split" see http://www.tug.org/teTeX/tetex-texmfdist/doc/latex/amsmath/amsldoc.pdf, page 3 ff. A nice example can be found on http://www.latex-community.org/forum/viewtopic.php?f=46&t=3916

2

The dcases environment by »mathtools« from the »mh« bundle seems to be quite handy here. \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{mathtools} % loads »amsmath« \begin{document} $P(Y_i=j)= \begin{dcases} \frac{1}{1+\sum\limits_{k=1}^{K-1}e^{\beta_k\cdot x_i}} & \quad k=K \\ \frac{e^{\beta_j\cdot ... 2 Here is MWE that can help you to begin: \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \[ X_i= \begin{cases} 0 & \text{ for } i=0\\ (X_{i-1}\oplus A_i)\cdot H & \text{ for } i=1,\dotsc,m-1 \end{cases}$ \end{document} Also read the following: ...

3

Use cases environment \documentclass{article} \usepackage{amsmath} \begin{document}$$f(n) = \begin{cases} n/2 &\mbox{if } n \equiv 0 \\ (3n +1)/2 & \mbox{if } n \equiv 1 \\ (3n +1)/2 & \mbox{if } n \equiv 1 \end{cases}$$ \end{document}

5

You can load only the \mathbb alphabet from fourier: \DeclareFontFamily{U}{futm}{} \DeclareFontShape{U}{futm}{m}{n}{ <-> fourier-bb % changed from .92 to 1 }{} \DeclareMathAlphabet{\mathbb}{U}{futm}{m}{n} Note that I've also changed the magnification from .92 to 1 to match iwona sizes. MWE: \documentclass{article} \usepackage[math]{iwona} ...

3

I had no idea that amsmath had such a useful redefinition, so that should be the correct answer (after use of cases). However, for completeness (or if you want more space) you have a few options: reformulate your terms to allow for more vertical leg-room modify \arraystretch to a desired scale (but will cause potentially awkward space on top) use a strut, ...

8


2


3


6

Just to mention all possibilities, there is also the bm package with its \bm command: \documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{bm} \begin{document} \textbf{\textit{Les caractéristiques $\bm{f_i}$}} \end{document}

1

There is also \boldsymbol but it does not work so well as the above answers. See MWE below: \documentclass[letterpaper]{article} \usepackage{amsmath,amssymb} \begin{document} \noindent \textbf{\textit{Les caractéristiques $\boldsymbol f_{\!\boldsymbol i}$}}\\ \textbf{\boldmath\textit{Les caractéristiques $f_i$}} \end{document}

8


1


6


8

Please post complete documents not just fragments (so this isn't tested) but you want \begin{document} \textbf{\boldmath\textit{Les caractéristiques $f_i$}} \end{document}

16

The f isn’t bold because it’s set in math mode and in math f and f can be different things. E.g. f is a vector and f the length of the vector. LaTeX has it’s own treatment for math fonts which can be affected by the user with commands like \mathbf. But the math fonts don’t depend on the surrounding text font. You may have a look at Make mathfont respect the ...

2

New shortcuts are added under Tools --> Preferences --> Editing --> Shortcuts, for details see Shortcuts for Lemma, Claim, Theorem etc. The function you need for the blackboard font is math-insert \mathbb The other fonts in the list (under the font button on the math toolbar) has similar functions, just replace \mathbb with the appropriate macro, e.g. ...

9


4

You can load tgschola at a slightly reduced size: \documentclass[fontsize=11.2pt,oneside,DIV=12,a4paper]{scrreprt} \usepackage{fouriernc} \usepackage[scale=0.92]{tgschola} \usepackage{xcolor} \begin{document} % Draw a rule to mark the x-height \makebox[0pt][l]{\color{green!70}\vrule height\dimexpr 1ex+0.2pt depth -1ex width \textwidth}% This is $n_i$ a ...

5


3

Remarks You can indent your flalign by using the definition of flalignfrom amsmath.sty and modifiying it to your liking, e.g. inserting \hskip\parindent. Implementation \documentclass{article} \pagestyle{empty} % for cropping \newcommand\shortlipsum{ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ...

6

\mathchoice aims to solve the problem of defining commands for math mode that behave differently in the four main math styles, that is, display, text, script and scriptscript. I'll gloss over the four secondary (or “cramped”) styles, which are not of a concern with \mathchoice. When TeX is in a display it uses display style; in an inline formula it uses ...

0

The best answer to this question (and many other questions) is TeX By Topic by Victor Eijkhout. Try texdoc texbytopic for a free copy of this great book. Anyway, it tells you that there are eight math modes in TeX: Math formulas are set in any of eight styles: D display style, T text style, S script style, SS scriptscript style, and the four ...

1

In this solution, I used the tabstackengine package which is still under development. It was introduced at Writing a table with equally spaced columns, based on the widest column and source (V0.21) can be found at Measuring align. The package intends to introduce tabbing to the existing features of the stackengine package. So, in this example, I replace ...

6

Just add suitable phantoms: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{amssymb, amsmath} \begin{document} \begin{align} f_1(x) &= a \left (x - \frac{b}{3a} \right )^3 + b \left (x-\frac{b}{3a} \right )^2 + c \left (x-\frac{b}{3a} \right ) + d\\ ...

4

Of course AUCTeX is already able to do this out of the box! From the description of LaTeX-math-mode (C-h f LaTeX-math-mode RET): Easy insertion of LaTeX math symbols. If you give a prefix argument, the symbols will be surrounded by dollar signs. Thus, C-u ` t inserts $\tau$ If you want to automatically wrap dollars around the symbol when in text ...

8

Never use align for a single equation. But it's not the cause for your problems. One is that you don't load amssymb, so \mathbb isn't defined. The second is that \limits doesn't make sense. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \label{eq:time_marginal_condition} x \lVert x \rVert_{L^{2}(\mathbb{R})}^{2} ...

4

Limit controls must be applied to a math operator. Try this: x \mathop{\left\| x \right\|}\limits_{L^{2}(\mathbb{R})}^{2} PS: You forgot the amssymb package in your MWE.

4

You are probably expecting iterated integral, not double integral. Hence \documentclass{article} \begin{document} \newcommand{\Int}{\int\limits} $$\Int_{-\infty}^{+\infty} \Int_{-\infty}^{+\infty}f(x,y) \,dxdy$$ \end{document}

0

The official way of doing this is to break your formula into pieces. Here is an example: \documentclass{article} \usepackage{amsmath} \begin{document} \section{Nice example} \begin{align*} & \pi \cdot \tau \cdot \pi \cdot \tau \cdot \pi \cdot \tau \cdot \pi \cdot \tau \cdot \pi \cdot \tau \cdot \pi \cdot \tau \cdot \pi \cdot \tau \cdot \pi \cdot \tau ...

3

One could define a macro called, say, \supsub, that takes two arguments -- the repeated material that goes in the superscripts and subscripts, resp. One or the other argument or even both arguments may be empty. \documentclass{article} % exploit the fact that \null is defined as '{}' \newcommand{\supsub}[2]{ a \if#1\null\else^{#1}\fi ...

4

Don't use flalign for left aligning displays; this is a job for the fleqn option. The problem is that a lonely \sqrt{\rho} shouldn't have too much space between the bar and the rho, but this obviously gives asymmetric results when square roots appear together like in $\sqrt{a}+\sqrt{b}$ There are several tricks for equalizing square root symbols, each ...

3

How's this? \documentclass[12pt]{article} \usepackage{ifthen} \newcommand{\exponent}[2] {% \ifthenelse{\equal{#1}{^}}% {a^{#2}b^{#2}c^{#2}}% {\ifthenelse{\equal{#1}{_}}% {a_{#2}b_{#2}c_{#2}}% {\message{## Warning: exponent command misused ##}#1#2}% }} \begin{document} Here is the exponent command: ...

10

As already mentioned in comments, the nag package does its best to pick up not only use of TeX rather than LaTeX syntax but also deprecated LaTeX stuff. That is the best you can do with LaTeX2e because of the way the kernel itself and packages are written: they use TeX constructs without 'LaTeX wrappers'. One of the aims of the LaTeX3 Project is to develop ...

Top 50 recent answers are included