Skip to content · ⁨דלג לתוכן⁩
English

Drawing inside LaTeX

  • You can draw diagrams with code using the TikZ package — no image files needed.
  • Load it once, then draw inside a tikzpicture:
  • \draw (0,0) -- (2,1); draws a line from one point to another. Every command ends with ;.

עברית

ציור בתוך LaTeX

  • ניתן לצייר גרפים עם קוד באמצעות חבילת TikZ — אין צורך בקובצי תמונה.
  • טענו אותה פעם אחת, ואז ציירו בתוך tikzpicture:
\usepackage{tikz}
...
\begin{tikzpicture}
  \draw (0,0) -- (2,1);
\end{tikzpicture}
  • \draw (0,0) -- (2,1); מצייר קו מנקודה אחת לאחרת. כל פקודת סיום מסתיים ב-;.

שלושה פקודות TikZ והקו, העיגול והמלבן שהן מציירות

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP