Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix with two rows appears smooshed into a single line #781

Open
PetrKryslUCSD opened this issue Mar 9, 2025 · 0 comments
Open

Matrix with two rows appears smooshed into a single line #781

PetrKryslUCSD opened this issue Mar 9, 2025 · 0 comments
Labels

Comments

@PetrKryslUCSD
Copy link

PetrKryslUCSD commented Mar 9, 2025

Problem Description

Documentation in the form

    r"""
    Compute rigid link stiffness matrix.

    The stiffness matrix is computed as

    $$
    K =\begin{bmatrix} 
          C^T\Gamma C & -C^T\Gamma  \\
          -\Gamma C & \Gamma \\
       \end{bmatrix}
    $$.

    """

produces

Image

The matrix rows are all on the same line.

The generated html:

Image

Steps to reproduce the behavior:

  1. See above.
  2. Compiled with pdoc pystran --math -o html.

System Information

pdoc: 15.0.1
Python: 3.13.2
Platform: Windows-11-10.0.22631-SP0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant