Questions tagged [showkeys]

The {showkeys} package overlays the names of labels and references where they appear in the document.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

Display and wrap long labels in the margin with `showkeys` or `showlabels` with the `informs3` document class

I would like to display longer labels given to sections, theorems, and equations in the margin with line breaks so they do not extend outside the margin. I tried the two answers to this question, but ...
  • 1,557
0 votes
1 answer
64 views

! Missing \endcsname inserted while using showkeys [closed]

Using showkeys of my MikTeX 2.9, the code below \documentclass{article} \usepackage{showkeys} \begin{document} section \ref{sec:methods} section \ref{methods} \section{Methods} \label{...
  • 2,947
6 votes
2 answers
182 views

Why does `xstring`s `\StrBefore` work, but not `\IfBeginWith`?

I'm currently using the package showkeys to debug the labels in my document. Using the command \renewcommand{\showkeyslabelformat}[1]{...} one can customise the display of the labels. I want to handle ...
3 votes
1 answer
138 views

Showkeys and eqref prints undesired labels in equation

The following MWE produces an undesirable result, shown below: \documentclass[11pt, a4paper, twoside]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage[...
  • 860
2 votes
2 answers
122 views

Add newlines to label-displays in `showkeys` package

I'm using the package showkeys to display labels in my LaTeX file. All my labels are of the form type:name:details. Since my labels tend to get very long (lemma:the_name_of_the_lemma:...) I'd like to ...
0 votes
1 answer
50 views

amsthm: combination of title and label gives problem

After years I have had this problem I discovered today the direct cause, but I would like to understand why it happens and how I avoid the error. I still can't make a MEW and that is the reason why I ...
  • 1,325
0 votes
0 answers
132 views

Why cleveref changes show keys in equations and theorems environments?

I think my question is not very clear, the reason is that I am not sure which package gives the problem: When I label an equation as \label{eq:abc}, on the right of the equation I obtain: {eq:abc} --...
2 votes
1 answer
95 views

Conflict between memoir subfloats and showkeys

The following works perfectly: \documentclass{memoir} \usepackage{showkeys} \usepackage{graphicx} \newsubfloat{figure} \begin{document} \begin{figure}[htbp] \centering \subbottom[A\label{...
  • 601
0 votes
1 answer
1k views

Package showkeys, switch off/on key display

Is there a trick (I have seen no option for that) to switch on/off the printing of the keys? Switch off would be enough. Because at the end of my draft document I have toc's that help me in my work, ...
  • 1,325
1 vote
0 answers
150 views

Mark index entries in text itself, like showkeys, with memoir documentclass

This question is just like that of Mark indexed entries in the text itself?, except for use with the memoir document class. How can index entries be marked within the text adjacent to where the \...
  • 7,350
2 votes
1 answer
82 views

Line breaks in theorem heads are removed by showkeys package

There are a couple of other questions [1|2] about theorem heads not wrapping properly. I've run across another situation where this happens: \documentclass{article} \usepackage{amsthm} \usepackage{...
2 votes
0 answers
127 views

Showkeys: Omit optional argument of \label

I use cleveref and mathtools together with the showkeys package. However, since for some labels I'm using my own type, labels can get pretty long (in the following example the label will be [mytype]{...
  • 506
1 vote
1 answer
102 views

Showkeys on subbottoms in memoir not showing while using the bookmark package

When running the following MWE: \documentclass{memoir} \usepackage{graphicx} \newsubfloat{figure} \usepackage[draft]{showkeys} %\usepackage{bookmark} \begin{document} \begin{figure}[htb] \...
2 votes
2 answers
171 views

Is it possible to show the figure name (fig.eps) using showkeys package

I have a lot of figures in my document, and which are recalled multiple times in the same document. It makes cumbersome to check in the TeX file the name of the figures again and again when it is ...
  • 546
1 vote
1 answer
1k views

Showkeys: Labels Out of Margin [duplicate]

I use showkeys to manage my lablels. However, sometimes I would like to use long label names but it seems that showkeys does not like them! :) The problem is that the labels get out of the margin. I ...
1 vote
1 answer
146 views

How can I show my label/id when using \cmpd from the chemnum package?

I am using the chemnum package of Clemens Niederberger to label my chemical compounds. Now I have quite a large amount of compounds and sometimes it would be helpful to see the label in the document ...
  • 127
3 votes
2 answers
2k views

How display marginal labels on bibliography entries with showlabels?

How can I cause marginal labels to appear for entries in the printed bibliography if I am using the showlabels package? (Note that I mean labels in the margin rather than the numbers or names, etc., ...
  • 7,350
4 votes
1 answer
114 views

How prevent overwrite of theorem-like head when showkeys loaded?

The following source causes the "EXERCSISES" head in the theorem-like environment to be overwritten with the 1st item of the enumerated list inside: \documentclass{article} \usepackage{amsthm} \...
  • 7,350
5 votes
1 answer
651 views

How color keys with showkeys with non-gray color?

Nowhere have I been able to see an example of using a color other than a shade of gray to color the labels revealed in LaTeX by \usepackage{showkeys}. For example, suppose I want labels to be ...
  • 7,350
1 vote
1 answer
219 views

Showkey with cleveref and amsmath

I have the following problem with showkeys. When use in combination with cleveref and amsmath the label for equation get some extraneous curly brackets. For example im compile the following the label ...
  • 11
1 vote
1 answer
158 views

Having showkeys to work nicely with custom \ref command

I used a customized command \myref (From a previous question here) that allows me to include in the hyperref link the word, say, Equation, before the reference. Unfortunatly, it does not seems to ...
  • 1,254
5 votes
1 answer
179 views

Showkeys and Unicode-math conflict

I am using showkeys and unicode-math packages but got the following error ! Missing $ inserted. This is a minimal example: \documentclass{article} \usepackage{showkeys} \usepackage{unicode-math} %\...
7 votes
1 answer
377 views

Problem of using natbib with showkeys

After updating from MacTex 2013 to MacTex 2014 natbib and showkeys stopped working together. Whenever pdflatex is processing a citation with both packages enabled, I receive the following error ./...
2 votes
1 answer
773 views

Put all labels on the left with showkeys

My document has a very narrow right margin and I'm using showkeys to see internal labels for equations. Is it possible to put all labels that showkeys generates on the left side? Unfortunatelly, ...
  • 241
8 votes
1 answer
3k views

Showkeys package with very small margins

Hi I am working on an appendix which has very large tables. Since I have these tables , I have narrowed the margins as much as possible so that they fit properly. I am also using the showkeys ...
  • 105
0 votes
1 answer
319 views

problem: showkeys printing labels on top of text in exam class questions

This is the example: \documentclass[a4paper,11pt,spanish,answers]{exam} \usepackage{showkeys} \begin{document} \begin{questions} \question This is a question This is a question with the ...
  • 389
3 votes
2 answers
940 views

Placement of showkeys label

Is it possible to place the labels of the showkeys package for bibliographic items on the right side instead of the default left? I tried \patchcmd{\SK@@label}{\llap}{\rlap}{}{} which indeed ...
4 votes
1 answer
650 views

How to use showkeys with hyperref?

The "ChangeLog for hyperref bundle" file claims that support for the showkeys package was added to hyperref in various stages on 2000-05-08, 2001-01-27, and 2007-05-29. However, there still seem to ...
  • 2,566
19 votes
2 answers
2k views

Tweak showlabels/showkeys - wrap the label

Can showlabels wrap the label in the margin? A very similar question is showlabels: wrap labels in marginpar, but the solution of @DavidCarlisle does not solve the more general case. Consider the ...
  • 22.1k
12 votes
1 answer
610 views

Using showkeys and cleveref together

I'd like to use showkeys to show me the labels of my definitions (this works) and the labels of the used references (this does not work). The reason for the latter problem is that I use the cleveref ...
  • 893
1 vote
1 answer
320 views

Problem using thmtools, hyperref and showkeys all together

When I use \eqref (from amsmath) in the optional argument to the proof environment (from amsthm) and the three packages thmtools, hyperref, and showkeys are loaded, TeX runs into an infinite loop. ...
  • 2,566
4 votes
1 answer
139 views

How to get showkeys bugfix into tools package distribution

Almost a year ago, the showkeys package was updated to v3.16 in response to a bug report: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=tools/4173 Showkeys is supposed to be part of the tools ...
  • 2,566
15 votes
1 answer
3k views

How do I print the cite key along with the entire .bib file?

I am trying to print an entire *.bib file. I would like to print the citation key along with all the entries in the .bib file. I can print my bibligraphic data file (.bib) but cannot get it to print ...
  • 151
10 votes
1 answer
620 views

biblatex conflict with showkeys package?

For a long time I wondered why biblatex did not typeset author names with \Citeauthor in upper case, until I finally could isolate the problem: When the showkeys package is loaded, the name "von ...