I am doing a poster using beamerposter
. The text inside a block always seems to have no left margin. Can anyone tell me a way of introducing a left margin in a block ?
Here is a sample of how a block looks. Notice that the text starts off with no left margin.
It would be nice if you could tell me how to define left, right, top and bottom margins within the block. Please note that I have nested blocks, though the nested ones have a different environment name (i called then insideBlocks
). Hence I wouldn't want the margins for the block
environment to affect the margins for my insideBlocks
environment.
Hope I am clear.
Best Answer
I think this can be achieved in many ways. One possibility is to define a new block environment with custom margins, like this:
In the new environment (I called it
myblock
)\leftskip
,\rightskip
and\vspace
are used to set the margins. As an example I set everything to 10pt. If you don't want, e.g. a right margin, just remove therightskip
from the code. I assumed you also wanted to customize the title text margin, if you don't want to just remove theleftskip
etc. from\def\insertblocktitle{}
. the result is:Another possibility would be with the
tcolorbox
package, which lets you set margins like this:result is:
edit: I didn't add the
beamerposter
package in my example code because it works both inbeamer
andbeamerposter
without modifications.