Use showlabel package with newcommand loadnote
up vote
0
down vote
favorite
Inside my main.tex
I inserted a function called loadnote
which refers to an external file notepie.tex
in which are considered the footnotes (with reference to this discussion) .
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
I have repeatedly the following error :
Latexmk: Summary of warnings from last run of (pdf)latex: Latex found
3 multiply defined reference(s)
and in the search discovered a convenient package usepackage{showlabels}
that allows viewing the position of footnotes and references to equations.
I would like to understand if it was possible to implement the changes regarding the footed notes written with the command loadnote{}
.
for example :
1.file notepie.tex:
documentclass[8pt]{article}
begin{document}
%<*notes004>
footnote{La mia footnotes è questa.}
%</notes004>
end{document}
2.in the main.tex file :
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
the loadnote
is not a label
, I would like to know if it is possible to implement something to make sure that the lateral reference to the note is highlighted
thanks very much :)
footnotes labels showlabels
add a comment |
up vote
0
down vote
favorite
Inside my main.tex
I inserted a function called loadnote
which refers to an external file notepie.tex
in which are considered the footnotes (with reference to this discussion) .
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
I have repeatedly the following error :
Latexmk: Summary of warnings from last run of (pdf)latex: Latex found
3 multiply defined reference(s)
and in the search discovered a convenient package usepackage{showlabels}
that allows viewing the position of footnotes and references to equations.
I would like to understand if it was possible to implement the changes regarding the footed notes written with the command loadnote{}
.
for example :
1.file notepie.tex:
documentclass[8pt]{article}
begin{document}
%<*notes004>
footnote{La mia footnotes è questa.}
%</notes004>
end{document}
2.in the main.tex file :
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
the loadnote
is not a label
, I would like to know if it is possible to implement something to make sure that the lateral reference to the note is highlighted
thanks very much :)
footnotes labels showlabels
1
yes probably you just needSK@def loadnote
something.... A small test document showing loadnote use would help answer the quesion
– David Carlisle
2 days ago
@DavidCarlisle if I enterSK@def
, I have many errors and the file is not compiled
– Antonio
2 days ago
that's what I meant by "something". showlabels lets you useSK@def
to hook into existing commands but the details depend on the command. you needSK@defloadnote#1{.....}
where a small test file would help test what the .... has to be. (I see you added one thanks, I'll look in a bit)
– David Carlisle
2 days ago
@DavidCarlisle I do not understand how to insertSK@def
, in the commandnewcommand{loadnote}[1]{% ExecuteMetaData[notepie.tex]{notes#1}% }
, because if I insert, I get errors.
– Antonio
2 days ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Inside my main.tex
I inserted a function called loadnote
which refers to an external file notepie.tex
in which are considered the footnotes (with reference to this discussion) .
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
I have repeatedly the following error :
Latexmk: Summary of warnings from last run of (pdf)latex: Latex found
3 multiply defined reference(s)
and in the search discovered a convenient package usepackage{showlabels}
that allows viewing the position of footnotes and references to equations.
I would like to understand if it was possible to implement the changes regarding the footed notes written with the command loadnote{}
.
for example :
1.file notepie.tex:
documentclass[8pt]{article}
begin{document}
%<*notes004>
footnote{La mia footnotes è questa.}
%</notes004>
end{document}
2.in the main.tex file :
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
the loadnote
is not a label
, I would like to know if it is possible to implement something to make sure that the lateral reference to the note is highlighted
thanks very much :)
footnotes labels showlabels
Inside my main.tex
I inserted a function called loadnote
which refers to an external file notepie.tex
in which are considered the footnotes (with reference to this discussion) .
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
I have repeatedly the following error :
Latexmk: Summary of warnings from last run of (pdf)latex: Latex found
3 multiply defined reference(s)
and in the search discovered a convenient package usepackage{showlabels}
that allows viewing the position of footnotes and references to equations.
I would like to understand if it was possible to implement the changes regarding the footed notes written with the command loadnote{}
.
for example :
1.file notepie.tex:
documentclass[8pt]{article}
begin{document}
%<*notes004>
footnote{La mia footnotes è questa.}
%</notes004>
end{document}
2.in the main.tex file :
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
the loadnote
is not a label
, I would like to know if it is possible to implement something to make sure that the lateral reference to the note is highlighted
thanks very much :)
footnotes labels showlabels
footnotes labels showlabels
edited 2 days ago
David Carlisle
476k3811061840
476k3811061840
asked 2 days ago
Antonio
11710
11710
1
yes probably you just needSK@def loadnote
something.... A small test document showing loadnote use would help answer the quesion
– David Carlisle
2 days ago
@DavidCarlisle if I enterSK@def
, I have many errors and the file is not compiled
– Antonio
2 days ago
that's what I meant by "something". showlabels lets you useSK@def
to hook into existing commands but the details depend on the command. you needSK@defloadnote#1{.....}
where a small test file would help test what the .... has to be. (I see you added one thanks, I'll look in a bit)
– David Carlisle
2 days ago
@DavidCarlisle I do not understand how to insertSK@def
, in the commandnewcommand{loadnote}[1]{% ExecuteMetaData[notepie.tex]{notes#1}% }
, because if I insert, I get errors.
– Antonio
2 days ago
add a comment |
1
yes probably you just needSK@def loadnote
something.... A small test document showing loadnote use would help answer the quesion
– David Carlisle
2 days ago
@DavidCarlisle if I enterSK@def
, I have many errors and the file is not compiled
– Antonio
2 days ago
that's what I meant by "something". showlabels lets you useSK@def
to hook into existing commands but the details depend on the command. you needSK@defloadnote#1{.....}
where a small test file would help test what the .... has to be. (I see you added one thanks, I'll look in a bit)
– David Carlisle
2 days ago
@DavidCarlisle I do not understand how to insertSK@def
, in the commandnewcommand{loadnote}[1]{% ExecuteMetaData[notepie.tex]{notes#1}% }
, because if I insert, I get errors.
– Antonio
2 days ago
1
1
yes probably you just need
SK@def loadnote
something.... A small test document showing loadnote use would help answer the quesion– David Carlisle
2 days ago
yes probably you just need
SK@def loadnote
something.... A small test document showing loadnote use would help answer the quesion– David Carlisle
2 days ago
@DavidCarlisle if I enter
SK@def
, I have many errors and the file is not compiled– Antonio
2 days ago
@DavidCarlisle if I enter
SK@def
, I have many errors and the file is not compiled– Antonio
2 days ago
that's what I meant by "something". showlabels lets you use
SK@def
to hook into existing commands but the details depend on the command. you need SK@defloadnote#1{.....}
where a small test file would help test what the .... has to be. (I see you added one thanks, I'll look in a bit)– David Carlisle
2 days ago
that's what I meant by "something". showlabels lets you use
SK@def
to hook into existing commands but the details depend on the command. you need SK@defloadnote#1{.....}
where a small test file would help test what the .... has to be. (I see you added one thanks, I'll look in a bit)– David Carlisle
2 days ago
@DavidCarlisle I do not understand how to insert
SK@def
, in the command newcommand{loadnote}[1]{% ExecuteMetaData[notepie.tex]{notes#1}% }
, because if I insert, I get errors.– Antonio
2 days ago
@DavidCarlisle I do not understand how to insert
SK@def
, in the command newcommand{loadnote}[1]{% ExecuteMetaData[notepie.tex]{notes#1}% }
, because if I insert, I get errors.– Antonio
2 days ago
add a comment |
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
This just hooks the ref
showkeys
styling on to loadnote
documentclass{article}
usepackage{showkeys}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
makeatletter
SK@defloadnote#1{SK@SK@@ref{#1}SK@loadnote{#1}}%
makeatother
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
the solution is excellent and very useful when mentioning the quations of which I often forget the position. I will have to read about this package. I am too new to latex and I often encounter difficulties in apparently trivial aspects
– Antonio
2 days ago
add a comment |
up vote
1
down vote
Another possibility is to use the showlabels
command of the showlabels
package (which is a distinct package from showkeys
):
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
X#1X% ExecuteMetaData[notepie.tex]{notes#1}%
}
usepackage{showlabels}
showlabels{loadnote} % handle loadnote like label
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
Example output below.
Thanks. never stop learning. also your solution is very interesting and I find it very tidy.
– Antonio
17 hours ago
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
This just hooks the ref
showkeys
styling on to loadnote
documentclass{article}
usepackage{showkeys}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
makeatletter
SK@defloadnote#1{SK@SK@@ref{#1}SK@loadnote{#1}}%
makeatother
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
the solution is excellent and very useful when mentioning the quations of which I often forget the position. I will have to read about this package. I am too new to latex and I often encounter difficulties in apparently trivial aspects
– Antonio
2 days ago
add a comment |
up vote
2
down vote
accepted
This just hooks the ref
showkeys
styling on to loadnote
documentclass{article}
usepackage{showkeys}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
makeatletter
SK@defloadnote#1{SK@SK@@ref{#1}SK@loadnote{#1}}%
makeatother
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
the solution is excellent and very useful when mentioning the quations of which I often forget the position. I will have to read about this package. I am too new to latex and I often encounter difficulties in apparently trivial aspects
– Antonio
2 days ago
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
This just hooks the ref
showkeys
styling on to loadnote
documentclass{article}
usepackage{showkeys}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
makeatletter
SK@defloadnote#1{SK@SK@@ref{#1}SK@loadnote{#1}}%
makeatother
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
This just hooks the ref
showkeys
styling on to loadnote
documentclass{article}
usepackage{showkeys}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
ExecuteMetaData[notepie.tex]{notes#1}%
}
makeatletter
SK@defloadnote#1{SK@SK@@ref{#1}SK@loadnote{#1}}%
makeatother
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
answered 2 days ago
David Carlisle
476k3811061840
476k3811061840
the solution is excellent and very useful when mentioning the quations of which I often forget the position. I will have to read about this package. I am too new to latex and I often encounter difficulties in apparently trivial aspects
– Antonio
2 days ago
add a comment |
the solution is excellent and very useful when mentioning the quations of which I often forget the position. I will have to read about this package. I am too new to latex and I often encounter difficulties in apparently trivial aspects
– Antonio
2 days ago
the solution is excellent and very useful when mentioning the quations of which I often forget the position. I will have to read about this package. I am too new to latex and I often encounter difficulties in apparently trivial aspects
– Antonio
2 days ago
the solution is excellent and very useful when mentioning the quations of which I often forget the position. I will have to read about this package. I am too new to latex and I often encounter difficulties in apparently trivial aspects
– Antonio
2 days ago
add a comment |
up vote
1
down vote
Another possibility is to use the showlabels
command of the showlabels
package (which is a distinct package from showkeys
):
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
X#1X% ExecuteMetaData[notepie.tex]{notes#1}%
}
usepackage{showlabels}
showlabels{loadnote} % handle loadnote like label
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
Example output below.
Thanks. never stop learning. also your solution is very interesting and I find it very tidy.
– Antonio
17 hours ago
add a comment |
up vote
1
down vote
Another possibility is to use the showlabels
command of the showlabels
package (which is a distinct package from showkeys
):
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
X#1X% ExecuteMetaData[notepie.tex]{notes#1}%
}
usepackage{showlabels}
showlabels{loadnote} % handle loadnote like label
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
Example output below.
Thanks. never stop learning. also your solution is very interesting and I find it very tidy.
– Antonio
17 hours ago
add a comment |
up vote
1
down vote
up vote
1
down vote
Another possibility is to use the showlabels
command of the showlabels
package (which is a distinct package from showkeys
):
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
X#1X% ExecuteMetaData[notepie.tex]{notes#1}%
}
usepackage{showlabels}
showlabels{loadnote} % handle loadnote like label
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
Example output below.
Another possibility is to use the showlabels
command of the showlabels
package (which is a distinct package from showkeys
):
documentclass{article}
usepackage{catchfilebetweentags}
newcommand{loadnote}[1]{%
X#1X% ExecuteMetaData[notepie.tex]{notes#1}%
}
usepackage{showlabels}
showlabels{loadnote} % handle loadnote like label
begin{document}
Se ho necessità di riferirmi ad una notaloadnote{004},mentre la mia
equazione : $tau = mu,dot{theta}{t}$label{eq080}
end{document}
Example output below.
answered 18 hours ago
Norman Gray
5,51111929
5,51111929
Thanks. never stop learning. also your solution is very interesting and I find it very tidy.
– Antonio
17 hours ago
add a comment |
Thanks. never stop learning. also your solution is very interesting and I find it very tidy.
– Antonio
17 hours ago
Thanks. never stop learning. also your solution is very interesting and I find it very tidy.
– Antonio
17 hours ago
Thanks. never stop learning. also your solution is very interesting and I find it very tidy.
– Antonio
17 hours ago
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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%2f460265%2fuse-showlabel-package-with-newcommand-loadnote%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');
});
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');
});
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');
});
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
1
yes probably you just need
SK@def loadnote
something.... A small test document showing loadnote use would help answer the quesion– David Carlisle
2 days ago
@DavidCarlisle if I enter
SK@def
, I have many errors and the file is not compiled– Antonio
2 days ago
that's what I meant by "something". showlabels lets you use
SK@def
to hook into existing commands but the details depend on the command. you needSK@defloadnote#1{.....}
where a small test file would help test what the .... has to be. (I see you added one thanks, I'll look in a bit)– David Carlisle
2 days ago
@DavidCarlisle I do not understand how to insert
SK@def
, in the commandnewcommand{loadnote}[1]{% ExecuteMetaData[notepie.tex]{notes#1}% }
, because if I insert, I get errors.– Antonio
2 days ago