Command Palette

Search for a command to run...

Назад к скиллам
скилл № 80639

Text.Convert To Latex

Convert formulas in text to their Latex equivalent

БесплатноБез исполняемых скриптов
gpsaggeseот gpsaggese★ 158 звёзд на GitHub

Установить Text.Convert To Latex в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Goal

  • The user passes a file <FILE> with the text to convert
  • Convert formulas to Latex leaving the structure of the text exactly the same
  • Use the rules and conventions in .claude/skills/latex.rules.md

Workflow

Convert Mathematical Formulas

  • Convert mathematical formulas to Latex without changing their meaning and formatting so that they are easily readable
    • Bad (uses Unicode symbols instead of LaTeX)

      P(M | D) ∝ P(D | M) P(M)
      
    • Good (uses LaTeX macros for a readable formula)

      $$
      \Pr(M | D) \propto \Pr(D | M)\, \Pr(M)
      $$
      
    • Bad (plain text notation, not LaTeX)

      a* = argmax_a E_{M~P(M|D)}[Goal | do(a), M]
      
    • Good (LaTeX formula)

      $$
      a^* = \arg\max_a
        \EE_{M | \Pr(M | D)}
        \left[
          \text{Goal} | do(a), M
        \right]
      $$
      

Convert Symbols to Latex

  • Convert symbols into Latex ones, together with variables if needed:
    • Bad (Unicode arrow instead of LaTeX)
      X → Y
      
    • Good (LaTeX symbol)
      $X \to U$
      
  • If there are expressions then leave them unchanged
    • Bad
      "If battery low" → seek charging station
      
    • Bad
      "If battery low" $\to$ seek charging station
      

Lint the File

  • After the conversion run the command:
    > lint_text.py -i <FILE>
    

Verification

  • Confirm all formulas render correctly in LaTeX
  • Confirm non-formula expressions remain unchanged
  • Confirm lint_text.py -i <FILE> completes without errors

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Text.Convert To Latex?

Convert formulas in text to their Latex equivalent

Как установить скилл Text.Convert To Latex?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Text.Convert To Latex запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Text.Convert To Latex с