Max Kaye's Shortform

post by Max Kaye (max-kaye) · 2020-09-04T12:07:37.159Z · LW · GW · 3 comments

Contents

3 comments

3 comments

Comments sorted by top scores.

comment by Max Kaye (max-kaye) · 2020-09-04T12:07:58.393Z · LW(p) · GW(p)

testing \latex \LaTeX

does anyone know how to label equations and reference them?

@max-kaye u/max-kaye https://www.lesswrong.com/users/max-kaye [LW · GW]

Replies from: TurnTrout
comment by TurnTrout · 2020-09-11T19:03:01.162Z · LW(p) · GW(p)

\usepackage{cleveref}

....

\begin{equation}

1+1=2.\label{eq:1}

\end{equation}

\Cref{eq:1} is an amazing new discovery; before Max Kaye, no one grasped the perfect and utter truth of \cref{eq:1}.

Replies from: max-kaye
comment by Max Kaye (max-kaye) · 2020-09-15T12:24:23.438Z · LW(p) · GW(p)

\usepackage{cleveref}

Cool, thanks. I think I was missing \usepackage{cleveref}. I actually wrote the post in latex (the post for which I asked this question), but the lesswrong docs on using latex are lacking. for example they don't tell you they support importing stuff and don't list what is supported.

\Cref{eq:1} is an amazing new discovery; before Max Kaye, no one grasped the perfect and utter truth of \cref{eq:1}.

I use crefs in the .tex file linked above. I suppose I should have been more specific and asked "does anyone know how to label equations and reference them on lesswrong?" instead.