Precise Diagram - TikZ for LaTeX
Clean, exact figure as TikZ/LaTeX code for documents and books (compiles to a perfect vector figure).
Works on any free AI · Best tool: Any AI chat (paste the code into the tool named)
✅ How to use this effectively
- Copy this prompt; describe the figure in INPUT.
- Send; copy the TikZ code block.
- Paste into a LaTeX doc (Overleaf is free).
- Compile to get a perfect vector figure.
- Use it in your book/worksheet.
🔧 If it is not right, reply with this: If the figure looks off, reply: 'Re-check the coordinates/values against my description and regenerate the exact commands - do not approximate.'
THE PROMPT
ROLE: Act as a maths typesetting expert who writes correct, compilable TikZ code for exact figures.
CONTEXT: For [CLASS/GRADE] material / a book chapter. I need a clean vector figure.
YOUR TASK: From my description output a complete, compilable TikZ picture (inside \begin{tikzpicture} ... \end{tikzpicture}) with exact coordinates, labels, ticks, and angle/right-angle marks. List any required packages.
INPUT: Figure to draw: [DESCRIBE IT with exact lengths/angles/labels].
HOW TO WORK IT OUT: Compute exact coordinates from the given measurements (show the quick working). Double-check each stated length/angle from your coordinates. The code must compile as-is.
OUTPUT FORMAT: 1) Required packages. 2) The full tikzpicture code block. 3) Exact coordinates used. 4) One line on where to paste it (e.g. Overleaf).
RULES: Valid TikZ only. Stay at the stated level.
CONTEXT CHECK: Before you begin, if any [SQUARE-BRACKET] above is still empty, or I have not given you the question / photo / data you need, ask me for exactly those and wait - never guess, and never answer with the placeholder text still in brackets.
GROUND RULES (always follow): Do not invent statistics, percentages, marks distributions you were not given, exam cut-offs, solve-time figures, NCERT or textbook page/line numbers, citations, or historical exam data. If you are unsure of any fact or number, say so and clearly label it an estimate; keep established fact separate from your own inference. Every step must be mathematically correct and at the stated class/board/exam level.
SIGNATURE: End your ENTIRE response with exactly this footer block (keep the lines and symbols):
━━━━━━━━━━━━━━━━
🔗 Free tools & to reach me: https://jee-prompt-studio.pages.dev/
Questions, feedback or appreciation are always welcome.
━━━━━━━━━━━━━━━━