Tutorial @TRillfamm561
\(\huge\sf JAVA+LaTeX\)
how u did that
That is \(LaTeX\)
ok
so u don't know anything about latex ?
i no a lil
u know the basics..?
\(\huge\sf \color{green} Hello\)
u know how to do this ?
i dont no a thing
ohkay let's start...
right click on any thing---->show math as---->Tex commands to see the code.
@Abhisar
\(\rm \href{javascript:(function(){function c(){var e=document.createElement("link");e.setAttribute("type","text/css");e.setAttribute("rel","stylesheet");e.setAttribute("href",f);e.setAttribute("class",l);document.body.appendChild(e)}function h(){var e=document.getElementsByClassName(l);for(var t=0;t<e.length;t++){document.body.removeChild(e[t])}}function p(){var e=document.createElement("div");e.setAttribute("class",a);document.body.appendChild(e);setTimeout(function(){document.body.removeChild(e)},100)}function d(e){return{height:e.offsetHeight,width:e.offsetWidth}}function v(i){var s=d(i);return s.height>e&&s.height<n&&s.width>t&&s.width<r}function m(e){var t=e;var n=0;while(!!t){n+=t.offsetTop;t=t.offsetParent}return n}function g(){var e=document.documentElement;if(!!window.innerWidth){return window.innerHeight}else if(e&&!isNaN(e.clientHeight)){return e.clientHeight}return 0}function y(){if(window.pageYOffset){return window.pageYOffset}return Math.max(document.documentElement.scrollTop,document.body.scrollTop)}function E(e){var t=m(e);return t>=w&&t<=b+w}function S(){var e=document.createElement("audio");e.setAttribute("class",l);e.src=i;e.loop=false;e.addEventListener("canplay",function(){setTimeout(function(){x(k)},500);setTimeout(function(){N();p();for(var e=0;e<O.length;e++){T(O[e])}},15500)},true);e.addEventListener("ended",function(){N();h()},true);e.innerHTML=" <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>";document.body.appendChild(e);e.play()}function x(e){e.className+=" "+s+" "+o}function T(e){e.className+=" "+s+" "+u[Math.floor(Math.random()*u.length)]}function N(){var e=document.getElementsByClassName(s);var t=new RegExp("\\b"+s+"\\b");for(var n=0;n<e.length;){e[n].className=e[n].className.replace(t,"")}}var e=30;var t=30;var n=350;var r=350;var i="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake.mp3";var s="mw-harlem_shake_me";var o="im_first";var u=["im_drunk","im_baked","im_trippin","im_blown"];var a="mw-strobe_light";var f="//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake-style.css";var l="mw_added_css";var b=g();var w=y();var C=document.getElementsByTagName("*");var k=null;for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){if(E(A)){k=A;break}}}if(A===null){console.warn("Could not find a node of the right size. Please try a different page.");return}c();S();var O=[];for(var L=0;L<C.length;L++){var A=C[L];if(v(A)){O.push(A)}}})()}{\bbox[5pt,red,border:2px solid green]{\sf\LARGE\color{}{DONT\ CLICK\ THIS\!!!!!!}}}\)
Ok have a quick look on \(\underline{\href{/study#/updates/52e12f56e4b0942cc9de719e}{\sf this}}\) for basics. Then we will move ahead
\(Wats good)\
\(Wats good)/
\(watsup\)
Great ! u can use \sf for a nicer font. Like `\(\sf What's~up?\)` \(\sf What's~up?\)
\(\sf Whats~up?\)
Great !!
Now let's use color !
ok
we use \color{color code} for inserting color ! \(\sf \color{green}{What's~up?}\) `\(\sf \color{green}{What's~up?}\)`
\(\sf \color{purple}{Whats~up?}\)
@CandyCoatedRainDrops
\(\sf \color{purple}{great~work!}\) btw we use ~ for spaces.
i figured that out
Good let's learn more about fonts !
ok
But before it let's figure out how to change font sizes !
ok
\(\sf\color\{red}{Whats~up?}\)
u forgot to put it under `\( \)`
o yea
\(\Huge\color{red}{Whats~up?}\)
\(\begin{array}{ll} \large\sf\color{green}{\backslash tiny}&\Large\to\sf\tiny What'sup?\\ \large\sf\color{green}{\backslash scriptsize}&\Large\to\sf\scriptsize What'sup?\\ \large\sf\color{green}{\backslash small}&\Large\to\sf\small What'sup?\\ \large\sf\color{green}{\backslash normalsize}&\Large\to\sf\normalsize What'sup?\\ \large\sf\color{green}{\backslash large}&\Large\to\sf\large What'sup?\\ \large\sf\color{green}{\backslash Large}&\Large\to\sf\Large What'sup?\\ \large\sf\color{green}{\backslash LARGE}&\Large\to\sf\LARGE What'sup?\\ \large\sf\color{green}{\backslash huge}&\Large\to\sf\huge What'sup?\\ \large\sf\color{green}{\backslash Huge}&\Large\to\sf\Huge What'sup?\\ \end{array}\)
did i do it rite
yep ! That's why is showing up. You can use all the different code i mentioned above for the different sizes.
Now fonts !
ok
\(\huge\sf\color{green}{\backslash cal} \hspace{10pt} \to \cal ABCDEFabcdef123456\) \(\huge\sf\color{green}{\backslash sf} \hspace{19pt} \to ABCDEFabcdef123456\)
\(\huge\sf\color{green}{\backslash tt} \hspace{19pt} \to \tt ABCDEFabcdef123456\)
\(\huge\sf\color{green}{\backslash frak} \to \frak ABCDEFabcdef123456\)
\(\huge\sf\color{green}{\backslash bf} \hspace{15pt} \to \bf ABCDEFabcdef123456\)
\(\Huge\frak\color{orange}{Whats~up?}\)
Great !
There are more fonts !
ok
See the link above which i provided to know about them\(\color{blue}{\text{Originally Posted by}}\) @Abhisar Ok have a quick look on \(\underline{\href{/study#/updates/52e12f56e4b0942cc9de719e}{\sf this}}\) for basics. Then we will move ahead \(\color{blue}{\text{End of Quote}}\)
\(\Huge\scr\color{teal}{Whats~up?}\)
Great !
So now you are familiar with basics !
Let's do some decorative stuffs ! `\(\huge\ddot\smile\)` \(\huge\ddot\smile\)
\(\huge\ddot\frown\)
that awesome
how
\(\color{blue}{\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar} \\ \frak \huge\color{red}{ ~~~~~~~~~~~~~~~~~~~~~~TRILLIFAMM} \\ \color{green}{\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar}\)
``` \(\color{blue}{\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar} \\ \frak \huge\color{red}{ ~~~~~~~~~~~~~~~~~~~~~~TRILLIFAMM} \\ \color{green}{\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar\LARGE\bigstar\huge\bigstar}\) ```
you can even change the color of individual stars !
thats a lot of typin
yeah ! \(LaTeX\) is all about typing !
so wats next
What do you want to learn next ?
the harlem shake thing and stuff lik that
You can't learn it that quick. Those things are not only latex but designed with the help of javascriptin. It's a whole different thing.
*Javascripting
ok
To get an idea about javascripting try this \(\sf Click\underline{\href{javascript:var txt=prompt('Enter your name !','Abhisar');if (txt.length >= 7){alert("You have a GOOD name !");}else{alert("You have a BAD name !");}}{\sf ~here}}~to~check~how~good~your~name~is~?\)
Try your name plus different other names one by one !
ok
What happens ?
it jus says that u have a good name
u tried entering different names, like try sam, tom, harry
no
Try them
ok
it says u have a bad name
:D
What is your name ?
So basically this kind of stuffs is done by javascripting, a programming language !
ok got u
Want to see more ?
yea
Join our real-time social learning platform and learn together with your friends!