# How to include my codes in a blue box?

I want to bring a code in my question. I've seen this link, but I didn't find any solution here.
How to include my codes in a blue box?

In addition to the fine suggestions given by Asaf, you can include your code inline in backquotes $^\grave{}\dots^\grave{}$ like this $e=e^1$.

Do you mean like that:

$e=e^1$.

Or do you mean like that:

$e=e^1$.


The former is done by adding > at the beginning of the line, and the latter is done by typing four whitespaces at the beginning of the line.

• $\bbox[5px,border:2px solid #0000FF]{\text{Evidently, they didn't mean something like this.}}$
– robjohn Mod
Jul 8 '13 at 21:35
• @robjohn: I didn't even know that the box was blue until now.
– Asaf Karagila Mod
Jul 8 '13 at 21:36
• I think the color of the highlighting depends on the visual theme of the site. Here I see it as $\bbox[5px,border:0px solid #0000FF,#EEEEEE]{\text{a background of gray: }\mathrm{0xEEEEEE}}$
– robjohn Mod
Jul 8 '13 at 22:07
• @robjohn: I too believe it depends on the theme. I'm just not very good with colors, and not once I have mistaken light shades of blue to be gray of some sort.
– Asaf Karagila Mod
Jul 8 '13 at 22:13
• @robjohn: Could you please provide the code for your text in the blue box? Aug 16 '13 at 16:30
• @LePressentiment: you can always see the MathJax source by right-clicking on the rendered MathJax and selecting "Show Math As > TeX Commands"
– robjohn Mod
Aug 16 '13 at 16:49
• @robjohn: Many thanks! Aug 18 '13 at 14:56

Granting that the OP quested after the box in robjohn's post, with many thanks to robjohn, I promulgate it explicitly:

\bbox[5px,border:2px solid #0000FF]{\text{ STUFF HERE }}

• When you mention robjohn's post, readers might assume that you mean his answer. (Answers are more visible than comments). Saying that you mean robjohn's comment would be, in my opinion, less ambiguous. (This was the reason why I've added a link to the comment.) Oct 13 '13 at 7:54
• @MartinSleziak: Thanks for the edit! Dec 22 '13 at 13:39