2
$\begingroup$

A while back quotation by > was done with a orange box.

The new quotation box is visually very bland. One might like that, one may not. That's fine.

I remember that highlighting questions or other stuff like that was never really encouraged. I never understood this, as I found it made a post much more readable.

I miss an easy way to highlight important parts of a question, or answer. Is there a work around, or which options could you use?

There were similar questions in the past, but as it seems they never really got answered.

$\endgroup$
5
  • $\begingroup$ > plus ** text **, maybe. $\endgroup$ May 22 at 20:58
  • 4
    $\begingroup$ Bold-face is obnoxious, especially when over-used, @VeronicaR.M. And rarely is it not overused. $\endgroup$
    – amWhy
    May 22 at 21:07
  • 1
    $\begingroup$ You could try using color (although that can also be obnoxious, if not used sparingly). $\endgroup$ May 23 at 0:01
  • $\begingroup$ I would like to avoid colour, because - as you said - it is pretty obnoxious. I felt like the orange boxes were fairly pleasent to the eye. Using colorued text would break it, I think. $\endgroup$
    – Cornman
    May 23 at 0:29
  • 1
    $\begingroup$ Cornman I agree with your assessment, that the former text box was far superior to the grey on white text box used currently available. This would make a great question on Meta Stack Exchange, because this was an SE developer's decision to change. Don't fix what wasn't broken! $\endgroup$
    – amWhy
    May 23 at 16:45

1 Answer 1

-1
$\begingroup$

How about something like this?

$$ \bbox[yellow,5px,border:3px solid black] { \substack{\\ \large\text{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut} \\ \large\text{labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco} \\ \large\text{laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in} \\ \large\text{voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat } \\ \large\text{non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}\\\\\\\\\\ \large\mathbf{\text{You can also add some math:}} \\\\\\\\\\\\\\ \displaystyle\int x^2 \, \mathrm{d}x = \frac{x^3}{3} + C\\\\\\} } $$

$$ \bbox[yellow,5px,border:3px solid black]
{
\substack{\\ \large\text{Lorem ipsum dolor sit amet, consectetur adipiscing 
elit, sed do eiusmod tempor incididunt ut} \\ \large\text{labore et dolore 
magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco} \\
\large\text{laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure 
dolor in reprehenderit in} \\ \large\text{voluptate velit esse cillum dolore 
eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat } 
\\ \large\text{non proident, sunt in culpa qui officia deserunt mollit anim 
id est laborum.}\\\\\\\\\\ \large\mathbf{\text{You can also add some math:}}
\\\\\\\\\\\\\\ \displaystyle\int x^2 \, \mathrm{d}x = \frac{x^3}{3} + C\\\\\\}
}
$$

You may also use other colours, such as orange in place of yellow:

$$ \bbox[orange,5px,border:3px solid black] { \substack{\\ \large\text{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut} \\ \large\text{labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco} \\ \large\text{laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in} \\ \large\text{voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat } \\ \large\text{non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}\\\\\\\\\\ \large\mathbf{\text{You can also add some math:}} \\\\\\\\\\\\\\ \displaystyle\int x^2 \, \mathrm{d}x = \frac{x^3}{3} + C\\\\\\} } $$

Or even a custom color with its hex color code:

$$ \bbox[#ADD8E6,5px,border:3px solid black] { \substack{\\ \large\text{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut} \\ \large\text{labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco} \\ \large\text{laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in} \\ \large\text{voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat } \\ \large\text{non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}\\\\\\\\\\ \large\mathbf{\text{You can also add some math:}} \\\\\\\\\\\\\\ \displaystyle\int x^2 \, \mathrm{d}x = \frac{x^3}{3} + C\\\\\\} } $$

The border colour and width can also be customised.

$\endgroup$
5
  • 7
    $\begingroup$ I find it unpleasant to the eye, but thanks for suggestion. $\endgroup$
    – Cornman
    May 26 at 20:10
  • 1
    $\begingroup$ @Cornman You can also use other colours such as orange which is more pleasant to the eye. $\endgroup$ May 26 at 20:29
  • 2
    $\begingroup$ I actually thought this was quite good. Sadly idk how to use this latex code... should learn.. $\endgroup$ May 27 at 8:53
  • 3
    $\begingroup$ I don't think mathjax should be used for text formatting. $\endgroup$
    – MaoWao
    May 29 at 7:39
  • 1
    $\begingroup$ @MaoWao Well, it'd be great if SE can introduce some accessible highlighting features but in the mean time, this is a good work around. $\endgroup$ May 29 at 7:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .