• No results found

A simple list of equations can be displayed either with one number per equation f (x

N/A
N/A
Protected

Academic year: 2021

Share "A simple list of equations can be displayed either with one number per equation f (x"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Using the mhequ package

Martin Hairer

Version 1.7, August 25, 2015

Here is a simple labelled equation:

5

X

i=1

XijXij = yj . (1)

Removing or adding the label does not require a change of environment:

5

X

i=1

XijXij = yj .

However, if the option numberall is set, then every single equation is numbered. A simple list of equations can be displayed either with one number per equation

f (x) = sin(x) + 1 , (2)

h(x) = f (x) + g(x) − 3 , (3)

or with one number for the whole list

f (x) = sin(x) + 1 ,

h(x) = f (x) + g(x) − 3 , (4)

using only a very small modification in the syntax. Of course, it can also have no number at all:

f (x) = sin(x) + 1 , h(x) = f (x) + g(x) − 3 . Let us make a first group:

f (x) = sin(x) + 1 , (5a)

g(x) = cos(x) − x2+ 4 , (5b)

h(x) = f (x) + g(x) − 3 . (5c)

One can refer to the whole block (5) or to one line, like (8a) for example. It is possible to use any tag one likes with the \tag command

x = y . (?)

Such an equation can be referred to as usual: (?). Of course, mhequ can be used in conjunction with the usual equation environment, but mhequ is great, so why would you want to do this?

x = y + z (6)

(2)

Typesetting several columns of equations is quite easy and doesn’t require 10 different environments with awkward names:

x = y + z a = b + c x = v (7)

x = y + z a = b + c x = u + 1 (7’)

(multicol) x = y

a = b (multicol)

x = y + z a2= (b − c)3+ y and also (this is some \intertext)

x = y + z a = (b + c)2− 5 ` = m (8)

We can even extend the block (5) much later like

x = y + z x = y + z f (x) = b (5d)

x = y + z x = y + z g(x) = b (5e)

sin2x + cos2x = 1 (5f)

It is possible to change the type of subnumbering and to use the \text command without having to load amstext, like so

I1= Z b

a

g(x) dx , (First equation) (9A)

I2= Z b

a

g(x2− 1) dx . (Second equation) (9B)

Referenties

GERELATEERDE DOCUMENTEN

However, the Bernoulli model does not admit a group structure, and hence neither Jeffreys’ nor any other prior we know of can serve as a type 0 prior, and strong calibration

In kolom vier, antwoorden afkomstig uit enquête 1, is goed te zien dat studenten aan het begin van de cursus een grote verscheidenheid laten zien in de kwaliteiten die zij

Robin Cook would have had a better chance of beating Tony Blair to the Labour leadership had he looked more like Pierce Brosnan – or even, perhaps, a bit more like Tony Blair.. It

In short, we conclude that for all banking products a wide range of factors are related to the reported propensities to switch the current account, savings account and mortgage loan

Math environments with equation numbers, equation and eqnarray, are changed to produce left-justified equations, and to draw dotted leaders between the equation and the

Ik citeer andermaal uit de FRONS van febru- ari: 'probeer het maar eens: in Iliadisch-Odysseïsch geografische context, elders op onze aardbol zoveel parallellen te vinden als

[r]

An algebra task was chosen because previous efforts to model algebra tasks in the ACT-R architecture showed activity in five different modules when solving algebra problem;