Math & Sciencemacro to print in marginpar the label of variables

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
melekzedek
Posts: 34
Joined: Sat Aug 08, 2009 1:05 pm

macro to print in marginpar the label of variables

Post by melekzedek »

Is there a way to create a little macro to print the name of labels in marginpar?
I would like to have something that automatically printed in marginpar the label of theorems, equations, etc, but at the same time, it should be easy to take it out. Maybe some code in the preamble that after being commented, all the marginpar would simply vanish.
Using Ubuntu 13.10 under the hood and LaTeXing via Vim-LaTeX
ウンベルト

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

macro to print in marginpar the label of variables

Post by localghost »

Just use showlabels.


Best regards
Thorsten
melekzedek
Posts: 34
Joined: Sat Aug 08, 2009 1:05 pm

Re: macro to print in marginpar the label of variables

Post by melekzedek »

Thank you very much for your swift and enlightening answer.
Using Ubuntu 13.10 under the hood and LaTeXing via Vim-LaTeX
ウンベルト
Post Reply