@jacobw56 I use <div> for the BlockMath, that is meant to be used as a separate block, outside of <p> elements. If you intend to use it inside paragraphs you should use InlineMath, what do you think?
I get the logic, I thought it would be common to use blocks inside paragraphs when doing proofs and such. For instance I imagined doing something like:
<p>
Let <InlineMath>f_n</InlineMath> be a sequence of <InlineMath>\mathbb{R}</InlineMath>-valued measurable functions on a measure space <InlineMath>(S, \sigma, \mu)</InlineMath>. Suppose that the sequence converges pointwise to a function <InlineMath>f</InlineMath> and is dominated by some integrable function <InlineMath>g</InlineMath> in the sense that <BlockMath>|f_n(x)| \leq g(x)</BlockMath> for all numbers <InlineMath>n</InlineMath> in the index set of the sequence and all points <InlineMath>x \in S</InlineMath>. Then <InlineMath>f</InlineMath> is integrable and <BlockMath>\lim_{n\to\infty}\int_S |f_n - f| d\mu = 0.</BlockMath>
</p>
since this allows me to pretty much just search and replace the $ and $$ tags in my latex documents. If this isn't the typical pattern of usage then feel free to close the issue. Thanks!
from react-katex.
Comments (3)
@jacobw56 I use
<div>
for theBlockMath
, that is meant to be used as a separate block, outside of<p>
elements. If you intend to use it inside paragraphs you should useInlineMath
, what do you think?from react-katex.
I get the logic, I thought it would be common to use blocks inside paragraphs when doing proofs and such. For instance I imagined doing something like:
since this allows me to pretty much just search and replace the
$
and$$
tags in my latex documents. If this isn't the typical pattern of usage then feel free to close the issue. Thanks!from react-katex.
Oh, I see! Yeah, the pattern for those cases is just to have a separate block since it's the HTML-way. Gonna close the issue then.
from react-katex.
Related Issues (20)
Recommend Projects
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
TensorFlow
An Open Source Machine Learning Framework for Everyone
Django
The Web framework for perfectionists with deadlines.
Laravel
A PHP framework for web artisans
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
web
Some thing interesting about web. New door for the world.
server
A server is a program made to process requests and deliver data to clients.
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Visualization
Some thing interesting about visualization, use data art
Game
Some thing interesting about game, make everyone happy.
Recommend Org
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
Microsoft
Open source projects and samples from Microsoft.
Google
Google ❤️ Open Source for everyone.
Alibaba
Alibaba Open Source for everyone
D3
Data-Driven Documents codes.
Tencent
China tencent open source team.