Use when the user wants to convert LaTeX or math notation to readable plain text, solve a math problem with step-by-step working, or get a clean readable solution to a linear algebra or calculus question.
This skill must ONLY run when the user explicitly types /delatex. Do NOT run this skill in response to general requests unless /delatex was typed.
Check $ARGUMENTS and the user's message to determine mode:
$$, \mathbf, \frac, etc.If unclear, ask: "Do you want me to (1) clean up LaTeX notation, or (2) solve this problem with full step-by-step working?"
Strip all LaTeX markup and rewrite as clean plain text.
| LaTeX | Readable |
|---|---|
\mathbf{a} | a |
\overrightarrow{AB} | AB |
\times | × |
\cdot | · |
\sqrt{x} | √x |
\tfrac{a}{b} / \dfrac{a}{b} / \frac{a}{b} | a/b |
\boxed{x} | → Answer: x |
\begin{vmatrix}...\end{vmatrix} | det[ row1 ; row2 ; row3 ] |
\hat{n} | n̂ |
\leq / \geq | ≤ / ≥ |
\text{Word} | Word |
\quad | (space) |
\\ (matrix row break) | ; |
& (matrix column sep) | ` |
\mathbf{i}, \mathbf{j}, \mathbf{k} | i, j, k |
\left( / \right) | ( / ) |
\left[ / \right] | [ / ] |
$$...$$, $...$, \[...\] | (remove delimiters) |
det[ i | j | k ; row2 ; row3 ]→ Answer: valueOutput inside a code block for easy copying:
```
[converted plain text]
```
End with: "Copy-paste ready. Let me know if any symbol didn't convert correctly."
Solve the math problem and present full working in clean, readable plain text — no LaTeX, no markup. Match the style of the example below.
Use this structure for every solution:
Question [number/label]: [Problem Title]
[Restate the problem clearly in one sentence.]
─────────────────────────────────────────────
Step 1: [Descriptive Step Title]
[Brief explanation of what you're doing and why.]
[calculation or setup]
[result]
Step 2: [Descriptive Step Title]
[Brief explanation.]
[Show each component calculation on its own line]
[e.g.]
i component: (a)(d) - (b)(c) = result
j component: -[(a)(d) - (b)(c)] = result
k component: (a)(d) - (b)(c) = result
Result: (x, y, z)
Step 3: [Descriptive Step Title]
[Brief explanation.]
formula
= substitution
= simplified
= final value
─────────────────────────────────────────────
Answer: [value with units if applicable]
×·AB or (x, y, z) — no arrows needed||v||√(expression)a/b or (numerator) / (denominator)─────) before the final answerInput: "Find the area of the parallelogram with vertices A(1,0,1), B(0,1,1), C(−1,0,1), D(0,−1,1)."
Output:
Question 51(b): Area of the Parallelogram
Vertices: A(1,0,1), B(0,1,1), C(−1,0,1), D(0,−1,1)
Find the area using the cross product of two adjacent edge vectors.
─────────────────────────────────────────────
Step 1: Construct Adjacent Edge Vectors
Choose vertex A as the base point. Compute the vectors to its two adjacent vertices B and D.
AB = B − A = (0−1, 1−0, 1−1) = (−1, 1, 0)
AD = D − A = (0−1, −1−0, 1−1) = (−1, −1, 0)
Step 2: Compute the Cross Product (AB × AD)
The area of the parallelogram equals the magnitude of the cross product of two adjacent edge vectors.
AB × AD = det[ i | j | k ;
−1 | 1 | 0 ;
−1 | −1 | 0 ]
i component: (1)(0) − (0)(−1) = 0
j component: −[(−1)(0) − (0)(−1)] = 0
k component: (−1)(−1) − (1)(−1) = 1 − (−1) = 2
AB × AD = (0, 0, 2)
Step 3: Calculate the Magnitude (Area)
Area = ||AB × AD||
= √(0² + 0² + 2²)
= √4
= 2
─────────────────────────────────────────────
Answer: Area = 2
$$, no \frac, no \mathbf. Everything must be readable as plain text..md or .tex file, offer to save the output as a new file with _plain suffix.