How do you use environments that have the same name within a single LaTeX document?Triangle node with...

Does this video of collapsing warehouse shelves show a real incident?

An alternative proof of an application of Hahn-Banach

Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?

Reversed Sudoku

How many characters using PHB rules does it take to be able to have access to any PHB spell at the start of an adventuring day?

Is "history" a male-biased word ("his+story")?

meaning and function of 幸 in "则幸分我一杯羹"

NASA's RS-25 Engines shut down time

Single word request: Harming the benefactor

PTIJ: wiping amalek’s memory?

Motivation for Zeta Function of an Algebraic Variety

What problems would a superhuman have whose skin is constantly hot?

How is the wildcard * interpreted as a command?

They call me Inspector Morse

Word for a person who has no opinion about whether god exists

Good for you! in Russian

Accepted offer letter, position changed

Latex does not go to next line

Why does Captain Marvel assume the people on this planet know this?

Reverse string, can I make it faster?

Contract Factories

Definition of Statistic

UART pins to unpowered MCU?

Why does liquid water form when we exhale on a mirror?



How do you use environments that have the same name within a single LaTeX document?


Triangle node with adjustable heightSpecifying the depth of a binary tree on the sideWhy am I having this problem with exam class and the package newicktree?Scheme Proof TreeForest tree convergingAdding caption to a prooftreeTikz: Connect multiple edges to one side of a rectangle nodehow do I display very large proof trees (bussproofs, ebproofs, tikz's tree library)prooftrees tree nodes on different lineAdding shade to bussproofs' proof trees?













3















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?










share|improve this question

























  • 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
    2 days ago
















3















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?










share|improve this question

























  • 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
    2 days ago














3












3








3


0






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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Peter Mortensen

53737




53737










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
    2 days 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
    2 days 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
2 days 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
2 days ago










1 Answer
1






active

oldest

votes


















10














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}


output of code






share|improve this answer
























  • 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
    2 days ago






  • 1





    Is your distribution up to date? This is part of prooftrees.

    – Alan Munn
    2 days ago






  • 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
    2 days ago






  • 1





    Updating MacTeX resolved the issue.

    – objectivesea
    2 days ago











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
});


}
});














draft saved

draft discarded


















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









10














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}


output of code






share|improve this answer
























  • 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
    2 days ago






  • 1





    Is your distribution up to date? This is part of prooftrees.

    – Alan Munn
    2 days ago






  • 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
    2 days ago






  • 1





    Updating MacTeX resolved the issue.

    – objectivesea
    2 days ago
















10














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}


output of code






share|improve this answer
























  • 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
    2 days ago






  • 1





    Is your distribution up to date? This is part of prooftrees.

    – Alan Munn
    2 days ago






  • 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
    2 days ago






  • 1





    Updating MacTeX resolved the issue.

    – objectivesea
    2 days ago














10












10








10







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}


output of code






share|improve this answer













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}


output of code







share|improve this answer












share|improve this answer



share|improve this answer










answered 2 days ago









Alan MunnAlan Munn

162k28432708




162k28432708













  • 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
    2 days ago






  • 1





    Is your distribution up to date? This is part of prooftrees.

    – Alan Munn
    2 days ago






  • 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
    2 days ago






  • 1





    Updating MacTeX resolved the issue.

    – objectivesea
    2 days 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
    2 days ago






  • 1





    Is your distribution up to date? This is part of prooftrees.

    – Alan Munn
    2 days ago






  • 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
    2 days ago






  • 1





    Updating MacTeX resolved the issue.

    – objectivesea
    2 days 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
2 days 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
2 days ago




1




1





Is your distribution up to date? This is part of prooftrees.

– Alan Munn
2 days ago





Is your distribution up to date? This is part of prooftrees.

– Alan Munn
2 days ago




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
2 days ago





@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
2 days ago




1




1





Updating MacTeX resolved the issue.

– objectivesea
2 days ago





Updating MacTeX resolved the issue.

– objectivesea
2 days ago


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Nidaros erkebispedøme

Birsay

Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?