5
votes
1answer
148 views

Tabular in frame: get rid of horizontal spacing

I'm trying to surround a tabular with a thick frame: \setlength\fboxrule{2pt} \setlength{\fboxsep}{0pt} \fcolorbox{black}{gray}{ \begin{tabular}{@{}p{2cm}|p{2cm}@{}} A & B \\ \hline ...
2
votes
1answer
808 views

Space just before minipage

This is my .tex file: \documentclass{article} \usepackage{framed} \setlength{\FrameSep}{3pt} \begin{document} \noindent{}The king\\ \begin{minipage}{0.9\textwidth} is dead, ...
2
votes
2answers
594 views

Remove extra space from framed environment

I would like to remove or better said have the framed environment (box) aligned with the content in the description. Notice below how the box is out of alignment and aligns with the margin. See a MWE: ...
7
votes
1answer
249 views

Spacing with framed and mdframed packages

I have a slight problem with the framed package when combined with the itemize environment: \documentclass[parskip]{scrartcl} \usepackage{fancybox} \usepackage{framed} \newenvironment{simpages}% ...
6
votes
3answers
484 views

Putting a coloured background behind text without adding whitespace

Consider this: I want to be able to highlight text like this without adding space around it -- so each word in the first line should line up with the corresponding word in the second line. (I know ...
6
votes
1answer
170 views

How to obtain the space left to bottom of page

Since it is impossible to use \vfill inside a framebox, is there any way of getting the current height position of text? I want to fill in a framebox so that it uses all the space left on a page, ...
0
votes
0answers
39 views

(Badge printing) Why is there a margin in my framebox? [duplicate]

Possible Duplicate: Where are the necessary places to be appended with % to remove unwanted spaces? I am trying to create a LaTeX template for badge printing (for a conference), based on ...
5
votes
1answer
935 views

How do I remove padding from a framed box?

I am unable to use mdframed on my server so I am currently creating a framed box like this: \usepackage{framed} \begin{document} \begin{framed} \small{ \noindent \textbf{Key Results}:blah blah blah ...
4
votes
1answer
518 views

Suppress top skip between own frame environment and itemize

I need to typset a book with a given definition of {itemize} and I added a {framed} environment by using mdframed. If the first line inside {framed} is normal text everything is fine but if it ...
5
votes
2answers
557 views

how to eliminate the horizontal spacing of the frame in the framed package?

I'm using the framed package and I found it difficult to adjust the width of a frame to adapt to the current environment, e.g. if I use a shaded environment within the enumerate environment, I will ...
1
vote
1answer
161 views

Is there a “proper” way to fix alignment of text in a \framebox?

The \framebox command aligns its contents vertically centered, but this has a tendency to produce results that are extremely visually displeasing. Case in point: \documentclass{article} ...
0
votes
3answers
3k views

Margins in \framebox

I have the following code: \documentclass{article} \usepackage{tikz} \begin{document} \framebox{\begin{tikzpicture}[color=black, line width=0.4mm] \draw (0,0) rectangle (5mm,5mm); ...
7
votes
3answers
1k views

Extra space above boxed multi-line equation

Well, this question is not new. It was asked back in 2007 in texhax, and answered at the same time. However, I couldn't apply the patch as mentioned in the answer, so I decided to ask it here. ...
2
votes
2answers
2k views

\fbox command destroys margin

I included a graphic the following way: \includegraphics[width=1\textwidth]{questionnaire1.png} Then I changed it so that a frame is drawn around the graphic: ...
8
votes
2answers
3k views

Vertical spacing of framed environment

Here is an MWE that shows the problem: \documentclass{article} \usepackage{framed} \setlength{\FrameSep}{3pt} \setlength{\parindent}{0pt} \begin{document} \fbox{Foo} \fbox{Foo} \begin{framed} Foo ...
1
vote
1answer
345 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 ...