{ "cells": [ { "cell_type": "markdown", "id": "26824c1b", "metadata": {}, "source": [ "# latex2\n", "\n", "\n", "\n", "\n", "**Author:** Rene Brun \n", "This notebook tutorial was automatically generated with ROOTBOOK-izer from the macro found in the ROOT repository on Tuesday, May 19, 2026 at 08:37 PM." ] }, { "cell_type": "code", "execution_count": 1, "id": "b87ccd8c", "metadata": { "collapsed": false, "execution": { "iopub.execute_input": "2026-05-19T20:37:12.078574Z", "iopub.status.busy": "2026-05-19T20:37:12.078445Z", "iopub.status.idle": "2026-05-19T20:37:12.582057Z", "shell.execute_reply": "2026-05-19T20:37:12.581752Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "\n", "
\n", "
\n", "\n", "\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stderr", "output_type": "stream", "text": [ "Info in : ps file latex2.ps has been created\n" ] } ], "source": [ "TCanvas *c1 = new TCanvas(\"c1\");\n", "TLatex l;\n", "l.SetTextAlign(23);\n", "l.SetTextSize(0.1);\n", "l.DrawLatex(0.5, 0.95, \"e^{+}e^{-}#rightarrowZ^{0}#rightarrowI#bar{I}, q#bar{q}\");\n", "l.DrawLatex(0.5, 0.75, \"|#vec{a}#bullet#vec{b}|=#Sigmaa^{i}_{jk}+b^{bj}_{i}\");\n", "l.DrawLatex(0.5, 0.5, \"i(#partial_{#mu}#bar{#psi}#gamma^{#mu}+m#bar{#psi})=0\\\n", "#Leftrightarrow(#Box+m^{2})#psi=0\");\n", "l.DrawLatex(0.5, 0.3, \"L_{em}=eJ^{#mu}_{em}A_{#mu} , J^{#mu}_{em}=#bar{I}\\\n", "#gamma_{#mu}I , M^{j}_{i}=#SigmaA_{#alpha}#tau^{#alphaj}_{i}\");\n", "c1->Print(\"latex2.ps\");" ] }, { "cell_type": "markdown", "id": "42e39e25", "metadata": {}, "source": [ "Draw all canvases " ] }, { "cell_type": "code", "execution_count": 2, "id": "acbd0f33", "metadata": { "collapsed": false, "execution": { "iopub.execute_input": "2026-05-19T20:37:12.595348Z", "iopub.status.busy": "2026-05-19T20:37:12.595216Z", "iopub.status.idle": "2026-05-19T20:37:12.804616Z", "shell.execute_reply": "2026-05-19T20:37:12.804247Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "\n", "
\n", "
\n", "\n", "\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "gROOT->GetListOfCanvases()->Draw()" ] } ], "metadata": { "kernelspec": { "display_name": "ROOT C++", "language": "c++", "name": "root" }, "language_info": { "codemirror_mode": "text/x-c++src", "file_extension": ".C", "mimetype": " text/x-c++src", "name": "c++" } }, "nbformat": 4, "nbformat_minor": 5 }