Putting Brackets around fractions LATEX

  • Context: LaTeX 
  • Thread starter Thread starter NoobixCube
  • Start date Start date
  • Tags Tags
    Fractions Latex
Click For Summary
SUMMARY

The discussion focuses on how to properly format fractions in LaTeX so that brackets encompass the entire fraction. The solution provided is to use the left and right macros: \left(\frac{df}{dt}\right). Participants clarify that in LaTeX, macros are commands that begin with a backslash, distinguishing them from functional or procedural programming languages. This highlights the importance of understanding LaTeX's macro-based structure for effective typesetting.

PREREQUISITES
  • Familiarity with LaTeX syntax and commands
  • Understanding of mathematical notation in LaTeX
  • Knowledge of macro programming concepts
  • Basic experience with typesetting documents
NEXT STEPS
  • Explore advanced LaTeX formatting techniques
  • Learn about LaTeX environments for equations
  • Investigate the use of custom macros in LaTeX
  • Study LaTeX packages that enhance mathematical typesetting
USEFUL FOR

Mathematicians, researchers, students, and anyone involved in typesetting documents with LaTeX who need to format complex mathematical expressions correctly.

NoobixCube
Messages
154
Reaction score
0
I can't seem to make the brackets cover the full fraction when stating a differential, namely

\begin{equation}
(\frac{df}{dt})
\end{equation}

Any tips?
 
Physics news on Phys.org
You need to tell LaTeX that those parentheses are around the fraction. One way is with the left and right macros:

\left(\frac{df}{dt}\right)

\left(\frac{df}{dt}\right)
 
Thanks loads!
By the by, what do you mean by macros?
 
All of those things preceded by a backslash in LaTeX are macros. LaTeX, unfortunately, is a macro language rather than a functional or procedural language. The term 'macro' goes back to the earliest days of computer programming. Some languages (e.g. C and C++) still provide a macro processing capability (#define in C/C++).
 
Awesome thanks :)
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 16 ·
Replies
16
Views
3K