Computer Science, asked by aathrav3276, 11 months ago

How to have square box background in of latex?

Answers

Answered by XxMissCutiepiexX
11

Explanation:

The color package should allow you to use the \colorbox command.

Examples (cited from this page, where you will find more details):

\colorbox{red}{Black ~text~ on ~red ~background}

\colorbox{blue}{red}

{Black text, red background, blue frame}

If you need just a border and no background color, the built-in \fbox{text} command should do fine...

Similar questions