Graphics, Figures & TablesOrganize pictures / add pictures without rendering

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
thinki
Posts: 1
Joined: Mon Jan 02, 2023 9:21 pm

Organize pictures / add pictures without rendering

Post by thinki »

How to declare/define pictures without actually showing them in the rendered document?
So i have a mechanism that can redisplay graphics equations and so on and i want to use this mechanism to organitze my document.

The problem is: before i can use a picture i have to label it (above the first use of the label) and to label it i have to declare my picture which means it will be rendered one time before i can reuse it:

----------------------------------------------------------------------------------------------------------------
pic = picture 1 %can't declare it later because then the references will throw an error but i don't want the graphic to show here (just register the graphic without displaying)

some text pic some text %don't want to declare here because it's horrible to read

look at this picture pic
----------------------------------------------------------------------------------------------------------------

i am searching for a way to now declare this picture without displaying it so i can have a seperate file with just picture declarations

Recommended reading 2024:

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

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

Post Reply