Display Math in Formula Where is it and where can it go Or Is T - - PowerPoint PPT Presentation

display math in formula where is it and where can it go
SMART_READER_LITE
LIVE PREVIEW

Display Math in Formula Where is it and where can it go Or Is T - - PowerPoint PPT Presentation

Display Math in Formula Where is it and where can it go Or Is T EX really good at math? The present Basics Equation Numbering (1) \placeformula \startformula ... \stopformula + + = Location of equation number (2)


slide-1
SLIDE 1

Display Math in Formula Where is it and where can it go

slide-2
SLIDE 2

Or Is T EX really good at math?

slide-3
SLIDE 3

The present Basics

slide-4
SLIDE 4

Equation Numbering

+ + = (1) \placeformula \startformula ... \stopformula

slide-5
SLIDE 5

Location of equation number

(2) + + = \setupformulas[location=left]

slide-6
SLIDE 6

Conversion of equation numbers

+ + + + = (C) \setupformulas[conversion=Characters]

slide-7
SLIDE 7

Formatting of equation numbers

+ + + = (4) \setupformulas[numberstyle=bold]

slide-8
SLIDE 8

Formatting of equation numbers

+ + + + = [5] \setupformulas[left={[},right={]}]

slide-9
SLIDE 9

Placement of fomrula

+ + = (6) \setupformulas[align=left]

slide-10
SLIDE 10

Placement of fomrula

+ + + = (7) \setupformulas[align=right]

slide-11
SLIDE 11

The present AMSTeX features

slide-12
SLIDE 12

Gather

= + + + + = + + + \startformula \startalign[ n=1 ] \NC ... \NR[+] \NC ... \NR[+] \stopalign \stopformula

slide-13
SLIDE 13

Left gather

= + = + + + + \startformula \startalign[n=1, align=left ] \NC ... \NR[+] \NC ... \NR[+] \stopalign \stopformula

slide-14
SLIDE 14

Right gather

= + + + + + = + + + + + \startformula \startalign[n=1, align=right ] \NC ... \NR[+] \NC ... \NR[+] \stopalign \stopformula

slide-15
SLIDE 15

Align

= + + + = + + \startformula \startalign[ n=2 ] \NC ... \NC ... \NR[+] \NC ... \NC ... \NR[+] \stopalign \stopformula

slide-16
SLIDE 16

Alignat

= = = + = \startformula \startalign[n=2, m=2, distance=2em ] \NC ... \NC ... \NC ... \NC ... \NR[+] \NC ... \NC ... \NC ... \NC ... \NR[+] \stopalign \stopformula

slide-17
SLIDE 17

Flaign

= + + = + + = + = + + \startformula \startalign[n=2, m=2, distance=1em plus 1fill ] \NC ... \NC ... \NC ... \NC ... \NR[+] \NC ... \NC ... \NC ... \NC ... \NR[+] \stopalign \stopformula

slide-18
SLIDE 18

Intertext

= + + + + = + + \startformula \startalign \NC ... \NC ... \NR[+] \intertext{...} \NC ... \NC ... \NR[+] \stopalign \stopformula

slide-19
SLIDE 19

Multi-column numbered equations

= + (8) = + (9) = (10) = + (11) \placeformula \startformulas \startformula \startalign ... \stopalign \stopformula \startformula \startalign ... \stopalign \stopformula \stopformulas

slide-20
SLIDE 20

Subformulas

= + + (12a) = + + + (12b) \startsubformulas \startformula \startalign \NC ... \NC ... \NR[+] \NC ... \NC ... \NR[+] \stopalign \stopformula \stopsubformulas

slide-21
SLIDE 21

The present Subexpressions

slide-22
SLIDE 22

Matrix

(13) \startformula \startmathmatrix[n=3] \NC ... \NC ... \NC ... \NR \NC ... \NC ... \NC ... \NR \NC ... \NC ... \NC ... \NR \stopmathmatrix \stopformula

slide-23
SLIDE 23

Matrix — parenthesis

        \startformula \startmathmatrix[n=3, left={\left(\,}, right={\,\right)}] \NC ... \NC ... \NC ... \NR \NC ... \NC ... \NC ... \NR \NC ... \NC ... \NC ... \NR \stopmathmatrix \stopformula

slide-24
SLIDE 24

Defining matrices

