π Markdown β LaTeX
π LaTeX β Markdown
ποΈ Live Preview
Start Collaboration
Paste Markdown β LaTeX + Images ZIP
Paste your Markdown here:
# Example\n\nThis is a test. 
Convert
β¬οΈ Download .tex
π Copy LaTeX
π¦ Download LaTeX + Images ZIP
π§ͺ tropicalToLatex() Function Editor
return input.replace(/\\\^\{\}/g,'^') .replace(/\\\_\([^)]*\)/g, match => match.slice(1)) .replace(/[ββΞΌπΞ½Ξ»π₯ββ¦π¦Ζππ΄π΅πΆπ·πΈΞ£πΉπΊπ»πΌπ½πΎπΏππππππ ππππππππββββββββββββα΅’β±Όββββ βββββ°ΒΉΒ²Β³β΄β΅βΆβ·βΈβΉβ²ββ¨ββββ +Γ*/^=_]{1}[0-9(,)\-ββΞΌπΞ½Ξ»π₯π¦ββ¦Ζππ΄π΅πΆπ·βπΈΞ£πΉπΊπ»πΌπ½πΎπΏππππππ ππππππππβββββββββββα΅’β±Όββββ βββββ°ΒΉΒ²Β³β΄β΅βΆβ·βΈβΉβ²ββ¨ββββ +Γ*/^=_|]*/g, match => `$${match}$`) .replace(/\\textbar\{\}/g,'\\bar()') .replace(/\{[^{}]*\$+[^{}]*\}/g, (match) => { const inner = match.slice(1, -1).replace(/\$/g, ''); // remove outer braces and all $ return `{\$${inner}\$}`; // wrap with exactly one pair of $ }) .replace(/[β°ΒΉΒ²Β³β΄β΅βΆβ·βΈβΉ]+/g, match => `^{${match}}`) .replace(/[ββββββββββα΅’ββ±Όββββ ββββββ]{1}[ββββββββββα΅’β±Όβββββ βββββ,β^\s]*/g, match => `_{${match}}`) .replace(/,}/g,'},') .replace(/\{\$β([^{}]*)\$\}/g, match => '\{\$\\sqrt\{' + match.slice(4,-3) + '\}\$\}') .replace(/\$[^{}]*[a-zA-Z]{4}[^{}]*\$/g, (match) => { const inner = match.replace(/\$/g, '') return inner; }) .replace(/\\text[a-zA-Z]{2}[a-zA-Z]*\{[ββΞΌπΞ½Ξ»π₯π¦Ζππ΄ββ¦π΅πΆβπ·πΈπΉπΊπ»πΌπ½πΎπΏπΞ£πππππ ππππππππββββββββββα΅’ββ±Όββββ βββββ°ΒΉΒ²Β³β΄β΅βΆβ·βΈβΉβ²ββ¨ββββ +Γ*/^=_]\}/g, (match) => { const inner = match.replace(/\{.\}/g, match2 => '{$' + match2.charAt(1) + '$}'); return inner; }) .replace(/\$[^$]*\\bar\(\)[^$]*\$/g, match => match.replace(/\\bar\(\)/g, '|')) .replace(/\^\([^()]*\)/g, match => '^{' + match.slice(2,-1) + '\}') .replace(/\_\([^()]*\)/g, match => '_{' + match.slice(2,-1) + '\}') .replace(/\_\([^()]*\([^()]*\)[^()]*\)/g, match => '_{' + match.slice(2,-1) + '\}') .replace(/\\bar\(\)/g,'\\textbar\{\}') .replace(/\\textbf\{[\sββ()0-9,ΞΌπβΞ½Ξ»π₯π¦Ζππ΄π΅πΆπ·πΈπΉβ¦βπΊπ»πΌπ½πΎπΏππππππ πππππΞ£πππββββββββββα΅’ββ±Όββββ βββββ°ΒΉΒ²Β³β΄β΅βΆβ·βΈβΉβ²ββ¨ββββ +Γ*/^=_|]+\}/g, (match) => { const inner = match.slice(7); return `$\\boldsymbol${inner}$`; }) .replace(/ΞΌ/g, '\\mu ') .replace(/π/g, '\\nu ') .replace(/Ξ½/g, '\\nu ') .replace(/Ξ»/g, '\\lambda ') .replace(/β¦/g, '\\mapsto ') .replace(/β/g, '\\circ ') .replace(/Ξ£/g, '\\sum ') .replace(/π/g, 'a') .replace(/β/g, 'a') .replace(/π΄/g, 'A') .replace(/π΅/g, 'B') .replace(/πΆ/g, 'C') .replace(/π·/g, 'D') .replace(/πΈ/g, 'E') .replace(/πΉ/g, 'F') .replace(/πΊ/g, 'G') .replace(/π»/g, 'H') .replace(/πΌ/g, 'I') .replace(/π½/g, 'J') .replace(/πΎ/g, 'K') .replace(/πΏ/g, 'L') .replace(/π/g, 'M') .replace(/π/g, 'N') .replace(/π/g, 'O') .replace(/π/g, 'P') .replace(/π/g, 'Q') .replace(/π /g, 'R') .replace(/π/g, 'S') .replace(/π/g, 'T') .replace(/π/g, 'U') .replace(/π/g, 'V') .replace(/π/g, 'W') .replace(/π/g, 'X') .replace(/π/g, 'Y') .replace(/π/g, 'Z') .replace(/β/g, 'h') .replace(/β/g, 'k') .replace(/α΅’/g, 'i') .replace(/β±Ό/g, 'j') .replace(/β/g, 'l') .replace(/β/g, 'm') .replace(/β/g, 'n') .replace(/β/g, 'p') .replace(/β/g, 't') .replace(/β/g, 's') .replace(/β/g, '0') .replace(/β/g, '1') .replace(/β/g, '2') .replace(/β/g, '3') .replace(/β/g, '4') .replace(/β /g, '5') .replace(/β/g, '6') .replace(/β/g, '7') .replace(/β/g, '8') .replace(/β/g, '9') .replace(/β/g, '(') .replace(/β/g, ')') .replace(/Ζ/g, 'f') .replace(/π₯/g, 'x') .replace(/π¦/g, 'y') .replace(/β²/g, '^\\prime ') .replace(/β/g, '\\odot ') .replace(/β¨/g, '\\otimes ') .replace(/β/g, '\\oplus ') .replace(/β/g, '\\sqcup ') .replace(/β/g, '\\in ') .replace(/β /g, '\\neq ') .replace(/Γ/g, '\\times') .replace(/β°/g, '0') .replace(/ΒΉ/g, '1') .replace(/Β²/g, '2') .replace(/Β³/g, '3') .replace(/β΄/g, '4') .replace(/β΅/g, '5') .replace(/βΆ/g, '6') .replace(/β·/g, '7') .replace(/βΈ/g, '8') .replace(/βΉ/g, '9') .replace(/α΅/g, 'T') .replace(/\$.{1}\$/g, match => { const inner = match.slice(1, -1); return inner; }) .replace(/\\text[a-zA-Z]{2}[a-zA-Z]*\{[+*/^=_]\}/g, (match) => { const inner = match.replace(/\{.\}/g, match2 => '{$' + match2.charAt(1) + '$}'); return inner; }) .replace(/\\\$/g,'\$\\') .replace(/\$==\$/g, '==');
Apply New tropicalToLatex()
π§ͺ LaTeX Output
Waiting...
β©οΈ Paste LaTeX β Convert to Markdown
Convert to Markdown
Waiting for LaTeX input...
ποΈ Live Markdown + LaTeX Preview
# Example\n\nEuler's identity: $e^{i\pi} + 1 = 0$
πΈ Manual Image Download Links