### LaTeX Books

### LaTeX users online

In total there are**4**users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)

Most users ever online was

**1327**on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 4 guests

## Fraction without Bar## LaTeX Forum: Math & ScienceAdd tags
3 posts
• Page
1 of 1
Hi. How can I write a fraction without the bar? Like this:
Thanks! Last edited by andremelzi on Wed Aug 24th, 2011, edited 2 times in total.
- andremelzi
**Posts:**4**Joined:**Wed Aug 24th, 2011
The amsmath package provides the \genfrac command which allows to create your own fractional structures. So you can build an own fraction very easy.
- Code: Select all • Open in writeLaTeX
`\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. - Code: Select all • Open in writeLaTeX
`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
How to make a "Minimal Example" Board Rules Avoidable Mistakes ¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351) ² Posting stopped indefinitely due to offenses -
localghost - Site Moderator
**Posts:**9218**Joined:**Fri Feb 2nd, 2007**Location:**Braunschweig, Germany
3 posts
• Page
1 of 1
## LaTeX users onlineUsers browsing this forum: No registered users and 4 guests |