Превращайте фрагменты LaTeX в изображения, которыми хочется делиться, не покидая Mac.
LaTeX source gets screenshotted for the same reason Markdown does: the point is what you typed, not what it rendered to.
Codeshot определяет LaTeX по вставленному коду, так что ошибиться с выбором языка невозможно. Вот один и тот же фрагмент в трёх из 30 встроенных тем, отрисованных стилями самого приложения.
\documentclass{article}
\usepackage{listings}
\begin{document}
\section{Sharing code}
Export at \textbf{2x} so the listing stays sharp.
\end{document}
GitHub · тёмная
\documentclass{article}
\usepackage{listings}
\begin{document}
\section{Sharing code}
Export at \textbf{2x} so the listing stays sharp.
\end{document}
iA · тёмная
\documentclass{article}
\usepackage{listings}
\begin{document}
\section{Sharing code}
Export at \textbf{2x} so the listing stays sharp.
\end{document}
Solarized · тёмная
Как выбрать тему для LaTeX
Backslash commands are the visual rhythm here. A theme that colours them distinctly makes the structure obvious at a glance.
Как выбрать размер
Пусть размер следует за содержимым или зафиксируйте соотношение — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 или 3:4 — а затем экспортируйте в 1×, 2× или 3×, чтобы изображение оставалось чётким на retina-экране. Скопируйте его в буфер обмена сочетанием ⌘⇧C или сохраните через ⌘S.