Skip to content

[math] Generating LaTeX that represent Python Functions #68

Closed as not planned

Description

@mmcky

A neat little package to generate LaTeX representations of Python functions

https://github.com/google/latexify_py

Activity

  1. mmcky commented on Jul 30, 2026

    @mmcky
    ContributorAuthor

    Closing as not planned — the tool is archived, and the capability it was reaching for is already in use in the lectures.

    The tool is gone. Google archived latexify_py on 2026-04-18; its last commit was 2025-02-13. It is read-only and will not receive further work.

    The capability is already there, in both language editions of the same lecture. geom_series.md in lecture-python-intro imports SymPy, calls init_printing(use_latex='mathjax'), and renders symbolic derivatives as typeset LaTeX. The Julia edition of that same lecture does the equivalent with Symbolics.jl and Latexify.jl. So "show the mathematics that this code computes, typeset" is a thing we already do and already have a house pattern for.

    latexify_py did something slightly different — it converted Python function source into LaTeX by walking the AST, rather than rendering symbolic expressions. That difference is real, but nothing here ever named a lecture that needed it, and nothing has referenced this issue in the nearly four years since it was filed.

    If AST-to-LaTeX becomes genuinely useful for a specific lecture later, that is worth a fresh issue naming the lecture and the maintained tool of the day — not a revival of a link to an archived package.

    Disposition tracked in #344.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions