8
votes
3answers
287 views

Listing background broken by \colorbox and \framebox

I am using listing environment (listings package) with the background parameter. I want to highlight some lines of code and I am using the \colorbox, \makebox and \framebox to achieve this. However, a ...
16
votes
3answers
2k views

Color box with rounded corners around a fragment of a formula

Is there any way in TeX to highlight some part of a formula with a box having colored background and rounded corners? At present, I need to export such formulas into an image, add those highlight ...
2
votes
2answers
145 views

Smaller font sizes in boitecoloriee environment gives bad result

The boites package defines environments that allow page breaks inside framed boxes whose edges may be variously fancy. The bundle includes a few examples (shaded box, box with a wavy line on its side, ...
7
votes
3answers
8k views

Colored fancy boxes

I am trying to produce some fancy boxes. I have found the fancybox package that does the boxes I want. What I can't find now is: How do I change their background color? I would also like to make the ...
14
votes
2answers
8k views

Changing style of alert environment in beamer

I would like to specify a background color in the alert environment. I can, for example, use \setbeamercolor{alerted text}{fg=blue} to change the colour of the alterted text to blue, but this ...
4
votes
1answer
1k views

Change float background colour

Background Including images within Algorithm floats. The images are trimmed to size automatically by a batch file. Problem In the following portion of the PDF, Listing 1.1 has a lot of space to the ...