Skip to content

Instantly share code, notes, and snippets.

@chadcooper
Created May 30, 2013 22:29
Show Gist options
  • Select an option

  • Save chadcooper/5681778 to your computer and use it in GitHub Desktop.

Select an option

Save chadcooper/5681778 to your computer and use it in GitHub Desktop.
Inserting LaTeX math inline and in block form into Sphinx documentation.

For a lens projecting a rectilinear image, the angle, or field of view (\alpha) can be calculated from the chosen dimension (d, the width of a 35mm image), and effective focal length (f, 35mm in Vue) as follows:

\alpha_h = 2\arctan\frac{d}{2f} = 2\arctan\frac{36}{2 \times 35}\approx 54^\circ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment