Math, asked by Kim4Brainly, 1 year ago

△ Content Quality △

Q. What are the tex Codes for typing answers for highlighting, bold, box and many more?

At least 5 Tex codes!

Answers

Answered by BlackVenom05
130
 \underline{\large\bf{\mathfrak{Answer :}}}

Users in Brainly use such tex codes for:

♦ To make their answers more attractive.

♦ For highlighting important Words and Sentences.

 \underline{\large\bf{\mathfrak{Note :}}} The below codes are written in Capital Letters (i.e. A, B, C, etc). Be sure that every alphabet in the codes should be in small letters ( i.e. a, b, c, etc.) or else the code will not work.

Some of the codes are as follow :

♦ [TEX] \TEXTBF{...} [/TEX]

=> For bold which leaves space between two words.

♦ [TEX] \BOLD{...} [/TEX]

=> For bold which doesn't leaves space between words.

♦ [TEX] \TEXTIT{...} [/TEX]

=> For italics.

♦ [TEX] \UNDERLINE{...} [/TEX]

=> For underlining Words.

♦ [TEX] \BOXED{...} [/TEX]

=> For creating a box around the words and sentences.

♦ [TEX] \BF{\MATHFRAK{...}} [/TEX]

=> For a different Font.

♦ [TEX] \SMALL{...} [/TEX]

=> For small size of words.

♦ [TEX] \LARGE \HUGE \BF{\MATHFRAK{...}} [/TEX]

=> For large words with a different font.

♦ [TEX] \LARGE \HUGE \BF{...} [/TEX]

=> For large words with different font.

♦ [TEX] \LARGE \HUGE{...} [/TEX]

=> For large words with italics.

♦ [TEX] \UNDERLINE{\LARGE \HUGE{\MATHFRAK{...}}} [/TEX]

=> For underlined words with large letters and different font.

♦ [TEX] \HUGE{\RED { \BOLD {…}}} [/TEX]

=> For huge words with red colour.

✔ You can only use "red, green & blue" colour.

 \underline{\large{\mathfrak{Note :}}} In some Codes, there won't be space by your own keyboard. In a such a situation, use this “\:” for giving space between two words.

✔ You can also create some codes from your own by removing and adding some words such as “\underline”, “\mathfrak”, “\bf”, etc.

✔ Give the proper number of brakets & proper words in proper place Or else the Code will not work.

____________________

 \boxed{\mathfrak{Hope\:it\:helps!}}
____________________

✿ Be Brainly ✿

PrincessNumera: Ok
PrincessNumera: ???????????? Kya mtlb
Anonymous: Amazing !!
BlackVenom05: Ty.. :)
Answered by QGP
153

We are going to see some TeX Codes.

So, What is TeX?

TeX is basically a typesetting software, designed to typeset books, articles, posters, etc.

Then there are many different extensions to this TeX. These provide simple commands to execute TeX Codes.

Basically, LaTeX is used in the Website Version of Brainly.

Another version, known as KaTeX, developed by Khan Academy, is used in the Brainly App.

This brings us to some complications. There are some commands in KaTeX that don't work with the Website.

I will only mention the commands that work both on Website and the App.

Also, note that there is a Character Limit of 512 Character between the [tex] \, and \, [ / t e x] tags.

If you use more than 512 Characters, the App will render, but the Code won't render on Website.

Here we go:

1) Bold

This simply gives boldface. Use it for mathematical expressions. Spacing is to be done manually.

Code: [tex] \bold{SampleText}  [ / t e x]

Result: \bold{SampleText}

2) Bold Text [Automatic Spacing between words]

Text in Boldface

Code: [tex] \textbf{Sample Text}  [ / t e x]

Result: \textbf{Sample Text}

3) Italics Text [Automatic Spacing between words]

Text in italics

Code: [tex] \textit{Sample Text}  [ / t e x]

Result: \textit{Sample Text}

4) Underline

