This note is a type of LaTeX guide but not about the math terms and their codes, they're seen in many notes by people.
This note is about \(\LaTeX \) \(\color{Red}{c}\color{Orange}{o}\color{LimeGreen}{l}\color{Green}{o}\color{Blue}{r}\color{LightBlue}{s}\).
By using the mathematical formatting you can give to your words, sentences and even math terms!!!!
For this, while wrapping the codes in the \) (or the wrapping that uses " ( " in stead of " [ " ) you have to include the following code: - \text{ \color{<>respective code of color<>}{Your Text}}
By this, the text you type in the second curly bracket appears in the color whose you typed in the .
For example,
. " \color{Red}{Math} " will give the output ,
. " \color{Blue}{Mather} " will give the output ,
. " \color{Green}{Mathest}" will give the output .
However, if you type a sentence in the 2nd bracket, it will appear without spaces. Thus if you want a sentence to appear in colors, you have to type the following code : \text{\color{<>color code<>}{\text{Your sentence}}}
For example,
() the code " \color{LimeGreen}{I am brilliant lover} " will appear as
() the code " \color{LimeGreen}{\text{I am brilliant lover}} " will appear as
If you want the whole sentence to be bold also along with being colored, " \textbf " " \text ".
The " \color " code also works for coloring math therms, in that case you have to include whole of your math formula in the . (In stead of the \text code, directly write your math term code)
For example,
. " \color{Purple}{\dfrac{\sqrt{123}}{123\times 123}} " will give the output
. "\color{Green}{\binom{2^4+6^3}{7^2}} " will give the output
Here is the list of all color codes that you might want to try.
Some that are often to be used are simple, just Capitalize the first letter in the name of the color and that becomes it's code.
The \color code also works on boxes when you typed the " \boxed{answer} " code in the second curly bracket.
I hope this note helps you make the solutions look more attractive.........
For your reference, here are some problems, while writing their solutions I have used the .
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Oooh, pink.
∫0∞sin2x.dx
Ooooh..multicolor
Thanks for sharing.
@Calvin Lin sir, the following problems are still not given rating but i feel they're not so bad!
143 is special
GCD !
Hanoi wnats more towers
... It took me so long to get it correct... I was wondering what was wrong when I realized I spelled color as colour
Log in to reply
Difference of American and British english right ? @Tan Wee Kean
Log in to reply
Yes! My school is quite strict about it. :(
How do u add the line after each section?
Log in to reply
Just type the underscore thing 3 times. (the horizontal line in aditya _ raut)
So typing '_ _ _' (without spaces) gives the white line as follows.
Hope that helps @Aneesh Kundu
Log in to reply
Thnx
Why did you used \color{#3D99F6}{\text{\dfrac}} instead of \color{#D61F06}{\text{\frac}}
Log in to reply
That is to ensure clearer display, because \dfrac gives a bigger display of the fraction that \frac.
Try it and you'll notice the difference :)
Log in to reply
Using \frac: 21
Using \dfrac: 21
Log in to reply
15sinx
Wow, it‘s so cool!
Log in to reply
Dude you got to wrap it with the formatting
\ ( {your codes} \ )
Type the above without spaces and then it will appear.
Log in to reply
thank you , iam pretty much rubbish at latex.
Log in to reply