anriseth / baposter

Automatically exported from code.google.com/p/baposter
GNU General Public License v3.0
14 stars 2 forks source link

How do I center the text in a heading? #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put \centering inside the first argument of a headerbox.
2. Alternatively, try \begin{center} .. \end{center}

I have a headerbox

\headerbox{Moral}{name=moral,column=0,span=3,row=1,below=lowlevel}

and would like to have the "Moral" centred.

What is the expected output? What do you see instead?

I expected the heading to be centred. In case 1), nothing happens. In case 2), 
the document doesn't compile.

What version of the product are you using? On what operating system?

I am using baposter.cls, last changed 29 September 2011 (according to the file 
itself). My operating system is Ubuntu precise.

Thanks!

Original issue reported on code.google.com by john.wis...@gmail.com on 11 Jul 2012 at 5:34

GoogleCodeExporter commented 8 years ago
You can use \hspace{}

e.g.: \headerbox{\hspace{2cm} 
Moral}{name=moral,column=0,span=3,row=1,below=lowlevel}

Depending of how long is the header, you make hspace bigger or smaller.

I had the same problem, I did this with the \hspace and it works...

Original comment by evepa...@gmail.com on 10 Jul 2014 at 7:01