Search found 5 matches

by gundegutt
Fri Mar 26, 2010 12:48 am
Forum: General
Topic: Show text if...
Replies: 10
Views: 14541

Show text if...

gmedina wrote:With the comment package you can define different kinds of comments and include/exclude them at will: ...
Then why bother doing it the difficult way? Thanks yet again gmedina :)
by gundegutt
Wed Mar 24, 2010 10:24 pm
Forum: General
Topic: Show text if...
Replies: 10
Views: 14541

Re: Show text if... (Solved)

Thanks for all help, gmedias solution was rather easy to implement so I went for the comment package.

I might have use for the other suggestions as well, if I want to hide different sections for instance.

Thanks
by gundegutt
Wed Mar 24, 2010 8:41 am
Forum: General
Topic: Show text if...
Replies: 10
Views: 14541

Show text if...

Can you show us your code so we can see how you are currently doing your problems and give you a solution that will work how you want it.

That would be excellent!

\newtheorem{problem}{Problem}

if (showProblem == true)
then{
\begin{problem}
Description of the problem given in the assignment ...
by gundegutt
Tue Mar 23, 2010 10:10 am
Forum: General
Topic: Show text if...
Replies: 10
Views: 14541

Re: Show text if...

Thanks,

But could you please make your example a bit bigger? I didn't quite understand how to implement it..

Cheers
by gundegutt
Tue Mar 23, 2010 12:43 am
Forum: General
Topic: Show text if...
Replies: 10
Views: 14541

Show text if...

Hi,

I use LaTex to do my assignments at uni, and want to make a if-statement that will either activate or de-activate a paragraph. I have used \newtheorem to make a {problem} environment which shows the problem as given in the assignment, but want to be able to hide this when I print out the ...