anriseth / baposter

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

setting a textfont breaks when there's more than one paragraph in a headerbox #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. include a textfont option, i.e. textfont=\textsf in the poster options
2. have a headerbox with more than one paragraph of text 

This leads to the following error message: 
! Paragraph ended before \text@command was complete.
<to be read again> 
                   \par 
l.187  }

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Extra }, or forgotten \endgroup.
<recently read> \egroup 

That "try again" also leads to the second paragraph being printed at the 
default font at the top of the box again.

Either removing the second paragraph or removing the textfont option fix the 
error.

Original issue reported on code.google.com by alise...@googlemail.com on 20 Mar 2011 at 8:38

GoogleCodeExporter commented 8 years ago
I finally found time to look into this issue. The problem is, that \textsf is 
not applicable to more than one paragraph. You can solve the issue by using the 
commands \sf, \sc and so forth, which change the text within the complete box.

I added a comment to the FAQ.

Original comment by brian.amberg@gmail.com on 6 May 2011 at 11:27

GoogleCodeExporter commented 8 years ago
Thank you!..

Original comment by michal.k...@gmail.com on 14 Feb 2012 at 12:56