Replace MathML with LaTeX syntax in python_by_example.md#44
Merged
Conversation
- Convert 24 MathML blocks to clean LaTeX $...$ syntax
- Use same LaTeX notation as bulk translations for consistency
- Significantly reduces file size (210 lines removed, 34 added)
- Improves readability and maintainability of math expressions
Examples of conversions:
- <math>...</math> epsilon_t → $\epsilon_t$
- <math>...</math> (0,1)^2 → $(0, 1)^2$
- <math>...</math> b_{t+1} = (1+r)b_t → $b_{t+1} = (1 + r) b_t$
✅ Deploy Preview for majestic-griffin-10b166 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
Hi @mmcky , Could you please add the indexes for this lecture in the same style as the Getting Started lecture? Once that's done, we can go ahead and merge. Thanks a lot! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR replaces verbose MathML syntax with clean LaTeX
$...$notation throughoutpython_by_example.md.Problem
The file contained 24 MathML blocks like this:
These are verbose, hard to read, and inconsistent with the bulk translations which use LaTeX.
Solution
All MathML blocks have been converted to clean LaTeX:
$\epsilon_t$instead of 7-line MathML$(0, 1)^2$instead of 11-line MathML$b_{t+1} = (1 + r) b_t$instead of 20-line MathMLChanges
Examples of Conversions
$\epsilon_0, \epsilon_1, \ldots, \epsilon_T$$t$and$\epsilon_t$$b_{t+1} = (1 + r) b_t$$(0, 1)^2$$\pi$,$A$,$r=1/2$Review Notes