Skip to content

Magic Paste

Magic Paste enables lossless copy-paste of mathematical formulas and tables from LLMs to Liii STEM documents. It autonatically converts LLM-generated content into TeXmacs standard format for proffessional typesetting.

1 Usage Guide

  1. Copy from LLMs: Select content in DeepSeek, Doubao, or Zhihu, then right-click and copy:

    Magic Paste 1

    Copy shortcuts:

    • Windows/Linux: ctrl + c
    • MacOS: Command + c

    Important: Avoid using the copy button in DeepSeek's bottom-left corner, as it copies in Markdown format. Magic Paste 7

  2. Paste in Liii STEM: Directly paste the content:

    Magic Paste 2

    Paste shortcuts:

    • Windows/Linux: ctrl + v
    • MacOS: Command + v

2 Troubleshooting

Magic Paste may fail when:

  • Websites like Kimi or Wenxin Yiyan lack LaTeX or mathml source code
  • Using outdated browsers (recommend Chrome or Edge latest versions)

3 Supported Websites

NameStatusSourceNotes
DeepSeekkatex-mathml
ChatGPTkatex-mathml
Tongyi Qianwenkatex-mathml
DoubaoLaTeX
Kimikatex-html only
Wenxin Yiyankatex-html only
Zhihu🟡mathjax-mathmlPartial support
Others🚧Testing ongoing

4 Alternative Method

When Magic Paste fails:

  1. Use the copy button in LLM interfaces (copies as Markdown) Magic Paste 4

  2. In Liii STEM: Right-click → Paste From → Markdown Magic Paste 5

5 Smart Paste

Different paste methods produce different results:

  1. Copy LaTeX code → ctrl + v
  2. Copy LaTeX code → ctrl + shift + v
  3. Copy LaTeX code → Math Mode (shift + 4) → ctrl + shift + v

Smart Paste

6 Magic Paste vs Smart Paste

Magic Paste

  • Lossless copy-paste from LLMs to Liii STEM
  • Converts LLM content to TeXmacs format
  • Works with formulas, tables, and code

Smart Paste

  • Shortcut: ctrl + shift + v (Windows/Linux)
  • Shortcut: Command + shift + v (macOS)
  • Text Mode: Plain text paste
  • Math Mode: Converts LaTeX to Liii STEM formulas