## Code Generator

JavaScript programs for generating helpful codes

## Matrix Generator

### Usage

Use # for the dots in the matrix. For example, if we set

• "Letter" = a
• "Row Name" = 1, #, n
• "Col Name" = 1, #, i-1, i+1, #, m
then the program will generate

		
\begin{matrix}
a_{1, 1} & \cdots & a_{1, i-1} & a_{1, i+1} & \cdots & a_{1, m} \\
\vdots   & \ddots & \vdots     & \vdots     & \ddots & \vdots   \\
a_{n, 1} & \cdots & a_{n, i-1} & a_{n, i+1} & \cdots & a_{n, m} \\
\end{matrix}



### Matrix Generator

		  
% Matrix code will appear here



## Sequence

### Usage

If one wants to expand get the TeX code of x_{1}^{a_{1}},x_{2}^{a_{2}},\cdots,x_{n}^{a_{n}}, one can follow steps below

1. "Sequence Type" = Subscript, "First Sequence" = a, "Second Sequence" = 1, 2, #, n, get a_{1},a_{2},#,a_{n}, copy it to clipboard.
2. Change "First Sequence" to x, i.e. "Sequence Type" = Subscript, "First Sequence" = x, "Second Sequence" = 1, 2, #, n, get x_{1},x_{2},#,x_{n}, copy it to "First Sequence".
3. Paste the clipboard to "Second Sequence", change "Sequence Type" to "Exponent", i.e. "Sequence Type" = Exponent, "First Sequence" = x_{1},x_{2},#,x_{n}, "Second Sequence" = a_{1},a_{2},#,a_{n}
Click "Update", then the program will generate


x_{1}^{a_{1}}, x_{2}^{a_{2}}, \cdots, x_{n}^{a_{n}}



### Sequence

		  
% Sequence code will appear here



## Calendar Generator

### Usage

This will generate a table-based HTML code for a calendar. For example, if we set

• "Start Date" = 1999-01-01 and "End Date" = 1999-01-31
• "Class Days" = Monday, Wednesday, Friday
then the program will generate

Mon Tue Wed Thu Fri Sat Sun
1/1 1/2 1/3
1/4 1/5 1/6 1/7 1/8 1/9 1/10
1/11 1/12 1/13 1/14 1/15 1/16 1/17
1/18 1/19 1/20 1/21 1/22 1/23 1/24
1/25 1/26 1/27 1/28 1/29 1/30 1/31

### Calendar generator

		  
% Calendar code will appear here