How do you use environments that have the same name within a single latex document?
I'm trying to typeset some proof tree exercises. But I need to use the prooftree
environment from the bussproofs
package, as well as the prooftree
environment from the prooftrees
package. Is there a way I can rename one of these so that they are both usable within a single document?
trees bussproofs prooftrees
add a comment |
I'm trying to typeset some proof tree exercises. But I need to use the prooftree
environment from the bussproofs
package, as well as the prooftree
environment from the prooftrees
package. Is there a way I can rename one of these so that they are both usable within a single document?
trees bussproofs prooftrees
Since these kind of environments are not used too often (at least I haven't see any) it would be nice from you to provide a minimal non working example with code for both and let as try to do the job needed just for your request and not all the search needed from someone that doesn't use these packages...
– koleygr
1 hour ago
add a comment |
I'm trying to typeset some proof tree exercises. But I need to use the prooftree
environment from the bussproofs
package, as well as the prooftree
environment from the prooftrees
package. Is there a way I can rename one of these so that they are both usable within a single document?
trees bussproofs prooftrees
I'm trying to typeset some proof tree exercises. But I need to use the prooftree
environment from the bussproofs
package, as well as the prooftree
environment from the prooftrees
package. Is there a way I can rename one of these so that they are both usable within a single document?
trees bussproofs prooftrees
trees bussproofs prooftrees
edited 51 mins ago
Alan Munn
162k28431706
162k28431706
asked 1 hour ago
objectiveseaobjectivesea
19817
19817
Since these kind of environments are not used too often (at least I haven't see any) it would be nice from you to provide a minimal non working example with code for both and let as try to do the job needed just for your request and not all the search needed from someone that doesn't use these packages...
– koleygr
1 hour ago
add a comment |
Since these kind of environments are not used too often (at least I haven't see any) it would be nice from you to provide a minimal non working example with code for both and let as try to do the job needed just for your request and not all the search needed from someone that doesn't use these packages...
– koleygr
1 hour ago
Since these kind of environments are not used too often (at least I haven't see any) it would be nice from you to provide a minimal non working example with code for both and let as try to do the job needed just for your request and not all the search needed from someone that doesn't use these packages...
– koleygr
1 hour ago
Since these kind of environments are not used too often (at least I haven't see any) it would be nice from you to provide a minimal non working example with code for both and let as try to do the job needed just for your request and not all the search needed from someone that doesn't use these packages...
– koleygr
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
As explained in the prooftrees
documentation, you can use the environment tableau
instead of prooftree
if you load the prooftrees
package with the tableaux
option. This allows you to use both bussproofs
and prooftrees
together.
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
Here's a full example:
documentclass{article}
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
begin{document}
begin{prooftree}
AxiomC{$A lor B$}
AxiomC{[$A$]}
noLine
UnaryInfC{$C$}
AxiomC{[$B$]}
noLine
UnaryInfC{$C$}
TrinaryInfC{$C$}
end{prooftree}
begin{tableau}
{
to prove=neg(a vee b) vee ((a vee b) vee b)
}
[{(a vee b) vee ((a vee b) vee b)}, just = 1
[{neg (a vee b)}, just = 2
[{a,b},just=3,close={4}
]
]
[{(a vee b) vee b}
[{a vee b}
]
[{b}
]
]
]
end{tableau}
end{document}
When I try to compile this, I get the following error: File `forest-lib-tableaux.sty' not found. This file doesn't appear to be in either the forest package or the prooftrees package. Do you know how to resolve that error?
– objectivesea
35 mins ago
add a comment |
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%2f478531%2fhow-do-you-use-environments-that-have-the-same-name-within-a-single-latex-docume%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As explained in the prooftrees
documentation, you can use the environment tableau
instead of prooftree
if you load the prooftrees
package with the tableaux
option. This allows you to use both bussproofs
and prooftrees
together.
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
Here's a full example:
documentclass{article}
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
begin{document}
begin{prooftree}
AxiomC{$A lor B$}
AxiomC{[$A$]}
noLine
UnaryInfC{$C$}
AxiomC{[$B$]}
noLine
UnaryInfC{$C$}
TrinaryInfC{$C$}
end{prooftree}
begin{tableau}
{
to prove=neg(a vee b) vee ((a vee b) vee b)
}
[{(a vee b) vee ((a vee b) vee b)}, just = 1
[{neg (a vee b)}, just = 2
[{a,b},just=3,close={4}
]
]
[{(a vee b) vee b}
[{a vee b}
]
[{b}
]
]
]
end{tableau}
end{document}
When I try to compile this, I get the following error: File `forest-lib-tableaux.sty' not found. This file doesn't appear to be in either the forest package or the prooftrees package. Do you know how to resolve that error?
– objectivesea
35 mins ago
add a comment |
As explained in the prooftrees
documentation, you can use the environment tableau
instead of prooftree
if you load the prooftrees
package with the tableaux
option. This allows you to use both bussproofs
and prooftrees
together.
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
Here's a full example:
documentclass{article}
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
begin{document}
begin{prooftree}
AxiomC{$A lor B$}
AxiomC{[$A$]}
noLine
UnaryInfC{$C$}
AxiomC{[$B$]}
noLine
UnaryInfC{$C$}
TrinaryInfC{$C$}
end{prooftree}
begin{tableau}
{
to prove=neg(a vee b) vee ((a vee b) vee b)
}
[{(a vee b) vee ((a vee b) vee b)}, just = 1
[{neg (a vee b)}, just = 2
[{a,b},just=3,close={4}
]
]
[{(a vee b) vee b}
[{a vee b}
]
[{b}
]
]
]
end{tableau}
end{document}
When I try to compile this, I get the following error: File `forest-lib-tableaux.sty' not found. This file doesn't appear to be in either the forest package or the prooftrees package. Do you know how to resolve that error?
– objectivesea
35 mins ago
add a comment |
As explained in the prooftrees
documentation, you can use the environment tableau
instead of prooftree
if you load the prooftrees
package with the tableaux
option. This allows you to use both bussproofs
and prooftrees
together.
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
Here's a full example:
documentclass{article}
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
begin{document}
begin{prooftree}
AxiomC{$A lor B$}
AxiomC{[$A$]}
noLine
UnaryInfC{$C$}
AxiomC{[$B$]}
noLine
UnaryInfC{$C$}
TrinaryInfC{$C$}
end{prooftree}
begin{tableau}
{
to prove=neg(a vee b) vee ((a vee b) vee b)
}
[{(a vee b) vee ((a vee b) vee b)}, just = 1
[{neg (a vee b)}, just = 2
[{a,b},just=3,close={4}
]
]
[{(a vee b) vee b}
[{a vee b}
]
[{b}
]
]
]
end{tableau}
end{document}
As explained in the prooftrees
documentation, you can use the environment tableau
instead of prooftree
if you load the prooftrees
package with the tableaux
option. This allows you to use both bussproofs
and prooftrees
together.
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
Here's a full example:
documentclass{article}
usepackage[tableaux]{prooftrees}
usepackage{bussproofs}
begin{document}
begin{prooftree}
AxiomC{$A lor B$}
AxiomC{[$A$]}
noLine
UnaryInfC{$C$}
AxiomC{[$B$]}
noLine
UnaryInfC{$C$}
TrinaryInfC{$C$}
end{prooftree}
begin{tableau}
{
to prove=neg(a vee b) vee ((a vee b) vee b)
}
[{(a vee b) vee ((a vee b) vee b)}, just = 1
[{neg (a vee b)}, just = 2
[{a,b},just=3,close={4}
]
]
[{(a vee b) vee b}
[{a vee b}
]
[{b}
]
]
]
end{tableau}
end{document}
answered 52 mins ago
Alan MunnAlan Munn
162k28431706
162k28431706
When I try to compile this, I get the following error: File `forest-lib-tableaux.sty' not found. This file doesn't appear to be in either the forest package or the prooftrees package. Do you know how to resolve that error?
– objectivesea
35 mins ago
add a comment |
When I try to compile this, I get the following error: File `forest-lib-tableaux.sty' not found. This file doesn't appear to be in either the forest package or the prooftrees package. Do you know how to resolve that error?
– objectivesea
35 mins ago
When I try to compile this, I get the following error: File `forest-lib-tableaux.sty' not found. This file doesn't appear to be in either the forest package or the prooftrees package. Do you know how to resolve that error?
– objectivesea
35 mins ago
When I try to compile this, I get the following error: File `forest-lib-tableaux.sty' not found. This file doesn't appear to be in either the forest package or the prooftrees package. Do you know how to resolve that error?
– objectivesea
35 mins ago
add a comment |
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%2f478531%2fhow-do-you-use-environments-that-have-the-same-name-within-a-single-latex-docume%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
Since these kind of environments are not used too often (at least I haven't see any) it would be nice from you to provide a minimal non working example with code for both and let as try to do the job needed just for your request and not all the search needed from someone that doesn't use these packages...
– koleygr
1 hour ago