Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

How do some people have code in a box? I feel like I knew and used this at one time, but I now forget. The box is shaded dark gray and text appears normal. Thanks in advance!

LaTeX Practicing! :)
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SIGN UP FOR FREE
`i think you mean these boxes? :P` You can create them by writing your code or text bewteen 2x ` It's the same key on your keyboard as the ~ above the tab and below the Esc button.
`ah, thank you!` `public static void main(String args[])`
Is there any feature that colors code for specific languages? I think \(\LaTeX\) can do it. I'll research. Thanks!

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

\(\Large\LaTeX\) can probably do that but not here :P This site uses mathjax, and there are only limited functions available.
But you can color your code manually
Okay, thanks!
`\(\color{>color<}{text}\)`
Gotcha! And I can't use mathjax in the `s, right? `\[\]` So I do it normally and in \] or \) and color it. Thank you!
You can also use ``` Some code will be colored, like this: ```

hello

``` ``` public class Hello { public static void main(String [] args) { System.out.println("Hello"); //comment } } ```
Thank you! I thought OS had a feature like that!

Not the answer you are looking for?

Search for more explanations.

Ask your own question