इसे छोड़कर कंटेंट पर जाएं

डायग्राम में LaTeX समीकरण जोड़ें

drawtonomy का Math tool आपको canvas पर कहीं भी typeset समीकरण रखने देता है — बाकी diagram के साथ-साथ। source LaTeX में रहता है, render KaTeX से होता है, और जब चाहें source दोबारा खोल सकते हैं। यह गाइड मानती है कि आपने 5-step tutorial पूरा कर लिया है और अब task-by-task recipe चाहते हैं।

समीकरण शुरू करें

Section titled “समीकरण शुरू करें”
आप क्या करना चाहते हैंयह करें
नया समीकरण रखेंनीचे toolbar में fx icon click करें, फिर canvas पर click करें।
केवल keyboard से/ दबाएं, फिर canvas पर click करें।
पहले से मौजूद समीकरण edit करेंउसे double-click करें — inline editor मूल LaTeX के साथ फिर से खुल जाएगा।
खाली समीकरण रद्द करेंinput खाली हो तो Esc दबाएं — shape हट जाएगी।

textarea सीधा LaTeX है। नीचे दिखने वाला preview हर keystroke पर re-render होता है, इसलिए syntax error तुरंत दिखती है — लाल रंग में highlight होती है, editor बंद नहीं होता।

\int_0^{\infty} e^{-x^2} \, dx = \frac{\sqrt{\pi}}{2}
\sum_{i=1}^n i = \frac{n(n+1)}{2}
\hat{y} = \sigma(W x + b)

पूरी vocabulary (Greek अक्षर, operators, decorations, matrices, chemistry आदि) के लिए Math reference देखें।

equation numbers के साथ multi-line systems

Section titled “equation numbers के साथ multi-line systems”

paper-style equation numbers (1), (2), (3) के लिए block को align में wrap करें। drawtonomy सुनिश्चित करता है कि equations और numbers बड़े आकार पर भी कभी overlap न हों।

\begin{align}
\nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\
\nabla \cdot \mathbf{B} &= 0 \\
\nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\
\nabla \times \mathbf{B} &= \mu_0 \mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}
\end{align}

numbering के बिना alignment चाहिए तो align* या aligned लिखें।

mhchem built-in है — \ce{...} reactions के लिए और \pu{...} units के लिए। arrows, subscripts, और roman-style units सही तरह से render होते हैं।

\ce{H2 + Cl2 -> 2 HCl}
\ce{H2O ->[\text{electrolysis}] H2 + 1/2 O2}
\pu{2.5 km/h}

समीकरण select करें। ऊपर दाईं तरफ Math (LaTeX) panel दिखेगा:

  • Color — palette swatch, या पूरा color palette देखने के लिए More… click करें।
  • Size — slider, 8 px (footnote) से 200 px (poster headline) तक। slider drag करें — change एक undo step में collapse हो जाता है।

grayscale print figures (IEEE / journal pages) के लिए black या dark grey चुनें — conversion के बाद भी समीकरण पढ़ने योग्य रहेगा।

selection box के ऊपर rotation handle पकड़ें और drag करें। Math एक regular shape है, इसलिए पूरा rendered समीकरण साथ घूमता है।

एक या अधिक Math shapes select करने के बाद:

KeysEffect
Arrow keys1 px हिलाएं
Shift + arrow10 px हिलाएं

Cmd+C फिर Cmd+V। copy +20 px offset पर place होती है ताकि दिखे। LaTeX source भी copy होता है।

काम करते समय drawtonomy canvas को localStorage में autosave करता है (debounced, tab बंद होने पर भी flush होता है)। page reload के बाद आपके समीकरण ठीक वैसे वापस आते हैं — LaTeX source, color, size, position सब।

सही format में export करें

Section titled “सही format में export करें”
समीकरण कहाँ लगानी हैकिस format में export करें
LaTeX paper (सबसे आम)PDF — text path-convert होता है, font की कोई समस्या नहीं।
LaTeX paper, vector-embeddedSVG (svg package से) या EPS
Google Slides / Keynote / PowerPointPNG (transparent background) या SVG अगर tool support करे।
Notion / Confluence / blog postsharp scaling के लिए SVG, platform SVG न ले तो PNG
बाद में re-edit करने वाली figure.drawtonomy.svg — drawtonomy का native format, valid SVG भी है।

पूरे export matrix के लिए export formats देखें। math का render path बाकी canvas जैसा ही है, इसलिए equations भी बाकी content जितनी fidelity से export होती हैं।

Math tool कब न उपयोग करें

Section titled “Math tool कब न उपयोग करें”
  • text paragraph के बीच inline math — drawtonomy में Text और Math shapes अलग हैं। किसी sentence के बीच equation चाहिए तो sentence के लिए plain Text और उसके पास एक छोटी Math shape रखें। (असल inline math आपके LaTeX source या Notion-style editor के लिए है, व्हाइटबोर्ड के लिए नहीं।)
  • Computation — drawtonomy LaTeX render करता है, calculate नहीं। step-by-step solutions के लिए CAS (Mathematica, SymPy) का उपयोग करें और resulting LaTeX drawtonomy में figure के रूप में paste करें।