Quick and dirty Word to LaTeX snippet in-clipboard converter. Requires Windows 10+, Powershell 7+, and Node 14.20+.
- Copy a text fragment from a Word document
- Run
RunMe.ps1
(useful to create a shortcut for quick access) - Paste into a LaTeX editor
- Supports italics, bold, and unordered lists
- Translates Word new-line (Shift+Enter) to LaTeX new-line (
\\
) - Makes paragraphs with font sizes 18, 16, 14, 12 into chapters, sections, subsections, and subsubsections respectively
- If a section is numbered (e.g., "1.1 Introduction"), the number is set as the section's
\label{}
- If a section is numbered (e.g., "1.1 Introduction"), the number is set as the section's
- Replaces Word en–dashes with LaTeX em—dashes and [citation] with
\cite{citation}
- Text with the font set to Consolas becomes monospace
\texttt{text}
- Links to figures: "figure a.jpg and b.png" becomes
figure \ref{fig:a.jpg} and \ref{fig:b.png}
(must include extension) - Links to sections: "section 1.1" becomes
section \ref{1.1}
- Links to listings: "listing foo-bar" becomes
listing \ref{listing:foo-bar}
- Supports footnotes
- Only simple text and links inside footnote content is parsed