GeneralHide an area

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Renaud78200
Posts: 1
Joined: Sat Nov 22, 2008 9:47 pm

Hide an area

Post by Renaud78200 »

Hey,

I want to insert Java code in my document; this is not a problem, I succeeded, with coloration and everything. However, this code is big in my document, so I would like to be able to hide it when we launch the pdf and to show it when I want.
For example, at the beginning, there is a line "Here is your Java code" and when I click on this line, the code appears; or something like that...

Is it possible ?

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