TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is possible to make the following thing, helping you Latex...? big formula

share|improve this question

Just a template with PSTricks. The remaining trivial parts are intentionally left as your exercise.

\documentclass[preview,border=12pt,12pt]{standalone}
\usepackage{pst-node}
\usepackage{amsmath}

\newsavebox\IBox
\savebox\IBox{\psscalebox{2}{\raisebox{\depth}[\totalheight]{$
\underbrace{\rnode[l]{int}{\displaystyle\int_{\rnode[bl]{a}{a}}^{\rnode[tl]{b}{b}}}\quad f(x)\quad \mathrm{d}x}_{\text{\tiny Integral of $f$ from $a$ to $b$}}
$}}}


\psset
{
    xunit=0.2\wd\IBox,
    yunit=0.2\ht\IBox,
}
\begin{document}

\pspicture[showgrid=false](-\wd\IBox,-\ht\IBox)(\wd\IBox,\ht\IBox)
    \rput(0,0){\usebox\IBox}
    \rput(-2,4){\rnode[b]{bnote}{Upper limit of integration}}
    \ncline{bnote}{b}
\endpspicture
\end{document}

enter image description here

share|improve this answer
    
It needs only one compilation to converge to the correct output. – kiss my armpit Aug 3 '14 at 18:04

An option using the tikzmark library:

enter image description here

The code:

\documentclass{article}
\usepackage{xparse}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\usepackage{amsmath}

\NewDocumentCommand\MyInfo{O{(0,0)}O{}mmm}{
\begin{tikzpicture}[remember picture,overlay,#2]
  \node[pin=#4:{\parbox{5cm}{\raggedright #5}}] at ([shift={#1}]pic cs:#3) {};
\end{tikzpicture}%
}

\begin{document}

\[
\LARGE
\underbrace{\tikzmark{i}\int_{\tikzmark{a}a}^{\tikzmark{b}b} f(\tikzmark{f}x)\textrm{d}\tikzmark{x}x}_{\text{\normalsize Integral of $f$ from  $a$ to $b$}\tikzmark{bii}}
\]

\MyInfo{a}{220}{Lower limit  of integration}
\MyInfo[(0,9pt)]{b}{140}{Upper limit  of integration}
\MyInfo[(10pt,6pt)]{x}{40}{$x$ is the variable of integration}
\MyInfo[(2pt,18pt)][pin distance=1.5cm]{f}{90}{The function is the integrand}
\MyInfo[(0pt,3pt)]{bii}{0}{When you find the value \\ of the integral, \\ you have evaluated the integral}

\end{document}

The code needs three runs to stabilize.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.