Problems with an automatic theorem listAutomatic theorem listreference amsthm theorem with item list...
How come there are so many candidates for the 2020 Democratic party presidential nomination?
Is there really no use for MD5 anymore?
Sci fi novel series with instant travel between planets through gates. A river runs through the gates
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
How to solve constants out of the internal energy equation?
Will tsunami waves travel forever if there was no land?
What happened to Captain America in Endgame?
Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?
Realistic Necromancy?
Why do Computer Science majors learn Calculus?
How do I reattach a shelf to the wall when it ripped out of the wall?
How did Captain America manage to do this?
Packing rectangles: Does rotation ever help?
Contradiction proof for inequality of P and NP?
What is the relationship between spectral sequences and obstruction theory?
Noun clause (singular all the time?)
Does a semiconductor follow Ohm's law?
Binary Numbers Magic Trick
Pass By Reference VS Pass by Value
How to make a pipeline wait for end-of-file or stop after an error?
How to reduce LED flash rate (frequency)
How can the Zone of Truth spell be defeated without the caster knowing?
Using a Lyapunov function to classify stability and sketching a phase portrait
how to sum variables from file in bash
Problems with an automatic theorem list
Automatic theorem listreference amsthm theorem with item list insideTheorem Style (like 1.1 Theorem)Alternative theorem styles with amsthm package?Transforming a list with xparsesiunitx: Problems with xparse after update on 2016-03-31Writing theorem conditions with automatic numbering and labelsVersioning Theorem numbers with amsthmAutomatic theorem listAutomatic newpage before every theoremAutomatic date in personal journal
I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.
I've been trying to fix this for quite sometime but without success. Here's the code:
documentclass{book}
usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
% ---------------------------
hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
%
ExplSyntaxOn
%
NewDocumentCommand{newtheoremx}{momo}
{
IfValueTF{#2}
{
newtheorem{#1@inner}[#2@inner]{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}[#2@inner]{#3}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
}
{
IfValueTF{#4}
{
newtheorem{#1@inner}{#3}[#4]
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}[#4]
}
{
newtheorem{#1@inner}{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}
}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
}
NewEnviron{#1}[1][]
{
tl_if_empty:nTF { ##1 }
{ begin{#1@inner} }
{ begin{#1@inner}[##1] }
label{#3thechapter.arabic{#1@inner}}
tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
BODY
end{#1@inner}
seq_gput_right:Nx g_riccardo_theorems_seq
{
{ #1 }
{ g__riccardo_theorems_number_tl }
{ exp_not:n { ##1 } }
{ exp_not:V BODY }
{ thechapter }
}
}
AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
counterwithin{equation}{#1@inner}
counterwithin{footnote}{#1@inner}
theoremstyle{mytheorem}
}
%
prop_new:N g_riccardo_theorems_prop
seq_new:N g_riccardo_theorems_seq
tl_new:N g__riccardo_theorems_number_tl
iow_new:N g_riccardo_theorems_stream
seq_new:N g_riccardo_theorems_counters_seq
NewDocumentCommand{printtheorems}{}
{
group_begin:
cs_set_eq:NN label use_none:n
file_if_exist_input:n { c_sys_jobname_str.thm }
group_end:
seq_map_inline:Nn g_riccardo_theorems_counters_seq
{
setcounter{##1@inner}{0}
}
newpage
}
%
cs_new_protected:Nn riccardo_theorems_save:
{
seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
}
cs_new_protected:Nn __riccardo_theorems_save:n
{
iow_now:Nn g_riccardo_theorems_stream
{
savedtheorem #1
}
}
AtEndDocument
{
iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
riccardo_theorems_save:
iow_close:N g_riccardo_theorems_stream
}
%
NewDocumentCommand{savedtheorem}{mmmmm}
{
cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
int_compare:nNnT {thechapter} = {#5} {
tl_if_empty:nTF { #3 }
{
begin{#1@innerlinked} #4 end{#1@innerlinked}
}
{
begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
}
}
}
%
ExplSyntaxOff
% ---------------------------
newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
theoremstyle{mytheorem}
%
newtheoremx{thm}{Theorem}[chapter]
newtheoremx{lemma}[thm]{Lemma}
%
renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
%
counterwithout{equation}{chapter}
counterwithout{footnote}{chapter}
% --------------------------------
begin{document}
%
chapter{A test chapter}
begin{thm}
A very important theorem è.
end{thm}
begin{lemma}
A very important lemma.
end{lemma}
begin{thm}
Another theorem.
end{thm}
%
end{document}
I think the main problem is that lemma@inner
doesn't get recognised as a counter for the lemma environment, which causes the code to fail.
expl3 amsthm xparse
add a comment |
I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.
I've been trying to fix this for quite sometime but without success. Here's the code:
documentclass{book}
usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
% ---------------------------
hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
%
ExplSyntaxOn
%
NewDocumentCommand{newtheoremx}{momo}
{
IfValueTF{#2}
{
newtheorem{#1@inner}[#2@inner]{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}[#2@inner]{#3}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
}
{
IfValueTF{#4}
{
newtheorem{#1@inner}{#3}[#4]
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}[#4]
}
{
newtheorem{#1@inner}{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}
}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
}
NewEnviron{#1}[1][]
{
tl_if_empty:nTF { ##1 }
{ begin{#1@inner} }
{ begin{#1@inner}[##1] }
label{#3thechapter.arabic{#1@inner}}
tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
BODY
end{#1@inner}
seq_gput_right:Nx g_riccardo_theorems_seq
{
{ #1 }
{ g__riccardo_theorems_number_tl }
{ exp_not:n { ##1 } }
{ exp_not:V BODY }
{ thechapter }
}
}
AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
counterwithin{equation}{#1@inner}
counterwithin{footnote}{#1@inner}
theoremstyle{mytheorem}
}
%
prop_new:N g_riccardo_theorems_prop
seq_new:N g_riccardo_theorems_seq
tl_new:N g__riccardo_theorems_number_tl
iow_new:N g_riccardo_theorems_stream
seq_new:N g_riccardo_theorems_counters_seq
NewDocumentCommand{printtheorems}{}
{
group_begin:
cs_set_eq:NN label use_none:n
file_if_exist_input:n { c_sys_jobname_str.thm }
group_end:
seq_map_inline:Nn g_riccardo_theorems_counters_seq
{
setcounter{##1@inner}{0}
}
newpage
}
%
cs_new_protected:Nn riccardo_theorems_save:
{
seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
}
cs_new_protected:Nn __riccardo_theorems_save:n
{
iow_now:Nn g_riccardo_theorems_stream
{
savedtheorem #1
}
}
AtEndDocument
{
iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
riccardo_theorems_save:
iow_close:N g_riccardo_theorems_stream
}
%
NewDocumentCommand{savedtheorem}{mmmmm}
{
cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
int_compare:nNnT {thechapter} = {#5} {
tl_if_empty:nTF { #3 }
{
begin{#1@innerlinked} #4 end{#1@innerlinked}
}
{
begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
}
}
}
%
ExplSyntaxOff
% ---------------------------
newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
theoremstyle{mytheorem}
%
newtheoremx{thm}{Theorem}[chapter]
newtheoremx{lemma}[thm]{Lemma}
%
renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
%
counterwithout{equation}{chapter}
counterwithout{footnote}{chapter}
% --------------------------------
begin{document}
%
chapter{A test chapter}
begin{thm}
A very important theorem è.
end{thm}
begin{lemma}
A very important lemma.
end{lemma}
begin{thm}
Another theorem.
end{thm}
%
end{document}
I think the main problem is that lemma@inner
doesn't get recognised as a counter for the lemma environment, which causes the code to fail.
expl3 amsthm xparse
add a comment |
I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.
I've been trying to fix this for quite sometime but without success. Here's the code:
documentclass{book}
usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
% ---------------------------
hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
%
ExplSyntaxOn
%
NewDocumentCommand{newtheoremx}{momo}
{
IfValueTF{#2}
{
newtheorem{#1@inner}[#2@inner]{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}[#2@inner]{#3}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
}
{
IfValueTF{#4}
{
newtheorem{#1@inner}{#3}[#4]
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}[#4]
}
{
newtheorem{#1@inner}{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}
}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
}
NewEnviron{#1}[1][]
{
tl_if_empty:nTF { ##1 }
{ begin{#1@inner} }
{ begin{#1@inner}[##1] }
label{#3thechapter.arabic{#1@inner}}
tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
BODY
end{#1@inner}
seq_gput_right:Nx g_riccardo_theorems_seq
{
{ #1 }
{ g__riccardo_theorems_number_tl }
{ exp_not:n { ##1 } }
{ exp_not:V BODY }
{ thechapter }
}
}
AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
counterwithin{equation}{#1@inner}
counterwithin{footnote}{#1@inner}
theoremstyle{mytheorem}
}
%
prop_new:N g_riccardo_theorems_prop
seq_new:N g_riccardo_theorems_seq
tl_new:N g__riccardo_theorems_number_tl
iow_new:N g_riccardo_theorems_stream
seq_new:N g_riccardo_theorems_counters_seq
NewDocumentCommand{printtheorems}{}
{
group_begin:
cs_set_eq:NN label use_none:n
file_if_exist_input:n { c_sys_jobname_str.thm }
group_end:
seq_map_inline:Nn g_riccardo_theorems_counters_seq
{
setcounter{##1@inner}{0}
}
newpage
}
%
cs_new_protected:Nn riccardo_theorems_save:
{
seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
}
cs_new_protected:Nn __riccardo_theorems_save:n
{
iow_now:Nn g_riccardo_theorems_stream
{
savedtheorem #1
}
}
AtEndDocument
{
iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
riccardo_theorems_save:
iow_close:N g_riccardo_theorems_stream
}
%
NewDocumentCommand{savedtheorem}{mmmmm}
{
cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
int_compare:nNnT {thechapter} = {#5} {
tl_if_empty:nTF { #3 }
{
begin{#1@innerlinked} #4 end{#1@innerlinked}
}
{
begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
}
}
}
%
ExplSyntaxOff
% ---------------------------
newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
theoremstyle{mytheorem}
%
newtheoremx{thm}{Theorem}[chapter]
newtheoremx{lemma}[thm]{Lemma}
%
renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
%
counterwithout{equation}{chapter}
counterwithout{footnote}{chapter}
% --------------------------------
begin{document}
%
chapter{A test chapter}
begin{thm}
A very important theorem è.
end{thm}
begin{lemma}
A very important lemma.
end{lemma}
begin{thm}
Another theorem.
end{thm}
%
end{document}
I think the main problem is that lemma@inner
doesn't get recognised as a counter for the lemma environment, which causes the code to fail.
expl3 amsthm xparse
I took the code from this thread and modified it a little to fit my personal needs. Everything works fine until I add a second theorem environment, which in the MWE I'm posting is the lemma environment.
I've been trying to fix this for quite sometime but without success. Here's the code:
documentclass{book}
usepackage{amsthm, chngcntr, environ, etoolbox, hyperref, showkeys, xparse}
% ---------------------------
hypersetup{colorlinks, linkcolor=[RGB]{117, 17, 17}, citecolor=[RGB]{0, 0, 0}}
%
ExplSyntaxOn
%
NewDocumentCommand{newtheoremx}{momo}
{
IfValueTF{#2}
{
newtheorem{#1@inner}[#2@inner]{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}[#2@inner]{#3}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #2 }
}
{
IfValueTF{#4}
{
newtheorem{#1@inner}{#3}[#4]
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}[#4]
}
{
newtheorem{#1@inner}{#3}
theoremstyle{linked}
newtheorem{#1@innerlinked}{#3}
}
prop_gput:Nnn g_riccardo_theorems_prop { #1 } { #1 }
seq_gput_right:Nn g_riccardo_theorems_counters_seq { #1 }
}
NewEnviron{#1}[1][]
{
tl_if_empty:nTF { ##1 }
{ begin{#1@inner} }
{ begin{#1@inner}[##1] }
label{#3thechapter.arabic{#1@inner}}
tl_gset:Nx g__riccardo_theorems_number_tl { use:c {@currentlabel} }
BODY
end{#1@inner}
seq_gput_right:Nx g_riccardo_theorems_seq
{
{ #1 }
{ g__riccardo_theorems_number_tl }
{ exp_not:n { ##1 } }
{ exp_not:V BODY }
{ thechapter }
}
}
AtBeginEnvironment{#1}{ifnumarabic{#1@inner}=0 begin{noeqnumber}printtheoremsend{noeqnumber} ficlearpage}
counterwithin{equation}{#1@inner}
counterwithin{footnote}{#1@inner}
theoremstyle{mytheorem}
}
%
prop_new:N g_riccardo_theorems_prop
seq_new:N g_riccardo_theorems_seq
tl_new:N g__riccardo_theorems_number_tl
iow_new:N g_riccardo_theorems_stream
seq_new:N g_riccardo_theorems_counters_seq
NewDocumentCommand{printtheorems}{}
{
group_begin:
cs_set_eq:NN label use_none:n
file_if_exist_input:n { c_sys_jobname_str.thm }
group_end:
seq_map_inline:Nn g_riccardo_theorems_counters_seq
{
setcounter{##1@inner}{0}
}
newpage
}
%
cs_new_protected:Nn riccardo_theorems_save:
{
seq_map_function:NN g_riccardo_theorems_seq __riccardo_theorems_save:n
}
cs_new_protected:Nn __riccardo_theorems_save:n
{
iow_now:Nn g_riccardo_theorems_stream
{
savedtheorem #1
}
}
AtEndDocument
{
iow_open:Nn g_riccardo_theorems_stream { c_sys_jobname_str.thm }
riccardo_theorems_save:
iow_close:N g_riccardo_theorems_stream
}
%
NewDocumentCommand{savedtheorem}{mmmmm}
{
cs_set:cpn { the prop_item:Nn g_riccardo_theorems_prop {#1} @innerlinked } { #2 }
int_compare:nNnT {thechapter} = {#5} {
tl_if_empty:nTF { #3 }
{
begin{#1@innerlinked} #4 end{#1@innerlinked}
}
{
begin{#1@innerlinked}[#3] #4 end{#1@innerlinked}
}
}
}
%
ExplSyntaxOff
% ---------------------------
newtheoremstyle{linked}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{hyperref[thmname{#1}thmnumber{#2}]{thmname{#1}~thmnumber{#2}}~thmnote{normalfont(#3)}}
newtheoremstyle{mytheorem}{0pt}{10pt}{itshape}{}{bfseries}{space}{0pt}{thmname{#1}~thmnumber{#2}~thmnote{normalfont(#3)}}
theoremstyle{mytheorem}
%
newtheoremx{thm}{Theorem}[chapter]
newtheoremx{lemma}[thm]{Lemma}
%
renewenvironment{proof}{pushQED{qed}trivlistitem[hskiplabelsephspace{7pt}textit{Proof.}]mbox{}vspace{2pt}\}{popQED}
newenvironment{noeqnumber}{renewenvironment{equation}{[}{]}}{}
%
counterwithout{equation}{chapter}
counterwithout{footnote}{chapter}
% --------------------------------
begin{document}
%
chapter{A test chapter}
begin{thm}
A very important theorem è.
end{thm}
begin{lemma}
A very important lemma.
end{lemma}
begin{thm}
Another theorem.
end{thm}
%
end{document}
I think the main problem is that lemma@inner
doesn't get recognised as a counter for the lemma environment, which causes the code to fail.
expl3 amsthm xparse
expl3 amsthm xparse
asked 44 mins ago
noibenoibe
586113
586113
add a comment |
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');
});
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%2f488006%2fproblems-with-an-automatic-theorem-list%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');
});
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%2f488006%2fproblems-with-an-automatic-theorem-list%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