Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
89 views

Labels or keys of tcbtheorems in a section

I'm sure a lot of people asked this already, but I'm not able to find the correct answer. I want to keep track of my label/keys that I was giving a tcbtheorem. I don't know the best practise to ...
NikT's user avatar
  • 3
0 votes
0 answers
36 views

Error from interactions between equation environments, \eqref, showkeys, hyperref, and seqsplit

I got an error which I was able to trim down to the following minimal working example: \documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \usepackage{showkeys} \usepackage{seqsplit} \...
Junekey Jeon's user avatar
2 votes
0 answers
40 views

Conflict between hyperref and showkeys with autoref

maybe this is a stupid question but I would like to know why the \autoref{} of hyperref package conflicts with the showkeys package (to allow in draft mode to see the labels) even when passing the ...
SimoPape's user avatar
  • 113
1 vote
1 answer
17 views

Using the `showkeys` package adds two new pages after the `\part` page to show only the label key

The following example creates 5 pages. Page 1 contains the \part, page 3 only shows the \part's \label, and page 5 shows the \chapter. If I do not load showkeys then naturally, only 3 pages are ...
Artemis's user avatar
  • 526
0 votes
1 answer
94 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 ...
tvk's user avatar
  • 1,657
0 votes
1 answer
107 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{...
user avatar
6 votes
2 answers
277 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 ...
rshkadhttkqwkqknhd's user avatar
3 votes
1 answer
227 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[...
Watson's user avatar
  • 932
2 votes
2 answers
210 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 ...
rshkadhttkqwkqknhd's user avatar
0 votes
1 answer
53 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 ...
PeptideChain's user avatar
  • 1,335
0 votes
0 answers
155 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} --...
Cuoredicervo's user avatar
2 votes
1 answer
102 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{...
user44413's user avatar
  • 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, ...
PeptideChain's user avatar
  • 1,335
1 vote
0 answers
170 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 \...
murray's user avatar
  • 8,314
2 votes
1 answer
101 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{...
Stephen Powell's user avatar
2 votes
0 answers
145 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]{...
dba's user avatar
  • 516
1 vote
1 answer
105 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] \...
Thorbjørn E. K. Christensen's user avatar
2 votes
2 answers
182 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 ...
kaka's user avatar
  • 546
1 vote
1 answer
2k 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 ...
Hosein Rahnama's user avatar
1 vote
1 answer
151 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 ...
es560's user avatar
  • 147
3 votes
2 answers
3k 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., ...
murray's user avatar
  • 8,314
4 votes
1 answer
129 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} \...
murray's user avatar
  • 8,314
5 votes
1 answer
722 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 ...
murray's user avatar
  • 8,314
3 votes
1 answer
237 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 ...
Daniel's user avatar
  • 31
1 vote
1 answer
198 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 ...
HcN's user avatar
  • 1,274
5 votes
1 answer
187 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} %\...
Fang Hung-chien's user avatar
7 votes
1 answer
395 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 ./...
jan bernlöhr's user avatar
2 votes
1 answer
851 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, ...
Wormer's user avatar
  • 251
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 ...
MathUser's user avatar
  • 105
0 votes
1 answer
334 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 ...
piptin's user avatar
  • 389
3 votes
2 answers
1k 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 ...
Tobias Diez's user avatar
4 votes
1 answer
696 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 ...
Ari Brodsky's user avatar
  • 2,596
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 ...
Dror's user avatar
  • 22.6k
12 votes
1 answer
673 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 ...
C-Otto's user avatar
  • 943
1 vote
1 answer
330 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. ...
Ari Brodsky's user avatar
  • 2,596
4 votes
1 answer
141 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 ...
Ari Brodsky's user avatar
  • 2,596
15 votes
1 answer
4k 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 ...
Cyrus's user avatar
  • 151
10 votes
1 answer
643 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 ...
MostlyHarmless's user avatar