How to use refstepcounter correctly in attempt to implement subfigures? The Next CEO of Stack OverflowHow to remove caption of some subfigures?What is going wrong with this attempt to use global?How to make 8 subfigures fit in one page?How to vertically align 'subcaption' subfiguresHow to cross-reference name of subfiguresHow to correctly use newenvironmentI don't know how to use refhow to label and refer subfigures under tabular environment?Subcaption environment failed. All figures containing a subfigure crashing all of a suddenHow to use ref Inside lstlistings
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
I want to delete every two lines after 3rd lines in file contain very large number of lines :
0 rank tensor vs 1D vector
Would a completely good Muggle be able to use a wand?
Where do students learn to solve polynomial equations these days?
Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?
Are police here, aren't itthey?
Why, when going from special to general relativity, do we just replace partial derivatives with covariant derivatives?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin
How did people program for Consoles with multiple CPUs?
Some questions about different axiomatic systems for neighbourhoods
What flight has the highest ratio of time difference to flight time?
Does soap repel water?
RigExpert AA-35 - Interpreting The Information
Is there a way to save my career from absolute disaster?
Powershell. How to parse gci Name?
How to install OpenCV on Raspbian Stretch?
Is it okay to majorly distort historical facts while writing a fiction story?
Can a Bladesinger Wizard use Bladesong with a Hand Crossbow?
Axiom Schema vs Axiom
Why is information "lost" when it got into a black hole?
What steps are necessary to read a Modern SSD in Medieval Europe?
Do I need to write [sic] when a number is less than 10 but isn't written out?
How to use refstepcounter correctly in attempt to implement subfigures?
The Next CEO of Stack OverflowHow to remove caption of some subfigures?What is going wrong with this attempt to use global?How to make 8 subfigures fit in one page?How to vertically align 'subcaption' subfiguresHow to cross-reference name of subfiguresHow to correctly use newenvironmentI don't know how to use refhow to label and refer subfigures under tabular environment?Subcaption environment failed. All figures containing a subfigure crashing all of a suddenHow to use ref Inside lstlistings
Trying to use space on a page more economically, I developed the idea to arrange graphics as a table being part of a figure. As I still wanted to refer to individual graphics, I also wanted to have captions for each such sub-graphic.
(Only after I had problems, I realized that there does exist a similar mechanism, also named subfigure
and subcaption
)
(I'm no TeX expert, I only know LaTeX a bit)
The code shown below outputs the references as Text... 1 (1.2) ... 1 ...
, so the sub-caption numbers are wrong, while the main caption number is correct. The intended output is
Text... 1 (1.3) ... 1Text... 1.2a (1.2) ... 1.2b ...
.
Text... 1.3a (1.3) ... 1.3b
The captions for the example code read (numbers are correct there):
Abbildung 1.1: Caption0
Abb. 1.2a: Caption1a Abb. 1.2b: Caption1b
Abbildung 1.2: Caption1
Abb. 1.3a: Caption2a Abb. 1.3b: Caption2b
Abbildung 1.3: Caption2
So here's the input for this example (use any placeholder graphic for Platzhalter.pdf
):
documentclass[a4paper,twoside]report
usepackagegerman
usepackage[latin1]inputenc
usepackagea4
usepackagemakeidx
usepackageshowidx
usepackageamsmath
usepackageurl
usepackagegraphicx
usepackageifthen
%
newcountersubfigureX[figure]
renewcommandthesubfigureXthefigurealphsubfigureX
newcountersavefigure
newcommandgtLab
newcommandgtCap
%
newenvironmentgfxTableCapLab[4][htbp]%
ifthenelseequal#4%
renewcommandgtLab%
renewcommandgtLablabel#4%
ifthenelseequal#3%
renewcommandgtCapfLab%
renewcommandgtCapcaptiongtLab#3%
beginfigure[#1]%
setcountersavefigurevaluefigure%
stepcounterfigure%
begincenter%
begintabular#2%
endtabular%
setcounterfigurevaluesavefigure%
gtCap%
endcenter
endfigure%
%
newcommandgLab
newcommandgCap
%
newcommandgfxCapLab[4]%
ifthenelseequal#4%
renewcommandgLab%
renewcommandgLablabel#4%
ifthenelseequal#3%
renewcommandgCapgLab%
renewcommandgCapparnoindentgLabsubcaption#3%
beginminipage[t]#1textwidth%
centeringincludegraphics[width=textwidth]#2%
gCap%
endminipage%
%
newcommandgfxCap[3]gfxCapLab#1#2#3
%
newcommandsubcaption[1]%
%refstepcountersubfigureX
addtocountersubfigureX1%
small Abb.~thesubfigureX: #1%
begindocument
chapterChap
%
beginfigure
Test
captionCaption0
endfigure
begingfxTableCapLablrCaption1label1%
gfxCapLab0.4Platzhalter.pdfCaption1alabel1a
&
gfxCapLab0.4Platzhalter.pdfCaption1blabel1b
endgfxTableCapLab
%
Text...
reflabel1a (reflabel1) ... reflabel1b ...
begingfxTableCapLablrCaption2label2%
gfxCapLab0.4Platzhalter.pdfCaption2alabel2a
&
gfxCapLab0.4Platzhalter.pdfCaption2blabel2b
endgfxTableCapLab
Text...
reflabel2a (reflabel2) ... reflabel2b
enddocument
(Originally I had named my counter subfigure
also, but then I discovered that a counter with such a name already exists, so I appended the X
).
Preferably the answer contains an explanation why my code does not work (everything that is wrong), how to do it correctly, and (as an extra) how I could achieve the same effect using the stock subfigure
and subcaption
mechanisms.
macros subcaption ref
add a comment |
Trying to use space on a page more economically, I developed the idea to arrange graphics as a table being part of a figure. As I still wanted to refer to individual graphics, I also wanted to have captions for each such sub-graphic.
(Only after I had problems, I realized that there does exist a similar mechanism, also named subfigure
and subcaption
)
(I'm no TeX expert, I only know LaTeX a bit)
The code shown below outputs the references as Text... 1 (1.2) ... 1 ...
, so the sub-caption numbers are wrong, while the main caption number is correct. The intended output is
Text... 1 (1.3) ... 1Text... 1.2a (1.2) ... 1.2b ...
.
Text... 1.3a (1.3) ... 1.3b
The captions for the example code read (numbers are correct there):
Abbildung 1.1: Caption0
Abb. 1.2a: Caption1a Abb. 1.2b: Caption1b
Abbildung 1.2: Caption1
Abb. 1.3a: Caption2a Abb. 1.3b: Caption2b
Abbildung 1.3: Caption2
So here's the input for this example (use any placeholder graphic for Platzhalter.pdf
):
documentclass[a4paper,twoside]report
usepackagegerman
usepackage[latin1]inputenc
usepackagea4
usepackagemakeidx
usepackageshowidx
usepackageamsmath
usepackageurl
usepackagegraphicx
usepackageifthen
%
newcountersubfigureX[figure]
renewcommandthesubfigureXthefigurealphsubfigureX
newcountersavefigure
newcommandgtLab
newcommandgtCap
%
newenvironmentgfxTableCapLab[4][htbp]%
ifthenelseequal#4%
renewcommandgtLab%
renewcommandgtLablabel#4%
ifthenelseequal#3%
renewcommandgtCapfLab%
renewcommandgtCapcaptiongtLab#3%
beginfigure[#1]%
setcountersavefigurevaluefigure%
stepcounterfigure%
begincenter%
begintabular#2%
endtabular%
setcounterfigurevaluesavefigure%
gtCap%
endcenter
endfigure%
%
newcommandgLab
newcommandgCap
%
newcommandgfxCapLab[4]%
ifthenelseequal#4%
renewcommandgLab%
renewcommandgLablabel#4%
ifthenelseequal#3%
renewcommandgCapgLab%
renewcommandgCapparnoindentgLabsubcaption#3%
beginminipage[t]#1textwidth%
centeringincludegraphics[width=textwidth]#2%
gCap%
endminipage%
%
newcommandgfxCap[3]gfxCapLab#1#2#3
%
newcommandsubcaption[1]%
%refstepcountersubfigureX
addtocountersubfigureX1%
small Abb.~thesubfigureX: #1%
begindocument
chapterChap
%
beginfigure
Test
captionCaption0
endfigure
begingfxTableCapLablrCaption1label1%
gfxCapLab0.4Platzhalter.pdfCaption1alabel1a
&
gfxCapLab0.4Platzhalter.pdfCaption1blabel1b
endgfxTableCapLab
%
Text...
reflabel1a (reflabel1) ... reflabel1b ...
begingfxTableCapLablrCaption2label2%
gfxCapLab0.4Platzhalter.pdfCaption2alabel2a
&
gfxCapLab0.4Platzhalter.pdfCaption2blabel2b
endgfxTableCapLab
Text...
reflabel2a (reflabel2) ... reflabel2b
enddocument
(Originally I had named my counter subfigure
also, but then I discovered that a counter with such a name already exists, so I appended the X
).
Preferably the answer contains an explanation why my code does not work (everything that is wrong), how to do it correctly, and (as an extra) how I could achieve the same effect using the stock subfigure
and subcaption
mechanisms.
macros subcaption ref
2
I've never heard ofsteprefcounter
. Did you mean to writerefstepcounter
?
– Mico
2 hours ago
Off-topic: Thegerman
package is obsolete. Don't load it. Instead, runusepackage[german]babel
or, better still,usepackage[ngerman]babel
.
– Mico
1 hour ago
@Mico: You are right (I remembered the command incorrectly): Usingrefstepcounter
fixes the complaint, but still it does not fix the problem that the references show the wrong number. On the German package: Will do once the rest works (Thanks!).
– U. Windl
14 mins ago
add a comment |
Trying to use space on a page more economically, I developed the idea to arrange graphics as a table being part of a figure. As I still wanted to refer to individual graphics, I also wanted to have captions for each such sub-graphic.
(Only after I had problems, I realized that there does exist a similar mechanism, also named subfigure
and subcaption
)
(I'm no TeX expert, I only know LaTeX a bit)
The code shown below outputs the references as Text... 1 (1.2) ... 1 ...
, so the sub-caption numbers are wrong, while the main caption number is correct. The intended output is
Text... 1 (1.3) ... 1Text... 1.2a (1.2) ... 1.2b ...
.
Text... 1.3a (1.3) ... 1.3b
The captions for the example code read (numbers are correct there):
Abbildung 1.1: Caption0
Abb. 1.2a: Caption1a Abb. 1.2b: Caption1b
Abbildung 1.2: Caption1
Abb. 1.3a: Caption2a Abb. 1.3b: Caption2b
Abbildung 1.3: Caption2
So here's the input for this example (use any placeholder graphic for Platzhalter.pdf
):
documentclass[a4paper,twoside]report
usepackagegerman
usepackage[latin1]inputenc
usepackagea4
usepackagemakeidx
usepackageshowidx
usepackageamsmath
usepackageurl
usepackagegraphicx
usepackageifthen
%
newcountersubfigureX[figure]
renewcommandthesubfigureXthefigurealphsubfigureX
newcountersavefigure
newcommandgtLab
newcommandgtCap
%
newenvironmentgfxTableCapLab[4][htbp]%
ifthenelseequal#4%
renewcommandgtLab%
renewcommandgtLablabel#4%
ifthenelseequal#3%
renewcommandgtCapfLab%
renewcommandgtCapcaptiongtLab#3%
beginfigure[#1]%
setcountersavefigurevaluefigure%
stepcounterfigure%
begincenter%
begintabular#2%
endtabular%
setcounterfigurevaluesavefigure%
gtCap%
endcenter
endfigure%
%
newcommandgLab
newcommandgCap
%
newcommandgfxCapLab[4]%
ifthenelseequal#4%
renewcommandgLab%
renewcommandgLablabel#4%
ifthenelseequal#3%
renewcommandgCapgLab%
renewcommandgCapparnoindentgLabsubcaption#3%
beginminipage[t]#1textwidth%
centeringincludegraphics[width=textwidth]#2%
gCap%
endminipage%
%
newcommandgfxCap[3]gfxCapLab#1#2#3
%
newcommandsubcaption[1]%
%refstepcountersubfigureX
addtocountersubfigureX1%
small Abb.~thesubfigureX: #1%
begindocument
chapterChap
%
beginfigure
Test
captionCaption0
endfigure
begingfxTableCapLablrCaption1label1%
gfxCapLab0.4Platzhalter.pdfCaption1alabel1a
&
gfxCapLab0.4Platzhalter.pdfCaption1blabel1b
endgfxTableCapLab
%
Text...
reflabel1a (reflabel1) ... reflabel1b ...
begingfxTableCapLablrCaption2label2%
gfxCapLab0.4Platzhalter.pdfCaption2alabel2a
&
gfxCapLab0.4Platzhalter.pdfCaption2blabel2b
endgfxTableCapLab
Text...
reflabel2a (reflabel2) ... reflabel2b
enddocument
(Originally I had named my counter subfigure
also, but then I discovered that a counter with such a name already exists, so I appended the X
).
Preferably the answer contains an explanation why my code does not work (everything that is wrong), how to do it correctly, and (as an extra) how I could achieve the same effect using the stock subfigure
and subcaption
mechanisms.
macros subcaption ref
Trying to use space on a page more economically, I developed the idea to arrange graphics as a table being part of a figure. As I still wanted to refer to individual graphics, I also wanted to have captions for each such sub-graphic.
(Only after I had problems, I realized that there does exist a similar mechanism, also named subfigure
and subcaption
)
(I'm no TeX expert, I only know LaTeX a bit)
The code shown below outputs the references as Text... 1 (1.2) ... 1 ...
, so the sub-caption numbers are wrong, while the main caption number is correct. The intended output is
Text... 1 (1.3) ... 1Text... 1.2a (1.2) ... 1.2b ...
.
Text... 1.3a (1.3) ... 1.3b
The captions for the example code read (numbers are correct there):
Abbildung 1.1: Caption0
Abb. 1.2a: Caption1a Abb. 1.2b: Caption1b
Abbildung 1.2: Caption1
Abb. 1.3a: Caption2a Abb. 1.3b: Caption2b
Abbildung 1.3: Caption2
So here's the input for this example (use any placeholder graphic for Platzhalter.pdf
):
documentclass[a4paper,twoside]report
usepackagegerman
usepackage[latin1]inputenc
usepackagea4
usepackagemakeidx
usepackageshowidx
usepackageamsmath
usepackageurl
usepackagegraphicx
usepackageifthen
%
newcountersubfigureX[figure]
renewcommandthesubfigureXthefigurealphsubfigureX
newcountersavefigure
newcommandgtLab
newcommandgtCap
%
newenvironmentgfxTableCapLab[4][htbp]%
ifthenelseequal#4%
renewcommandgtLab%
renewcommandgtLablabel#4%
ifthenelseequal#3%
renewcommandgtCapfLab%
renewcommandgtCapcaptiongtLab#3%
beginfigure[#1]%
setcountersavefigurevaluefigure%
stepcounterfigure%
begincenter%
begintabular#2%
endtabular%
setcounterfigurevaluesavefigure%
gtCap%
endcenter
endfigure%
%
newcommandgLab
newcommandgCap
%
newcommandgfxCapLab[4]%
ifthenelseequal#4%
renewcommandgLab%
renewcommandgLablabel#4%
ifthenelseequal#3%
renewcommandgCapgLab%
renewcommandgCapparnoindentgLabsubcaption#3%
beginminipage[t]#1textwidth%
centeringincludegraphics[width=textwidth]#2%
gCap%
endminipage%
%
newcommandgfxCap[3]gfxCapLab#1#2#3
%
newcommandsubcaption[1]%
%refstepcountersubfigureX
addtocountersubfigureX1%
small Abb.~thesubfigureX: #1%
begindocument
chapterChap
%
beginfigure
Test
captionCaption0
endfigure
begingfxTableCapLablrCaption1label1%
gfxCapLab0.4Platzhalter.pdfCaption1alabel1a
&
gfxCapLab0.4Platzhalter.pdfCaption1blabel1b
endgfxTableCapLab
%
Text...
reflabel1a (reflabel1) ... reflabel1b ...
begingfxTableCapLablrCaption2label2%
gfxCapLab0.4Platzhalter.pdfCaption2alabel2a
&
gfxCapLab0.4Platzhalter.pdfCaption2blabel2b
endgfxTableCapLab
Text...
reflabel2a (reflabel2) ... reflabel2b
enddocument
(Originally I had named my counter subfigure
also, but then I discovered that a counter with such a name already exists, so I appended the X
).
Preferably the answer contains an explanation why my code does not work (everything that is wrong), how to do it correctly, and (as an extra) how I could achieve the same effect using the stock subfigure
and subcaption
mechanisms.
macros subcaption ref
macros subcaption ref
edited 11 mins ago
U. Windl
asked 2 hours ago
U. WindlU. Windl
1477
1477
2
I've never heard ofsteprefcounter
. Did you mean to writerefstepcounter
?
– Mico
2 hours ago
Off-topic: Thegerman
package is obsolete. Don't load it. Instead, runusepackage[german]babel
or, better still,usepackage[ngerman]babel
.
– Mico
1 hour ago
@Mico: You are right (I remembered the command incorrectly): Usingrefstepcounter
fixes the complaint, but still it does not fix the problem that the references show the wrong number. On the German package: Will do once the rest works (Thanks!).
– U. Windl
14 mins ago
add a comment |
2
I've never heard ofsteprefcounter
. Did you mean to writerefstepcounter
?
– Mico
2 hours ago
Off-topic: Thegerman
package is obsolete. Don't load it. Instead, runusepackage[german]babel
or, better still,usepackage[ngerman]babel
.
– Mico
1 hour ago
@Mico: You are right (I remembered the command incorrectly): Usingrefstepcounter
fixes the complaint, but still it does not fix the problem that the references show the wrong number. On the German package: Will do once the rest works (Thanks!).
– U. Windl
14 mins ago
2
2
I've never heard of
steprefcounter
. Did you mean to write refstepcounter
?– Mico
2 hours ago
I've never heard of
steprefcounter
. Did you mean to write refstepcounter
?– Mico
2 hours ago
Off-topic: The
german
package is obsolete. Don't load it. Instead, run usepackage[german]babel
or, better still, usepackage[ngerman]babel
.– Mico
1 hour ago
Off-topic: The
german
package is obsolete. Don't load it. Instead, run usepackage[german]babel
or, better still, usepackage[ngerman]babel
.– Mico
1 hour ago
@Mico: You are right (I remembered the command incorrectly): Using
refstepcounter
fixes the complaint, but still it does not fix the problem that the references show the wrong number. On the German package: Will do once the rest works (Thanks!).– U. Windl
14 mins ago
@Mico: You are right (I remembered the command incorrectly): Using
refstepcounter
fixes the complaint, but still it does not fix the problem that the references show the wrong number. On the German package: Will do once the rest works (Thanks!).– U. Windl
14 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482346%2fhow-to-use-refstepcounter-correctly-in-attempt-to-implement-subfigures%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482346%2fhow-to-use-refstepcounter-correctly-in-attempt-to-implement-subfigures%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
I've never heard of
steprefcounter
. Did you mean to writerefstepcounter
?– Mico
2 hours ago
Off-topic: The
german
package is obsolete. Don't load it. Instead, runusepackage[german]babel
or, better still,usepackage[ngerman]babel
.– Mico
1 hour ago
@Mico: You are right (I remembered the command incorrectly): Using
refstepcounter
fixes the complaint, but still it does not fix the problem that the references show the wrong number. On the German package: Will do once the rest works (Thanks!).– U. Windl
14 mins ago