6
votes
1answer
136 views

Listing with two columns in a single fancy frame

I am playing a little with lstlistings and I wonder whether such a thing would be achievable for all my listings: How to achieve this kind of things? Note : I am searching for a solution I can ...
0
votes
0answers
56 views

Rounded corner box with shading (one side round corner box)

Is possible to get the one side round corner with shaded box through PSTricks? I am using the command \psframe[linewidth=0.5pt,framearc=6,fillstyle=solid, fillcolor=gray!30,linecolor=gray!30] and I ...
4
votes
1answer
81 views

how can I make an fbox like command with certain color, shape and width of border?

I am using a style file that has a certain color for section headers. I want to create a macro, which will behave the same like fbox, only: There will be some (predefined) padding below, above, ...
7
votes
2answers
240 views

How to make a semi - shading stripe in resume with LaTeX

I want to make some semi-shading strips in resume to highlight each field, like this image: However, the template code which I use is as below: \newcommand{\resitem}[1]{\item #1 \vspace{-2pt}} % ...
2
votes
0answers
161 views

How to highlight words or sentences? [duplicate]

I would like to create something similar to . To begin with, I would like to create a rounded and background-colored highlight of a word (or a short series of words). What package should I use ? ...
4
votes
1answer
478 views

Frame and background color for all figures

I want to have all my figure floats framed all through the text something like those in Wikipedia pages. A pale-coloured (grey) frame and very pale background too. I am using caption package to ...
2
votes
2answers
455 views

Framed floats and background colors for captions

i wanted to edit my floats. Found the package floatrow and got the desired frames easily for them. Now i would like to add a backgroundcolor to the captions. The problem is that the \parbox, i ...
5
votes
1answer
508 views

colored full width box with some verbatim text inside?

I would like to create a text box of "reminders" for my readers. I'd like the box to be gray, go full text width, and have both normal and verbatim text in it. Reminder ensure blah blah ...
7
votes
1answer
477 views

lstlisting border bug when breaking lines

I have a certain bug regarding listings. I have used the \lstset command to configure my lstlisting environment. Somehow, when I have a line that is too long to fit into one row the listing breaks ...
13
votes
2answers
683 views

How to create Multilevel Colored Boxes using tcolorbox/any other package?

tcolorbox Manual provides the following example: Can anybody please suggest me how to create exactly this type of box - The no. of rows to add must be flexible(It seems that tcolorbox has no option ...
7
votes
2answers
3k views

Colored frame for the framed environment

I'm using the framed environement to put a text in a framed box. I'm using it because I like its formating more than fbox. Now I would like to color the frame's border and I didn't find anything on ...
14
votes
2answers
5k views

How to highlight important parts (with a gray background)

In the below link http://www.math.uiowa.edu/~goodman/algebrabook.dir/bookmt.pdf the author highlights anything which is important using a greyish color background. For example, if you see ...
10
votes
3answers
11k views

Change border color of \fbox [duplicate]

Possible Duplicate: Is there an \arrayrulecolor-like command to change the rule color of \fbox? I'm using an \fbox to have a border around a minipage. \fbox{ ...
2
votes
1answer
694 views

Draw red box around verse

This is a follow-up question to: How to center a verse horizontally I am using the solution given by @Herbert. Is there a way to put a color box around selected few verses I desire?
11
votes
2answers
1k views

Different colorcoded theorems

I'm using this code to frame my theorems: \documentclass[a4paper,12pt]{scrreprt} \usepackage[table]{xcolor} \usepackage{latexsym} \usepackage{amsmath} \usepackage[amsmath,thmmarks,framed]{ntheorem} ...
3
votes
5answers
3k views

How can I draw a border around a title page?

I want to draw a red page border only on the title page and signature page of my thesis. How can I achieve this. I tried the fancybox package but it has some conflict with fancyhdr package and ...
2
votes
1answer
168 views

Bug with framed, listings and xcolor are together

When using a combination of the packages framed, listings, and xcolor, that causes a strange bug, that I cannot manage to fix. The problem is that, when a box (made with the framed package, and ...
13
votes
3answers
13k views

How to draw a colored framebox without filling the background?

I like to draw a \fbox{..} which is colored. The xcolor package gives \fcolorbox{<frame color>}{<background color>}{<text>} But this forces me to set a background color. I like ...
3
votes
2answers
597 views

Is there an \arrayrulecolor-like command to change the rule color of \fbox?

The question has been written above.
1
vote
1answer
344 views

Moving a framed environment to the left

I want to move the following remark environment, which nicely splits over pages :), towards the left so that it is not centered anymore. I have been unsuccessfully trying for a while: would you please ...