How to get the end in algorithm2eEnd word is hidden in algorithm blockalgorithm2e problemRemove “end” in algorithm2eHow to resolve the error: “Missing { inserted.” inside an algorithm2eMissing end statement in algorithm2e environmentIndent the block with the algorithm2e usepackageWrite the else if block with algorithm2eHow to get a “tight” boxed algorithm with the algorithm2e packagealgorithm2e - Undefined control sequence. endHow to show up “end” in algorithm2e?Remove the semicolon at the end of the line (algorithm2e)
Do variables dimensions matter in PID simulation + I want the PID output to be volts?
Has a commercial or military jet bi-plane ever been manufactured?
What was the design of the Macintosh II's MMU replacement?
What was Bran's plan to kill the Night King?
How do LIGO and VIRGO know that a gravitational wave has its origin in a neutron star or a black hole?
Have I damaged my car by attempting to reverse with hand/park brake up?
I'm in your subnets, golfing your code
What is the most remote airport from the center of the city it supposedly serves?
Why did the Apollo 13 crew extend the LM landing gear?
Should homeowners insurance cover the cost of the home?
What to use instead of cling film to wrap pastry
Understanding trademark infringements in a world where many dictionary words are trademarks?
As matter approaches a black hole, does it speed up?
How can I get a job without pushing my family's income into a higher tax bracket?
Does a card have a keyword if it has the same effect as said keyword?
Do you know any research on finding closed forms of recursively-defined sequences?
Formating an equation
What was the first sci-fi story to feature the plot "the humans were the monsters all along"?
Manager is threatening to grade me poorly if I don't complete the project
What are the advantages of luxury car brands like Acura/Lexus over their sibling non-luxury brands Honda/Toyota?
How to safely wipe a USB flash drive
Analysis of count data with percentages
PN junction band gap - equal across all devices?
How to create a variant of a composite rendering?
How to get the end in algorithm2e
End word is hidden in algorithm blockalgorithm2e problemRemove “end” in algorithm2eHow to resolve the error: “Missing { inserted.” inside an algorithm2eMissing end statement in algorithm2e environmentIndent the block with the algorithm2e usepackageWrite the else if block with algorithm2eHow to get a “tight” boxed algorithm with the algorithm2e packagealgorithm2e - Undefined control sequence. endHow to show up “end” in algorithm2e?Remove the semicolon at the end of the line (algorithm2e)
I am using algorithm2e to typeset an algorithm. I like the appearance of the following, but I am not able to get the end to close the `
begin
`. Any way to do this?
documentclassarticle
usepackage[longend,ruled,vlined]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

algorithm2e
add a comment |
I am using algorithm2e to typeset an algorithm. I like the appearance of the following, but I am not able to get the end to close the `
begin
`. Any way to do this?
documentclassarticle
usepackage[longend,ruled,vlined]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

algorithm2e
PlaceSetAlgoLinedat the inception point of your algorithm.
– Mishra S
Mar 30 at 12:53
THanks. Will try that as well.
– ozsu
Mar 30 at 16:29
add a comment |
I am using algorithm2e to typeset an algorithm. I like the appearance of the following, but I am not able to get the end to close the `
begin
`. Any way to do this?
documentclassarticle
usepackage[longend,ruled,vlined]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

algorithm2e
I am using algorithm2e to typeset an algorithm. I like the appearance of the following, but I am not able to get the end to close the `
begin
`. Any way to do this?
documentclassarticle
usepackage[longend,ruled,vlined]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

algorithm2e
algorithm2e
asked Mar 30 at 12:18
ozsuozsu
1,14611127
1,14611127
PlaceSetAlgoLinedat the inception point of your algorithm.
– Mishra S
Mar 30 at 12:53
THanks. Will try that as well.
– ozsu
Mar 30 at 16:29
add a comment |
PlaceSetAlgoLinedat the inception point of your algorithm.
– Mishra S
Mar 30 at 12:53
THanks. Will try that as well.
– ozsu
Mar 30 at 16:29
Place
SetAlgoLined at the inception point of your algorithm.– Mishra S
Mar 30 at 12:53
Place
SetAlgoLined at the inception point of your algorithm.– Mishra S
Mar 30 at 12:53
THanks. Will try that as well.
– ozsu
Mar 30 at 16:29
THanks. Will try that as well.
– ozsu
Mar 30 at 16:29
add a comment |
1 Answer
1
active
oldest
votes
Referring to the answert by @egreg in End word is hidden in algorithm block , the vlined option suppresses the printing of “end”. Just remove the option:
documentclassarticle
usepackage[longend,ruled]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

Thank you. I was hoping I could keep both, but apparently that is not possible.
– ozsu
Mar 30 at 16:02
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%2f482246%2fhow-to-get-the-end-in-algorithm2e%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
Referring to the answert by @egreg in End word is hidden in algorithm block , the vlined option suppresses the printing of “end”. Just remove the option:
documentclassarticle
usepackage[longend,ruled]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

Thank you. I was hoping I could keep both, but apparently that is not possible.
– ozsu
Mar 30 at 16:02
add a comment |
Referring to the answert by @egreg in End word is hidden in algorithm block , the vlined option suppresses the printing of “end”. Just remove the option:
documentclassarticle
usepackage[longend,ruled]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

Thank you. I was hoping I could keep both, but apparently that is not possible.
– ozsu
Mar 30 at 16:02
add a comment |
Referring to the answert by @egreg in End word is hidden in algorithm block , the vlined option suppresses the printing of “end”. Just remove the option:
documentclassarticle
usepackage[longend,ruled]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

Referring to the answert by @egreg in End word is hidden in algorithm block , the vlined option suppresses the printing of “end”. Just remove the option:
documentclassarticle
usepackage[longend,ruled]algorithm2e
begindocument
beginalgorithm
captionPHORIZONTAL Algorithmlabelalg:phorizontal
KwIn$R$: relation; $Pr$: set of simple predicates
KwOut$F_R$: set of horizontal fragments of $R$
Begin
$Pr' leftarrow $COM_MIN($R, Pr$) ;
determine the set $M$ of minterm predicates ;
determine the set $I$ of implications among $p_i in Pr'$ ;
ForEach$m_i in M$
If $m_i$ is contradictory according to $I$$M leftarrow M - m_i$
$F_R = R_i , forall m_i in M$ ;
endalgorithm
enddocument

answered Mar 30 at 12:50
subham sonisubham soni
5,22683190
5,22683190
Thank you. I was hoping I could keep both, but apparently that is not possible.
– ozsu
Mar 30 at 16:02
add a comment |
Thank you. I was hoping I could keep both, but apparently that is not possible.
– ozsu
Mar 30 at 16:02
Thank you. I was hoping I could keep both, but apparently that is not possible.
– ozsu
Mar 30 at 16:02
Thank you. I was hoping I could keep both, but apparently that is not possible.
– ozsu
Mar 30 at 16:02
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%2f482246%2fhow-to-get-the-end-in-algorithm2e%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
Place
SetAlgoLinedat the inception point of your algorithm.– Mishra S
Mar 30 at 12:53
THanks. Will try that as well.
– ozsu
Mar 30 at 16:29