Thread Subject: Publish to HTML: TeX Matrices??

Subject: Publish to HTML: TeX Matrices??

From: Jakob

Date: 9 Apr, 2008 08:41:03

Message: 1 of 3

I am trying to plot a matrix in my published html file. The
command (and similar standard TeX commands)

%%
%
% $$ \begin{pmatrix} x & y \\ z & v \end{pmatrix} $$
%

doesn't work. My Matlab Version is R2007b.

Any hints?

br

Subject: Publish to HTML: TeX Matrices??

From: Matthew Simoneau

Date: 14 Apr, 2008 14:35:03

Message: 2 of 3

I don't know much about TeX, but when people report these
problems it's usually a matter of different flavors of TeX.
 This $$ syntax puts you in LaTeX's math mode, which is
different from both LaTeX's usual mode and vanilla TeX.

Subject: Publish to HTML: TeX Matrices??

From: Ryan

Date: 3 Mar, 2009 15:15:05

Message: 3 of 3

I was having the same problem. Here are some examples I found using the guide "TeX for the Impatient."

Good luck,
Ryan

%%
%
% $${a\,b \choose c\,d}$$
%

%%
%
% $$\left( {a\atop c} {b\atop d} \right)$$
%
%%
%
% $$D = \left|\matrix{a_{11}&a_{12}&\ldots&a_{1n}\cr
% a_{21}&a_{22}&\ldots&a_{2n}\cr
% \vdots&\vdots&\ddots&\vdots\cr
% a_{n1}&a_{n2}&\ldots&a_{nn}\cr}\right| $$
%

%%
%
% $$\pmatrix{0&\ldots&0\cr
% \vdots&\ddots&\vdots\cr
% 0&\ldots&0\cr}$$
%

%%
%
% $$\left\Vert\matrix{a&b\cr c&d\cr}\right\Vert
% \qquad \left\uparrow q_1\atop q_2\right.$$
%

%%
%
% $$\matrix{t_{11}&t_{12}&t_{13}\cr
% t_{21}&t_{22}&t_{23}\cr
% t_{31}&t_{32}&t_{33}\cr}$$
%

%%
%
% $$ \left\{ \matrix{t_{11}&t_{12}&t_{13}\cr
% t_{21}&t_{22}&t_{23}\cr
% t_{31}&t_{32}&t_{33}\cr}\right\}$$
%

%%
%
% $$\pmatrix{t_{11}&t_{12}&t_{13}\cr
% t_{21}&t_{22}&t_{23}\cr
% t_{31}&t_{32}&t_{33}\cr}$$
%

%%
%
% $$ \left [ \matrix{t_{11}&t_{12}&t_{13}\cr
% t_{21}&t_{22}&t_{23}\cr
% t_{31}&t_{32}&t_{33}\cr}\right] \ddot{x}$$
%

%%
%
% $$ \left [ \matrix{t_{11}&t_{12}&t_{13}\cr
% t_{21}&t_{22}&t_{23}\cr
% t_{31}&t_{32}&t_{33}\cr}\right] \left [ \matrix{u\cr v\cr w\cr} \right]$$
%
 

Tags for this Thread

Everyone's Tags:

publish(2), matrix(2), tex(2), html

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
matrix Ryan 3 Mar, 2009 10:20:20
tex Ryan 3 Mar, 2009 10:20:20
publish Ryan 3 Mar, 2009 10:20:20
publish Jakob 9 Apr, 2008 04:45:05
html Jakob 9 Apr, 2008 04:45:05
matrix Jakob 9 Apr, 2008 04:45:05
tex Jakob 9 Apr, 2008 04:45:04
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com