On Wed, Jul 25, 2007 at 03:25:36PM +0900, Bill Baxter wrote:
> > Well I want TeX. I want to be able to do my TeX hacks on my figures. And
> > I do believe there is a lot of work to be done before you can do better
> > than TeX.

> What kind of TeX hacks do you want to use on figures?  My TeX hacks
> include mostly things like using negative vspace to squeeze more text
> into a 6-page paper.

"""
\begin{minipage}{3cm}
Multi line \\ tick marker
\end{minipage}

$ x\,e^{x} \underset{x \rightarrow 0}{\thicksim} x $
% That one probably does not run without \usepackage{amsmath} in the preamble

Velocity [{\small m$\cdot$s$^{-1}$}]

\begin{eqarray}
\Phi(v_z) & = &
\int_{z=0}^l 
\int_{v_r=0}^{v_c} 
\underbrace{v_r \,n \,B_T(v_r, v_z)}_{\text{\parbox{17ex}{\tiny
flux per surface element}}} 
\;\times
\underbrace{
\begin{cases}
1 \text{~\small if $z/v_z<\tau$} \\
0 \text{~\small elsewhere}
\end{cases}
\!\!\!\!\!\!
}_{\text{Capture condition}}
\times \; 
\underbrace{2 \pi v_r dv_r}_{\text{\parbox{7ex}{\tiny
polar coord.}}} \,
\underbrace{2\pi\, r_c}_{\text{\parbox{11ex}{\tiny 2D-MOT perimeter}}} 
dz
\\
& = & 4\pi^2\,v_c^3\, r_c \; n \,
(\pi v_\text{max}^2)^{-\slantfrac{3}{2}} 
e^{-v_z^2 /v_\text{max}^2} \big(
e^{-\Gamma_\text{coll} \tau} - e^{-\Gamma_\text{coll} l/ v_z}
\big)
\frac{v_z}{\Gamma_\text{coll}}
\end{eqnarray}
"""

And many more. As you can see this is mainly advanced math with sometimes
some ugly solutions (the parboxes in the underbraces, hum...), but it
works it LaTeX, and I am happy to have this familiar language at hand
when doing figures.

Gaƫl

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to