## LaTeX forum ⇒ Math & Science ⇒ Fraction without Bar Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
andremelzi
Posts: 4
Joined: Wed Aug 24, 2011 7:59 pm

### Fraction without Bar

Hi. How can I write a fraction without the bar? Like this:
helmholtz.png (3.99 KiB) Viewed 7553 times

Thanks!
Last edited by andremelzi on Wed Aug 24, 2011 9:37 pm, edited 2 times in total.

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
The amsmath package provides the \genfrac command which allows to create your own fractional structures. So you can build an own fraction very easy.
\documentclass[11pt]{article}\usepackage[T1]{fontenc}\usepackage{mathtools}   % loads »amsmath« \newcommand*{\bfrac}[2]{\genfrac{\lbrace}{\rbrace}{0pt}{}{#1}{#2}} \begin{document}   $\left(\nabla^2+n^2(x)\,k^2\right)\bfrac{E}{K}=0$\end{document}

The package manual has the details. For instant access open a command line.
texdoc amsmath

Your example has probably been done with an array environment enclosed by curly braces. For more about math typesetting refer to the excellent »Math mode« document.

Best regards and welcome to the board
Thorsten
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

 Link: BBcode: Topic is solved[/url]" title="Click to select post's link in BBcode format" onclick="this.focus();this.select();" /> HTML: Topic is solved" title="Click to select post's link in HTML format" onclick="this.focus();this.select();" /> Hide post links

andremelzi
Posts: 4
Joined: Wed Aug 24, 2011 7:59 pm
Thank you!
Best regards,

André