You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Julia inline code seems to sperate a new paragraph.
How do I union these three paragraph?
It seems not elegant if I must write the paragraph in a single code cell. Because the sytax inside a code cell need additional \.
qmd text:
when $a_2=a_2(0)$ and that when $a_2=0$.
using Markdown
using Unitful
import PhysicalConstants.CODATA2018: ħ, m_e ,e
ω=2pi*300u"MHz"
a20=0.5*m_e*ω^2/e
d=20u"μm"
a3=uconvert(u"V/m^3",2a20/3d)
a4=uconvert(u"V/m^4",3a3/4d)
Markdown.parse("""
With \$d = $(d.val)\\ \\mu \\mathrm{m}\$ and \$\\omega=2\\pi\\times $(ω.val/2pi) \\ \\mathrm{MHz}\$ , we have \$a_3=$(round(a3.val,sigdigits=3))\\ \\mathrm{V/m^3}\$ and \$a_4=$(round(a4.val,sigdigits=3))\\ \\mathrm{V/m^4}\$
""")
Considering 3D potential, $z^2$ is $z^2-\frac{1}{2}\qty(x^2+y^2)$, $z^3$ is
staleIssues open for 30+ days without providing a "working" reproducible example
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Julia inline code seems to sperate a new paragraph.

How do I union these three paragraph?
It seems not elegant if I must write the paragraph in a single code cell. Because the sytax inside a code cell need additional
\
.qmd text:
Beta Was this translation helpful? Give feedback.
All reactions