\definemathmatrix[pmatrix][left={\left(\,}, right={\,\right)}]

slide-25
SLIDE 25

Aligning matrices

                      \startformula \startmathmatrix[ location=low ] ... \stopmathmatrix \startmathmatrix[ location=middle ] ... \stopmathmatrix \startmathmatrix[ location=high ] ... \stopmathmatrix \stopformula

slide-26
SLIDE 26

Cases

=    + + , , \startformula ... = \startcases \NC ... \NC ... \NR \NC ... \NC ... \NR \stopcases \stopformula

slide-27
SLIDE 27

Substacks

  • +

+ + \startformula \sum_{\startsubstack \NC ... \NR \NC ... \NR \stopsubstack ... \stopformula

slide-28
SLIDE 28

Missing features

slide-29
SLIDE 29

Simple yet have no support

  • Arbitrary tag's as equation numbers

E = mc2 (Einstein's Formula) Need to come up with a consistent user interface

  • gathered, aligned, etc.

Is really simple to code from scratch, hard to reuse parts of mathalign

slide-30
SLIDE 30

Not so simple and still have no support

  • Complete support of multline

If you do not care about location of equation numbers, support is easy.

  • Proper support for equation numbers in multiline equations

Need a two pass algorithm, current support is only a one pass algorithm.

  • Location of equation numbers — ctags, tbtags

Currently ConT EXt does not even attempt to do this

slide-31
SLIDE 31
  • Proper support for split

Easy once location of equation number is done.

  • Correct support for align when there are multiple columns

Find the size of all columns and split the remaining space equally between them

  • Controlling page break between equations

Something more fine tuned than the current all or none approach

  • Using \shortdisplayskip

Can be done, (breqn does it), but I don't really understand T EX that well.

slide-32
SLIDE 32

Example

slide-33
SLIDE 33

   



First draft – August , 

4b1 t (xt, y2 t , u2 t , s2 t−1)

= Pr

  • Xt = xt, Y2

t = y2 t , U2 t = u2 t , S2 t−1 = s2 t−1

  • Y1,t = y1,t, U1,t = u1,t; 4ϕt−1

= Pr

  • U2

t = u2 t

  • Xt = xt, Y2

t = y2 t , S2 t−1 = s2 t−1Y1,t = y1,t, U1,t = u1,t; 3ϕt−1, g2 t

  • × Pr
  • Xt = xt, Y2

t = y2 t , S2 t−1 = s2 t−1

  • Y1,t = y1,t, U1,t = u1,t; 3ϕt−1, g2

t

  • (c)

= I

  • u2

t = g2 t (y2 t , s2 t−1)

  • × Pr
  • Xt = xt, Y2

t = y2 t , S2 t−1 = s2 t−1

  • Y1,t = y1,t, U1,t = u1,t; 3ϕt−1

= I

  • u2

t = g2 t (y2 t , s2 t−1)

3b1

t (xt, y2 t , s2 t−1)

=: 3F1(3b1

t , g2 t )(xt, y2 t , s2 t−1)

(.) where (c) follows from the sequential order in which the system variables are generated. . Consider 4o1

t = (y1,t, u1,t) ∈ (Y1,t × U1,t), y1 t+1 ∈ Y1, xt+1 ∈ X, s2 t ∈ S2, and 1ϕt = (4ϕt−1, l2 t ). Then a component (xt+1, s2 t ) of a realization 1b1 t+1 of 1B1 t+1 is

given by

1b1 t+1 = Pr

  • Xt+1 = xt+1, S2

t = s2 t

  • Y1

t+1 = y1 t+1, 4O1 t = 4o1 t ; 1ϕt

= Pr

  • Xt+1 = xt+1, S2

t = s2 t , Y1 t+1 = y1 t+1

  • 4O1

t = 4o1 t ; 1ϕt

Pr

  • Y1

t+1 = y1 t+1

  • 4O1

t = 4o1 t ; 1ϕt

(.) Now, Pr

  • Xt+1 = xt+1, S2

t = s2 t , Y1 t+1 = y1 t+1

  • 4O1

t = 4o1 t ; 1ϕt

= Pr

  • Y1

t+1 = y1 t+1

  • Xt+1 = xt+1, S2

t = s2 t , 4O1 t = 4o1 t ; 1ϕt

× Pr

  • Xt+1 = xt+1, S2

t = s2 t

  • 4O1

t = 4o1 t ; 1ϕt

= PN1

  • n1

t ∈ N1 : y1 t+1 = h1 t (xt+1, n1 t+1)

  • × Pr
  • Xt+1 = xt+1, S2

t = s2 t

  • 4O1

t = 4o1 t ; 1ϕt

(.) Further,

slide-34
SLIDE 34

   



First draft – August , 

Pr

  • Xt+1 = xt+1, S2

t = s2 t

  • 4O1

t = 4o1 t ; 1ϕt

=

  • xt∈X,y2

t ∈Y2

u2

t ∈U2,s2 t−1∈S2

Pr

  • Xt+1 = xt+1, Xt = xt, Y2

t = y2 t , U2 t = u2 t ,

S2

t−1 = s2 t−1, S2 t = s2 t | 4O1 t = 4o1 t ; 1ϕt

=

  • xt∈X,y2

t ∈Y2

u2

t ∈U2,s2 t−1∈S2

Pr

  • Xt+1 = xt+1 | Xt = xt, Y2

t = y2 t , U2 t = u2 t ,

S2

t−1 = s2 t−1, S2 t = s2 t , 4O1 t = 4o1 t ; 1ϕt

× Pr

  • S2

t = s2 t | Xt = xt, Y2 t = y2 t , U2 t = u2 t ,

S2

t−1 = s2 t−1, 4O1 t = 4o1 t ; 4ϕt−1, l2 t

  • × Pr
  • Xt = xt, Y2

t = y2 t , U2 t = u2 t , S2 t−1 = s2 t−1, 4O1 t = 4o1 t ; 4ϕt−1, l2 t

  • (d)

=

  • xt∈X,y2

t ∈Y2

u2

t ∈U2,s2 t−1∈S2

PW

  • wt ∈ W : xt+1 = f(xt, u1

t , u2 t , wt)

  • I
  • s2

t = l2 t (y2 t , u2 t , s1 t−1)

  • × Pr
  • Xt = xt, Y2

t = y2 t , U2 t = u2 t , S2 t−1 = s2 t−1, 4O1 t = 4o1 t ; 4ϕt−1

=

  • xt∈X,y2

t ∈Y2

u2

t ∈U2,s2 t−1∈S2

PW

  • wt ∈ W : xt+1 = f(xt, u1

t , u2 t , wt)

  • I
  • s2

t = l2 t (y2 t , u2 t , s1 t−1)

  • × 4b1

t (xt, y2 t , u2 t , s2 t−1).

(.) where (d) follows from the sequential order in which the system variables are

  • generated. Combining (.)–(.) we get

1b1 t+1(xt+1, s2 t ) =: 4F1(4b1 t , l2 t , y1 t+1, u1 t )(xt+1, s2 t )

(.) where 4F1 is given by (.)–(.).

  • Structural properties

In this section, we provide structural/qualitative properties of optimal control laws

  • f agent  that are true for every arbitrary but fixed control and state-update strate-

gies of agent . These properties are subsequently used to convert the model of variation  into a model similar to variation . Theorem . (Structure of optimal control laws of agent ). Consider variation 

  • f the model of Problem .. For any arbitrary but fixed control and state-update strategies
slide-35
SLIDE 35

The Future?

slide-36
SLIDE 36

What is wrong with current math support in T EX?

slide-37
SLIDE 37

Separation of content from presentation

slide-38
SLIDE 38

Display math is becoming write

  • nce format
slide-39
SLIDE 39

Automatic line breaks

slide-40
SLIDE 40

Can luaT EX help?

slide-41
SLIDE 41

Allow non-T EXperts to experiment with line breaking algorithms

slide-42
SLIDE 42

What is needed for automatic line breaks

\startdisplay ......... \stopdisplay 1. Dimensions (height, width, depth) of each “character”

  • 2. Mathcode of each character (relation, operator, delimiter,

punctuation, etc)

  • 3. What else . . .
  • 4. Can T

EX know this (commands like \over etc) . . .

slide-43
SLIDE 43

Easy to convert from display to inline

\startinline ......... \stopinline

  • T

EX should do the right thing for both display and inline modes

  • nath does that to a large extent.
slide-44
SLIDE 44

Thank you