DEV Community

latexteada
latexteada

Posted on

LaTeX & Maths: Delimiters

Hello, how are you? :)

In today's post I will talk about basic delimiters, like parentheses and its variations, and some operators for trigonometric functions.

Let's start!!!

Delimiters

It is common in math to use delimiters like parentheses to denote a bunch of things, but how can i produce these in LaTeX, well, you have two ways to do it,

  • Type them direct from the keyboard
  • With commands

There is a difference between these two options, let's have a look

code

Produces

Screenshot from 2021-08-04 20-51-56

Did you noticed? if we put the delimiters with the commands these adjust its size to the equation, but if we type them directly from the keyboard they have a standard size. The most common are

\left( \right)
\left[ \right]
\left\{ \right\}
Enter fullscreen mode Exit fullscreen mode

But what if we just need one delimiter, well we just need to use . in the other option, this is

code

Produces

Screenshot from 2021-08-04 20-56-57

Operators

Some operators, like the trigonometric functions have a proper name sine, cosine, etc. These have their own commands, these are the name of the functions, let's see an example

code

Produces

Screenshot from 2021-08-04 21-17-35

Can you notice? The font type changes, that is the only change. The commands are \sin,\cos, \tan, \cot, \sec, \csc

There are commands for the inverse trigonometric functions but just for \arcsin, \arccos, \arctan

This is all for today. Do not forget to follow me on Twitter @latexteada

Greetings :)

Top comments (0)