Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Publish to HTML: TeX Matrices??
Date: Tue, 3 Mar 2009 15:15:05 +0000 (UTC)
Organization: General Dynamics Robotic Systems
Lines: 70
Message-ID: <gojhhp$eov$1@fred.mathworks.com>
References: <fthvev$dcs$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1236093305 15135 172.30.248.35 (3 Mar 2009 15:15:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 3 Mar 2009 15:15:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1615354
Xref: news.mathworks.com comp.soft-sys.matlab:522145


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]$$
%