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

Should I file my taxes? No income, unemployed, but paid 2k in student loan interest

Use Mercury as quenching liquid for swords?

direct sum of representation of product groups

Averaging over columns while ignoring zero entries

Was this cameo in Captain Marvel computer generated?

Help! My Character is too much for her story!

Why does a car's steering wheel get lighter with increasing speed

Issue with units for a rocket nozzle throat area problem

What is the purpose of a disclaimer like "this is not legal advice"?

What exactly is the meaning of "fine wine"?

Paper published similar to PhD thesis

After Brexit, will the EU recognize British passports that are valid for more than ten years?

An Undercover Army

How to educate team mate to take screenshots for bugs with out unwanted stuff

Create chunks from an array

Is there a logarithm base for which the logarithm becomes an identity function?

What is the orbit and expected lifetime of Crew Dragon trunk?

Does an unused member variable take up memory?

Where is the License file location for Identity Server in Sitecore 9.1?

ESPP--any reason not to go all in?

Rationale to prefer local variables over instance variables?

How do you make a gun that shoots melee weapons and/or swords?

Should we avoid writing fiction about historical events without extensive research?

School performs periodic password audits. Is my password compromised?



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?













2















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
    52 mins ago
















2















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
    52 mins ago














2












2








2


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 36 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
    52 mins 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
    52 mins 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
52 mins 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
52 mins ago










1 Answer
1






active

oldest

votes


















5














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
    20 mins 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









5














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
    20 mins ago
















5














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
    20 mins ago














5












5








5







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 37 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
    20 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
    20 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
20 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
20 mins 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

Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

Hestehale Innhaldsliste Hestehale på kvinner | Hestehale på menn | Galleri | Sjå òg |...

What is the “three and three hundred thousand syndrome”?Who wrote the book Arena?What five creatures were...