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
Mar 9 at 4:59
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 Mar 10 at 3:20
Peter Mortensen
54837
54837
asked Mar 9 at 4:24
objectiveseaobjectivesea
20327
20327
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
Mar 9 at 4:59
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
Mar 9 at 4:59
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
Mar 9 at 4:59
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
Mar 9 at 4:59
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
Mar 9 at 5:32
1
Is your distribution up to date? This is part ofprooftrees
.
– Alan Munn
Mar 9 at 6:13
1
@objectivesea - Which TeX distribution do you employ, and when did you last update it and all LaTeX packages? The current version ofprooftrees
is v. 0.6, dated 2017/02/09. Thebussproof
package was last updated in 2011.
– Mico
Mar 9 at 6:16
1
Updating MacTeX resolved the issue.
– objectivesea
Mar 9 at 16:22
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
Mar 9 at 5:32
1
Is your distribution up to date? This is part ofprooftrees
.
– Alan Munn
Mar 9 at 6:13
1
@objectivesea - Which TeX distribution do you employ, and when did you last update it and all LaTeX packages? The current version ofprooftrees
is v. 0.6, dated 2017/02/09. Thebussproof
package was last updated in 2011.
– Mico
Mar 9 at 6:16
1
Updating MacTeX resolved the issue.
– objectivesea
Mar 9 at 16:22
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
Mar 9 at 5:32
1
Is your distribution up to date? This is part ofprooftrees
.
– Alan Munn
Mar 9 at 6:13
1
@objectivesea - Which TeX distribution do you employ, and when did you last update it and all LaTeX packages? The current version ofprooftrees
is v. 0.6, dated 2017/02/09. Thebussproof
package was last updated in 2011.
– Mico
Mar 9 at 6:16
1
Updating MacTeX resolved the issue.
– objectivesea
Mar 9 at 16:22
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 Mar 9 at 5:14
Alan MunnAlan Munn
163k28433713
163k28433713
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
Mar 9 at 5:32
1
Is your distribution up to date? This is part ofprooftrees
.
– Alan Munn
Mar 9 at 6:13
1
@objectivesea - Which TeX distribution do you employ, and when did you last update it and all LaTeX packages? The current version ofprooftrees
is v. 0.6, dated 2017/02/09. Thebussproof
package was last updated in 2011.
– Mico
Mar 9 at 6:16
1
Updating MacTeX resolved the issue.
– objectivesea
Mar 9 at 16:22
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
Mar 9 at 5:32
1
Is your distribution up to date? This is part ofprooftrees
.
– Alan Munn
Mar 9 at 6:13
1
@objectivesea - Which TeX distribution do you employ, and when did you last update it and all LaTeX packages? The current version ofprooftrees
is v. 0.6, dated 2017/02/09. Thebussproof
package was last updated in 2011.
– Mico
Mar 9 at 6:16
1
Updating MacTeX resolved the issue.
– objectivesea
Mar 9 at 16:22
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
Mar 9 at 5:32
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
Mar 9 at 5:32
1
1
Is your distribution up to date? This is part of
prooftrees
.– Alan Munn
Mar 9 at 6:13
Is your distribution up to date? This is part of
prooftrees
.– Alan Munn
Mar 9 at 6:13
1
1
@objectivesea - Which TeX distribution do you employ, and when did you last update it and all LaTeX packages? The current version of
prooftrees
is v. 0.6, dated 2017/02/09. The bussproof
package was last updated in 2011.– Mico
Mar 9 at 6:16
@objectivesea - Which TeX distribution do you employ, and when did you last update it and all LaTeX packages? The current version of
prooftrees
is v. 0.6, dated 2017/02/09. The bussproof
package was last updated in 2011.– Mico
Mar 9 at 6:16
1
1
Updating MacTeX resolved the issue.
– objectivesea
Mar 9 at 16:22
Updating MacTeX resolved the issue.
– objectivesea
Mar 9 at 16:22
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
Mar 9 at 4:59