0
votes
1answer
168 views

How can we change the height of a header box

In my poster done using baposter, I need to change the height of the \headerbox. for example, I have this example: ...
6
votes
2answers
217 views

tabular height savebox problem

I'd like to build a tabular and next to it a graphics in the same height. I use the following code (for minimal working purposes, I used \rule) and do not understand, what is going wrong: ...
5
votes
1answer
531 views

How to put fixed-height shading around text (inline)?

I have a chunk of code in an alltt environment and I want to highlight elements that are auto-generated (two colours for different methods): \newcommand{\gen}[1]{\colorbox{DGray}{#1}} ...
4
votes
2answers
1k views

Exact height of \hbox

I have problems controlling the exact height of an \hbox; what is wrong with this example? \documentclass{article} \newcommand{\mybox}[2]{ \fbox{ \vbox to #1cm{ \vfil\hbox to 1cm {\hfill #2 ...
8
votes
5answers
2k views

Set \strut height

I'm using quite a few \colorbox and \colorfbox in a document but they weren't sitting at the same heights (because some words contained g and this seemed to push the box down. The solution I found ...
3
votes
1answer
823 views

Table cell overflow

Consider this document example: \documentclass[a4paper,draft]{article} \usepackage{calc} \usepackage[demo]{graphicx} \usepackage{tabularx,multirow} \usepackage{geometry} \geometry{hmargin=0cm} ...
14
votes
3answers
9k views

Height of colorbox

I'm trying to "highlight" two parts of a sentence by using a \colorbox like so: \colorbox{red}{This is} \colorbox{blue}{a great sentence.} The problem is that in the second part the height colorbox ...