from
Generate help files from m-files
by Wolfgang Garn
Help files are generated from m-files.
|
| LaTexTests
|
function LaTexTests
%% LaTeX Tests
% Some LaTeX Tests...
%% Sets and Intervals
% Some sets: $$N = \{1,2,\dots,n\}$$,$$B=\{b_1,b_2,\dots,b_n\}$$
% (Commands like \mathbb do not work)
% An interval: $$ x \in [0,6\pi] \Leftrightarrow \{x: 0 \leq x \leq 6\pi\}$$ a bug
%
% $$ x \in [0,6\pi] \Leftrightarrow \{x: 0 \leq x \leq 6\pi\} $$
%
% $$ x \in [0,6\pi]$$
%
% $$ \Leftrightarrow $$
%
% $$\{x: 0 \leq x \leq 6\pi\} $$
%
%% Equations
% $$ a = b $$,
% $$ z^* = \min \{c_p: p \in P \} $$,
% The group $$\Sigma_4$$ of all 24 permutations on $$\{a,b,c,d\}$$ has the
% cycle index polynomial:
%
% $$ P_{\Sigma_4}=\frac{1}{24}(x_1^4+6x_1^2x_2+8x_1x_3+3x_2^2+6x_4)$$
%
% What about matrices?
% $$ \begin{array}{ccc} 1 & 2 & 3 \\ x & y & z \\ \end{array}$$
%
% They don't seem to work like that :(
%
% By the way equations must start and end in the same line!
%
%% Final remarks
% Right now it seems that only a limitted set of LaTeX commands is
% supported.
%
|
|
Contact us at files@mathworks.com