I have equations in mathtype and TEX format:

$$\sum\limits_{i = 1}^{29} {\sum\limits_{j = 1}^{30} {{J_1}{s_{i,j,1}}} } + \sum\limits_{i = 1}^{30} {\sum\limits_{j = 1}^{29} {{J_1}{s_{i,j,2}}} } + \sum\limits_{i = 1}^{29} {\sum\limits_{j = 1}^{29} {{J_3}{s_{i,j,3}}} } $$

$$\eqalign{ & \forall i = 1...29\,j = 1...30\,\;k = 1...4 \cr & \left[ {\matrix{ {{s_{i,j}}} \cr {{s_{i + 1,j}}} \cr {{s_{i,j,1}}} \cr

} } \right] = {y_{i,j,1,1}}\left[ {\matrix{ 0 \cr 0 \cr 0 \cr

} } \right] + {y_{i,j,1,2}}\left[ {\matrix{ 1 \cr 0 \cr 0 \cr

} } \right] + {y_{i,j,1,3}}\left[ {\matrix{ 0 \cr 1 \cr 0 \cr

} } \right] + {y_{i,j,1,4}}\left[ {\matrix{ 1 \cr 1 \cr 1 \cr

} } \right] \cr} $$

But I don't know how to post it in OR-exchange, do you have some idea? thank you :D

asked 13 Jul '14, 23:58

Chivalry's gravatar image

Chivalry
229319
accept rate: 0%

closed 25 Sep '14, 14:07

fbahr's gravatar image

fbahr ♦
4.6k716

The question has been closed for the following reason "The question is answered, right answer was accepted" by fbahr 25 Sep '14, 14:07


The math typesetting in OR Exchange is done using MathJax. You input regular LaTeX expressions, but you use '\ (' and '\ )' to open and close math mode instead of '$' (and '\ [' and '\ ]' instead of '$$' (close up the spaces). You also need to escape the backslash character with a backslash, so wherever you would put a backslash in the LaTeX, you need to put two backslashes here (thus '\\ (' and '\\ )' with spaces closed up). Most basic math works fine.

link

answered 14 Jul '14, 11:30

Matthew%20Saltzman's gravatar image

Matthew Salt... ♦
4.7k310
accept rate: 17%

edited 14 Jul '14, 11:32

1

I also found an work around.... Using a windows together with Mathtype and it would help you to automatically format it into the format in OR-exchange:D

(14 Jul '14, 11:45) Chivalry
\\[
\\begin{align}
& \\forall i = 1 \\ldots 29,~j = 1 \\ldots 30,~k = 1...4  \\\\
& \\left[\\begin{matrix}
  s_{i,j}   \\\\
  s_{i+1,j} \\\\
  s_{i,j,1} \\\\
\\end{matrix}\\right]
= {y_{i,j,1,1}} \\left[\\begin{matrix}
  0 \\\\
  0 \\\\
  0 \\\\
\\end{matrix}\\right]
+ {y_{i,j,1,2}} \\left[\\begin{matrix}
   1 \\\\
   0 \\\\
   0 \\\\
\\end{matrix}\\right]
+ {y_{i,j,1,3}} \\left[\\begin{matrix}
   0 \\\\
   1 \\\\
   0 \\\\
\\end{matrix}\\right]
+ {y_{i,j,1,4}} \\left[\\begin{matrix}
   1 \\\\
   1 \\\\
   1 \\\\
\\end{matrix}\\right]
\\end{align}
\\]

\[ \begin{align} & \forall i = 1 \ldots 29,~j = 1 \ldots 30,~k = 1...4 \\ & \left[\begin{matrix} s_{i,j} \\ s_{i+1,j} \\ s_{i,j,1} \\ \end{matrix}\right] = {y_{i,j,1,1}} \left[\begin{matrix} 0 \\ 0 \\ 0 \\ \end{matrix}\right] + {y_{i,j,1,2}} \left[\begin{matrix} 1 \\ 0 \\ 0 \\ \end{matrix}\right] + {y_{i,j,1,3}} \left[\begin{matrix} 0 \\ 1 \\ 0 \\ \end{matrix}\right] + {y_{i,j,1,4}} \left[\begin{matrix} 1 \\ 1 \\ 1 \\ \end{matrix}\right] \end{align} \]

link

answered 14 Jul '14, 07:04

fbahr's gravatar image

fbahr ♦
4.6k716
accept rate: 13%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×41
×8
×3

Asked: 13 Jul '14, 23:58

Seen: 950 times

Last updated: 25 Sep '14, 14:07

OR-Exchange! Your site for questions, answers, and announcements about operations research.