4
votes
1answer
66 views

How to make a section without margin with the command “\exersize” like this:

‎ \documentclass[12pt‎ , ‎a4paper]{report}‎ \usepackage[framemethod=TikZ]{mdframed} \usepackage{xcolor}‎ \usepackage{titlesec}‎‎ ...
7
votes
3answers
608 views

How to make a box around a section

I'm trying to put a box around a section, both the title and the contents. I've found ways of doing one or the other, but not both. +-----------------------+ | Title | | ...
3
votes
1answer
186 views

Moving the chapter name in a titlesec frame?

I'm messing around with titlesec to make a frame with the chapter name in it. I can't figure out how to move the chapter name ("Chapter Foo" in the example). Here's the MWE: ...
7
votes
1answer
325 views

Redefining the \part environment to add a page border

How can I redefine the \part environment, in a book documentclass, to add a page border at the page margins? By the way, it must be possible (since everything is possible in LaTeX) to get a shaded ...
5
votes
1answer
743 views

Formatting – title with underline and box around paragraph

Can you help me please with formatting? I like this format: How can I define this title with grey underline (width of all page)? Font is sans serif (Arial). And how can I make grey box around some ...
4
votes
1answer
229 views

How to frame/shade a whole section?

Simple Question, but it seems to tricky for me. I don't know how to redefine the sectioning in a way, that the whole content (incl. subsections, ...) assigned to one \section{...} command would be ...
4
votes
1answer
340 views

How to make boxes occupy two columns in twocolumn environment, without using float in LaTeX?

I am trying to create a new document class, similar to books, but with two columns and where new chapters always starts in a new page, printing the chapter name inside a box that should occupy two ...
22
votes
1answer
2k views

How to place a shaded box around a section label and name

In working with a publisher, I need to format section headings like this (using ASCII art): +-----+-------------------------------------+ | 1.2 | Section name | ...
11
votes
3answers
2k views

Framing section headings

I'm attempting to put a frame around my section headings. I am using the package mdframed which adds functionality to the framed package. It basically draws a box around an object, in an ...