GeneralIf and Character Recognition

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pjsantib
Posts: 3
Joined: Sun Mar 11, 2012 6:37 am

If and Character Recognition

Post by pjsantib »

Hi. I write a test for several levels. This test have common question for some of the levels. For years I separate the problems in several files and call them with an input, in different archives. Then I try to write one archive that contain all the problems and with an If-tree and a lot of booleans show the questions depending that level that I want in the output file.

I want to create a command that have input the levels (number) in which the problems appears separate by a line, a comma, a point, or some symbol, and when I compile the archive the output will be a document where only appear the problems of the level 2, for example, or if I want, show them all.

I really appreciate your help. Beforehand, thank you.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply