GeneralLatex Label

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
joreto_co
Posts: 3
Joined: Thu May 29, 2008 7:54 pm

Latex Label

Post by joreto_co »

I have labeled all my equations and References in my Bachelor Thesis. However when I label them, it puts except the actual label, one more label in the margins of the paper in square brackets. How can I remove this second label? Thank you in advance.

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Latex Label

Post by Stefan Kottwitz »

Hi joreto_co,

welcome to the LaTeX Community board!
I've noticed that you posted your question to cqf.info too. In general it would be nice if you inform about the other posting, so the reader can see there if already a solution was given there or if still help is needed. The information about having posted somewhere else too could avoid double work.

At the moment we don't know what document class you are using and which packages and options. That makes it harder to help. If you post your document preamble perhaps we can find the cause there.
In general the perfect way to get help fastest is providing a minimal working example that shows the problem. Readers could compile and examine it and probably give specific help that solves the problem.

Stefan
LaTeX.org admin
joreto_co
Posts: 3
Joined: Thu May 29, 2008 7:54 pm

Re: Latex Label

Post by joreto_co »

Thank you for the advices. I am doing the standard labeling with the commands \label and \ref. Here is my preamble. I hope it gives you more clarification. Thanks

\documentclass[11pt,oneside,a4paper]{amsart}
\usepackage[latin1]{inputenc}
%\usepackage{german,amsmath,amssymb}
\usepackage[notref,notcite]{showkeys}

\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}


\setlength{\textwidth}{15cm}
\setlength{\topmargin}{0,5cm}
\setlength{\oddsidemargin}{0,5cm}
\setlength{\evensidemargin}{0,5cm}
\setlength{\textheight}{21,5cm}
\setlength{\headheight}{0,6cm}
\setlength{\footskip}{1,75cm}
\setlength{\parindent}{0cm}

\theoremstyle{plain}
\newtheorem{thm}{Theorem}

\newtheorem{lem}{Lemma}
\newtheorem{pro}{Proposition}

\theoremstyle{definition}
\newtheorem{defn}{Definition}
\newtheorem{exa}{Example}
\newtheorem{xca}{Exercise}

\theoremstyle{remark}
\newtheorem*{rem}{Remark}


\numberwithin{equation}{section}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Latex Label

Post by Stefan Kottwitz »

Hi joreto_co,

this line is responsible:

Code: Select all

\usepackage[notref,notcite]{showkeys}
Removing this line solves the problem. Or add the option final:

Code: Select all

\usepackage[notref,notcite,final]{showkeys}
Stefan
LaTeX.org admin
joreto_co
Posts: 3
Joined: Thu May 29, 2008 7:54 pm

Re: Latex Label

Post by joreto_co »

Thank you very much. It works :)
Post Reply