LaTeX

LaTeXコードスクリーンショット生成

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種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。

\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で保存できます。

30種類のテーマを見比べるか、全体の流れをご覧ください。

LaTeXと、ほかの59言語のために

すべてMac上で動作します。コードが外に出ることはありません。

macOS版をダウンロード