Generalcwpuzzle, beamer | Crossword Puzzle in a Presentation

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
HerrWeigel
Posts: 3
Joined: Tue Jun 19, 2012 9:09 pm

cwpuzzle, beamer | Crossword Puzzle in a Presentation

Post by HerrWeigel »

Hi, I have a problem when trying to embed a crossword puzzle in beamer presentation. Here is a simple example of what I want to do:

Code: Select all

\documentclass{beamer}
\usepackage{cwpuzzle}
\listfiles

\begin{document}
	\begin{frame}
		\begin{Puzzle}{5}{5}
			|{}	|{}	|[1]S	|.
			|{}	|[2]M	|I	|[3]D	|.
			|[4]T	|I	|M	|E	|S	|.
			|{}	|[5]N	|E	|G	|.
			|{}	|{}	|Q	|.
		\end{Puzzle}	
	\end{frame}
\end{document}
Here is the result:

Code: Select all

— — —[1]S —. — —[2]M —I —[3]D —. —[4
As you can see, we miss the puzzle, but get text from "Puzzle" environment, where "|" are removed and "{}" are replaced by "-".
I haven't found anything about using cwpuzzle with beamer in the package documentation. Why is this happening and what I should do to embed a puzzle in presentation?

Thanks a lot!
Sorry for my pure English. I'm trying to improve my skills in this language, but this isn't as fast as I would like.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: cwpuzzle, beamer | Crossword Puzzle in a Presentation

Post by localghost »

Seems that class and package are simply not compatible.


Best regards and welcome to the board
Thorsten
HerrWeigel
Posts: 3
Joined: Tue Jun 19, 2012 9:09 pm

cwpuzzle, beamer | Crossword Puzzle in a Presentation

Post by HerrWeigel »

Thanks for the answer, localghost.
It seems like I need to made this work by pasting a picture in presentation... But it's certainly better than nothing.

Thank you.
Sorry for my pure English. I'm trying to improve my skills in this language, but this isn't as fast as I would like.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

cwpuzzle, beamer | Crossword Puzzle in a Presentation

Post by localghost »

HerrWeigel wrote:[…] It seems like I need to made this work by pasting a picture in presentation […]
If you don't really need the mechanism of creating the puzzle, you could draw it yourself by the pgf/tikZ package.
HerrWeigel
Posts: 3
Joined: Tue Jun 19, 2012 9:09 pm

cwpuzzle, beamer | Crossword Puzzle in a Presentation

Post by HerrWeigel »

localghost wrote:If you don't really need the mechanism of creating the puzzle, you could draw it yourself by the pgf/tikZ package.
Yes, I know about this package. But I need to easily print empty puzzle and then same but filled (sorry for my pure English). It's very easy with cwpuzzle. With PGF/TikZ I'll need to copy/paste code. Brrr...
However, it doesn't matter. I've created a pictures with puzzles and than included them into the presentation. Not very good solution, I know, but I don't have enough time to solve it prettier. Maybe later I'll take a closer look at this problem.
Sorry for my pure English. I'm trying to improve my skills in this language, but this isn't as fast as I would like.
Post Reply