Underline Command for Mathematical Expressions. Spacing is to be done manually.

Code: [tex] \underline{SampleText}  [ / t e x]

Result: \underline{SampleText}

5) Text [Automatic Spacing between words]

This code is used for simply involving Text in any command.

If you use text without this command, you will get a result in italics, and with no spacing.

Code: [tex] \text{Sample Text}  [ / t e x]

Result: \text{Sample Text}

6) Box

It puts a box around things. Spacing is to be done manually.

Code: [tex] \boxed{SampleExpression}  [ / t e x]

Result: \boxed{SampleExpression}

7) Huge Text

For Text.

Code: [tex] \huge \text{Sample Text}  [ / t e x]

Result:

\huge \text{Sample Text}

8) Blackboard Math Text

See this for yourself. Works only for Capital Letters.

This is generally used to denote Special Sets in Mathematics. Like the set of Natural Numbers is \mathbb{N}, set of real numbers is \mathbb{R} and so on.

Code: [tex] \mathbb{SAMPLE}  [ / t e x]

Result: \mathbb{SAMPLE}

9) Fraktur Math Text

This is like a calligraphy text for Math. Works only for small letters.

Code: [tex] \mathfrak{sample}  [ / t e x]

Result: \mathfrak{sample}

10) Integrals

Code: [tex] \displaystyle \int\limits_{a}^{b}{x^2 \, dx}  [ / t e x]

Result: \displaystyle \int\limits_{a}^{b}{x^2 \, dx}

Here, the \displaystyle command renders a bigger and clearer integral sign and limits. This command can be also used with fractions.

11) Limits

Code: [tex] \displaystyle \lim_{x\to a} \frac{x^2-a^2}{x-a}  [ / t e x]

Result: \displaystyle \lim_{x\to a} \frac{x^2-a^2}{x-a}

12) Summations

Code: [tex] \displaystyle \sum_{r=a}^{b} 2^r [ / t e x]

Result: \displaystyle \sum_{r=a}^{b} 2^r

13) Matrices [and Arrays in general]

We can make arrays, and put relevant brackets around it.

Code: [tex] \left[\begin{array}{ccc}1&2&3\\4&5&6\\7&8&9\end{array}\right]  [ / t e x]

Result: \left[\begin{array}{ccc}1&2&3\\4&5&6\\7&8&9\end{array}\right]

Here, as you see, we used \begin{array}{ccc} to start an array. The ccc represents three columns, each with center alignment.

We can use l for left alignment, and r for right alignment.

E.g.: \begin{array}{lrcr} will create four columns, with left, right, center and right alignments respectively.

Use & to differentiate between elements of different columns. The new line command \\ is used to enter a new row.

The \left[ and \right] commands make brackets around it, and we have a Matrix like looking structure.

14) Vectors

Code: [tex] \vec{r}=a \hat{\imath}+b\hat{\jmath}+c\hat{k}  [ / t e x]

Result:  \vec{r}=a \hat{\imath}+b\hat{\jmath}+c\hat{k}

The \imath and \jmath commands provide special forms of i and j.

_____

Spacing

-> \:

For normal space

-> \,

For a shorter than normal space

-> \quad

For a large space, like the indentations when starting a paragraph.

-> \qquad

For even larger spaces

-> \\

For inserting a new line.

Please Always use \\ at least twice when writing Math Equations.

Preferably use them thrice, like \\ \\ \\ . This maintains readability on Website


BlackVenom05: Superb.... !
Anonymous: Amazing !!
TANU81: Great :)
TANU81: Thanks a lot ☺️☺️
Shubhendu8898: Is there any way to code determinants?
QGP: Yes there is. The matrix structure is used. The brackets are changed. The initial brackets, which were \left[ and \right] are now changed to \left| and \right| [That vertical line is the Modulus/Pipe symbol]
Shubhendu8898: Thanks a lot!
Anonymous: Awesome explanation. :)
Similar questions