Ask your own question, for FREE!
OpenStudy Feedback 8 Online
OpenStudy (dumbsearch2):

@thomaster YELP HELP

OpenStudy (dumbsearch2):

HELP HELP HELP HELP YELP YELP YELP YELP

OpenStudy (dumbsearch2):

@thomaster W00T

OpenStudy (dumbsearch2):

AND PLEASE DONT REDIRECT ME TO LATEX PRACTISING KTHXYBYE

OpenStudy (dumbsearch2):

HOW do you do a gray background? Like I've seen snuggie and kymber do code... like the HTML <code>tag</code> or something...

OpenStudy (dumbsearch2):

I removed all the attributes, and all it does is italic plain text...

thomaster (thomaster):

HTML doesn't work here

OpenStudy (dumbsearch2):

I know but how would you do something like the <code> tag?

OpenStudy (dumbsearch2):

In latex i'm talking about

thomaster (thomaster):

``` <code> hello </code>

OpenStudy (dumbsearch2):

Exactly. Very cool. Thats what I wanted. I couldn't find it but just removing the tags, it would just make it italic. Code now ?

OpenStudy (dumbsearch2):

I want to know how to do that in latex what you just did

OpenStudy (dumbsearch2):

I mean removing the "color" stuff, thats what I mean by tags and attributes... in the latex

thomaster (thomaster):

just type ``` and go to the next line

OpenStudy (dumbsearch2):

Wow! Oaky!

thomaster (thomaster):

or you can write between ` `that will look like this`

OpenStudy (dumbsearch2):

wow awesome its like stackexchange in that respect i should have trie dthat :)

thomaster (thomaster):

yes the writing between `` is often used to show latex code the ``` is very useful to show programming code in (as it will color tags and attributes. like this: ``` public class FindEvenOrOddNumber { public static void main(String[] args) { //create an array of 10 numbers int[] numbers = new int[]{1,2,3,4,5,6,7,8,9,10}; for(int i=0; i < numbers.length; i++){ if(numbers[i]%2 == 0) System.out.println(numbers[i] + " is even number."); else System.out.println(numbers[i] + " is odd number."); } } }

OpenStudy (dumbsearch2):

Ya It's called syntax highlighting AWESOME

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!