Waste less time on Facebook — follow Brilliant.
×

Make your solutions more attractive...

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 \(\LaTeX\) mathematical formatting you can give \(\color{Red}{c}\color{Orange}{o}\color{LimeGreen}{l}\color{Green}{o}\color{Blue}{r}\color{LightBlue}{s}\) to your words, sentences and even math terms!!!!

For this, while wrapping the \(\LaTeX\) 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 \(\color{Blue}{code}\) you typed in the \(\textbf{first curly bracket}\).

\(\bullet\) For example,

. " \color{Red}{Math} " will give the output \( \color{Red}{Math}\) ,

. " \color{Blue}{Mather} " will give the output \(\color{Blue}{Mather}\),

. " \color{Green}{Mathest}" will give the output \(\color{Green}{Mathest}\).


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}}} \]

\(\bullet\) For example,

() the code " \color{LimeGreen}{I am brilliant lover} " will appear as \[\color{LimeGreen}{I am brilliant lover}\]

() the code " \color{LimeGreen}{\text{I am brilliant lover}} " will appear as \[\color{LimeGreen}{\text{I am brilliant lover}}\]


If you want the whole sentence to be bold also along with being colored, \(\color{Blue}{\text{use the code}}\) " \textbf " \(\color{Blue}{\text{instead of}}\) " \text ".


The " \color " code also works for coloring math therms, in that case you have to include whole of your math formula in the \(\textbf{Second curly bracket}\). (In stead of the \text code, directly write your math term code)

\(\bullet\) For example,

. " \color{Purple}{\dfrac{\sqrt{123}}{123\times 123}} " will give the output \[\color{Purple}{\dfrac{\sqrt{123}}{123\times 123}}\]

. "\color{Green}{\binom{2^4+6^3}{7^2}} " will give the output \[\color{Green}{\binom{2^4+6^3}{7^2}}\]


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 \(\LaTeX\) \(\color{Red}{c}\color{Orange}{o}\color{LimeGreen}{l}\color{Green}{o}\color{Blue}{r}\color{LightBlue}{s}\).

Quick! Before the girls come in

Dancers all over !!!

The Least Number!

Note by Aditya Raut
3 years, 2 months ago

No vote yet
1 vote

Comments

Sort by:

Top Newest

\(\color{LightPink}{\text{Oooh, pink.}}\) Vishnuram Leonardodavinci · 3 years, 1 month ago

Log in to reply

\(\color{magenta} {\displaystyle\int_{0}^{\infty}}\)\(\color{red}{sin} ^{2}\color{pink}{x}\).\(\color{green}{dx}\)

\(\color{darkblue}{Ooooh}.. \color{limegreen}{multicolor} \) Parth Lohomi · 2 years, 9 months ago

Log in to reply

Thanks for sharing. Aamir Faisal Ansari · 3 years, 2 months ago

Log in to reply

Why did you used \(\color{blue}{\text{\dfrac}}\) instead of\( \color{red}{\text{\frac}}\) Pranjal Jain · 2 years, 10 months ago

Log in to reply

@Pranjal Jain 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 :) Aditya Raut · 2 years, 9 months ago

Log in to reply

@Aditya Raut Using \frac: \(\frac{1}{2}\)

Using \dfrac: \(\dfrac{1}{2}\) Pranjal Jain · 2 years, 9 months ago

Log in to reply

@Pranjal Jain Cool! Thanks! Pranjal Jain · 2 years, 9 months ago

Log in to reply

How do u add the line after each section? Aneesh Kundu · 2 years, 11 months ago

Log in to reply

@Aneesh Kundu 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 Aditya Raut · 2 years, 11 months ago

Log in to reply

@Aditya Raut Thnx Aneesh Kundu · 2 years, 11 months ago

Log in to reply

... It took me so long to get it correct... I was wondering what was wrong when I realized I spelled color as colour Tan Wee Kean · 3 years ago

Log in to reply

@Tan Wee Kean Difference of American and British english right ? @Tan Wee Kean Aditya Raut · 3 years ago

Log in to reply

@Aditya Raut Yes! My school is quite strict about it. :( Tan Wee Kean · 3 years ago

Log in to reply

@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 Aditya Raut · 3 years, 2 months ago

Log in to reply

\(\color{Blue}{\text{Wow, it`s so cool!}}\) Abdur Rehman Zahid · 2 years, 11 months ago

Log in to reply

@Abdur Rehman Zahid Dude you got to wrap it with the formatting

\ ( {your codes} \ )

Type the above without spaces and then it will appear. Aditya Raut · 2 years, 11 months ago

Log in to reply

@Aditya Raut thank you , iam pretty much rubbish at latex. Abdur Rehman Zahid · 2 years, 11 months ago

Log in to reply

@Abdur Rehman Zahid Now I know LaTeX pretty well Abdur Rehman Zahid · 1 year, 9 months ago

Log in to reply

\(\color{LimeGreen}{\text{Wow}}\)\(\color{Blue}{!}\) \(\color{LimeGreen}{\text{This is the single most useless thing I learnt today}}\)\(\color{Blue}{!}\)

\(\color{LimeGreen}{\text{I don't think I'll ever be using this, but thanks anyway}}\)\(\color{Blue}{!}\) \(\color{Red}{:)}\) Mursalin Habib · 3 years, 2 months ago

Log in to reply

@Mursalin Habib Think about the possibilities! Steven Zheng · 3 years, 1 month ago

Log in to reply

@Steven Zheng My comment is a joke too... Steven Zheng · 3 years, 1 month ago

Log in to reply

@Steven Zheng Where's the equality case ? @Dinesh Chavan , @Cody Johnson ..... Aditya Raut · 3 years, 1 month ago

Log in to reply

@Aditya Raut Use Generating Functions ! Dinesh Chavan · 3 years, 1 month ago

Log in to reply

@Mursalin Habib Use or don't use is your choice, I just wanted to tell that there is something like this too ! ;) Aditya Raut · 3 years, 2 months ago

Log in to reply

@Aditya Raut My comment was meant as a joke. Please don't take it seriously. Mursalin Habib · 3 years, 2 months ago

Log in to reply

@Mursalin Habib

Image

Image

Aditya Raut · 3 years, 2 months ago

Log in to reply

×

Problem Loading...

Note Loading...

Set Loading...