MS Word Equation Editor: vertical bar in subscript / conditional probability notation











up vote
-1
down vote

favorite












(Seems that I don't have enough reputation to make the screenshots being drawn directly...)



I can already write the probability density function (pdf) of two variables like this:



enter image description here



The unprocessed equation code for this is f_(X,Y) (x,y)



But further on, I want to replace the subscript X,Y with X|Y=y to indicate the pdf of a conditional probability.



The equation code f_open X|Y=yclose (x,y), afaik the best option when using the pipe / vertical bar, yields this ugly representation:



enter image description here



So my current workaround is the code f_(XIY=y) (x,y) yields this, when formatting the I as not italic:



enter image description here



Does anyone know of a better way to do this?










share|improve this question









New contributor




Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Could you please include an image of the desired result?
    – Andreas Rejbrand
    Nov 8 at 10:20










  • When I create this formula in Microsoft Word 2010, I don't get the same visual result as you have in your screenshot. I don't get all the space around the equals sign.
    – Andreas Rejbrand
    Nov 8 at 10:23












  • This is an end-user, not a programming question and is therefore off-topic on Stack Overflow. Please ask it in a venue that supports end-user topics such as Super User.
    – Cindy Meister
    Nov 8 at 11:37










  • @CindyMeister Thanks, now I finally get the meaning of the Super User board. So what's the recommended workflow now? Delete here and repost in Super User? I found out the answer btw - the pipe needs escaping using a backslash.
    – Stefan Rickli
    Nov 8 at 20:52










  • @AndreasRejbrand Interesting, I use Word 2016.
    – Stefan Rickli
    Nov 8 at 20:52















up vote
-1
down vote

favorite












(Seems that I don't have enough reputation to make the screenshots being drawn directly...)



I can already write the probability density function (pdf) of two variables like this:



enter image description here



The unprocessed equation code for this is f_(X,Y) (x,y)



But further on, I want to replace the subscript X,Y with X|Y=y to indicate the pdf of a conditional probability.



The equation code f_open X|Y=yclose (x,y), afaik the best option when using the pipe / vertical bar, yields this ugly representation:



enter image description here



So my current workaround is the code f_(XIY=y) (x,y) yields this, when formatting the I as not italic:



enter image description here



Does anyone know of a better way to do this?










share|improve this question









New contributor




Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Could you please include an image of the desired result?
    – Andreas Rejbrand
    Nov 8 at 10:20










  • When I create this formula in Microsoft Word 2010, I don't get the same visual result as you have in your screenshot. I don't get all the space around the equals sign.
    – Andreas Rejbrand
    Nov 8 at 10:23












  • This is an end-user, not a programming question and is therefore off-topic on Stack Overflow. Please ask it in a venue that supports end-user topics such as Super User.
    – Cindy Meister
    Nov 8 at 11:37










  • @CindyMeister Thanks, now I finally get the meaning of the Super User board. So what's the recommended workflow now? Delete here and repost in Super User? I found out the answer btw - the pipe needs escaping using a backslash.
    – Stefan Rickli
    Nov 8 at 20:52










  • @AndreasRejbrand Interesting, I use Word 2016.
    – Stefan Rickli
    Nov 8 at 20:52













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











(Seems that I don't have enough reputation to make the screenshots being drawn directly...)



I can already write the probability density function (pdf) of two variables like this:



enter image description here



The unprocessed equation code for this is f_(X,Y) (x,y)



But further on, I want to replace the subscript X,Y with X|Y=y to indicate the pdf of a conditional probability.



The equation code f_open X|Y=yclose (x,y), afaik the best option when using the pipe / vertical bar, yields this ugly representation:



enter image description here



So my current workaround is the code f_(XIY=y) (x,y) yields this, when formatting the I as not italic:



enter image description here



Does anyone know of a better way to do this?










share|improve this question









New contributor




Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











(Seems that I don't have enough reputation to make the screenshots being drawn directly...)



I can already write the probability density function (pdf) of two variables like this:



enter image description here



The unprocessed equation code for this is f_(X,Y) (x,y)



But further on, I want to replace the subscript X,Y with X|Y=y to indicate the pdf of a conditional probability.



The equation code f_open X|Y=yclose (x,y), afaik the best option when using the pipe / vertical bar, yields this ugly representation:



enter image description here



So my current workaround is the code f_(XIY=y) (x,y) yields this, when formatting the I as not italic:



enter image description here



Does anyone know of a better way to do this?







ms-word formula-editor






share|improve this question









New contributor




Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 8 at 16:16









Cindy Meister

13k101934




13k101934






New contributor




Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 8 at 9:47









Stefan Rickli

112




112




New contributor




Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Stefan Rickli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Could you please include an image of the desired result?
    – Andreas Rejbrand
    Nov 8 at 10:20










  • When I create this formula in Microsoft Word 2010, I don't get the same visual result as you have in your screenshot. I don't get all the space around the equals sign.
    – Andreas Rejbrand
    Nov 8 at 10:23












  • This is an end-user, not a programming question and is therefore off-topic on Stack Overflow. Please ask it in a venue that supports end-user topics such as Super User.
    – Cindy Meister
    Nov 8 at 11:37










  • @CindyMeister Thanks, now I finally get the meaning of the Super User board. So what's the recommended workflow now? Delete here and repost in Super User? I found out the answer btw - the pipe needs escaping using a backslash.
    – Stefan Rickli
    Nov 8 at 20:52










  • @AndreasRejbrand Interesting, I use Word 2016.
    – Stefan Rickli
    Nov 8 at 20:52


















  • Could you please include an image of the desired result?
    – Andreas Rejbrand
    Nov 8 at 10:20










  • When I create this formula in Microsoft Word 2010, I don't get the same visual result as you have in your screenshot. I don't get all the space around the equals sign.
    – Andreas Rejbrand
    Nov 8 at 10:23












  • This is an end-user, not a programming question and is therefore off-topic on Stack Overflow. Please ask it in a venue that supports end-user topics such as Super User.
    – Cindy Meister
    Nov 8 at 11:37










  • @CindyMeister Thanks, now I finally get the meaning of the Super User board. So what's the recommended workflow now? Delete here and repost in Super User? I found out the answer btw - the pipe needs escaping using a backslash.
    – Stefan Rickli
    Nov 8 at 20:52










  • @AndreasRejbrand Interesting, I use Word 2016.
    – Stefan Rickli
    Nov 8 at 20:52
















Could you please include an image of the desired result?
– Andreas Rejbrand
Nov 8 at 10:20




Could you please include an image of the desired result?
– Andreas Rejbrand
Nov 8 at 10:20












When I create this formula in Microsoft Word 2010, I don't get the same visual result as you have in your screenshot. I don't get all the space around the equals sign.
– Andreas Rejbrand
Nov 8 at 10:23






When I create this formula in Microsoft Word 2010, I don't get the same visual result as you have in your screenshot. I don't get all the space around the equals sign.
– Andreas Rejbrand
Nov 8 at 10:23














This is an end-user, not a programming question and is therefore off-topic on Stack Overflow. Please ask it in a venue that supports end-user topics such as Super User.
– Cindy Meister
Nov 8 at 11:37




This is an end-user, not a programming question and is therefore off-topic on Stack Overflow. Please ask it in a venue that supports end-user topics such as Super User.
– Cindy Meister
Nov 8 at 11:37












@CindyMeister Thanks, now I finally get the meaning of the Super User board. So what's the recommended workflow now? Delete here and repost in Super User? I found out the answer btw - the pipe needs escaping using a backslash.
– Stefan Rickli
Nov 8 at 20:52




@CindyMeister Thanks, now I finally get the meaning of the Super User board. So what's the recommended workflow now? Delete here and repost in Super User? I found out the answer btw - the pipe needs escaping using a backslash.
– Stefan Rickli
Nov 8 at 20:52












@AndreasRejbrand Interesting, I use Word 2016.
– Stefan Rickli
Nov 8 at 20:52




@AndreasRejbrand Interesting, I use Word 2016.
– Stefan Rickli
Nov 8 at 20:52

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});


}
});






Stefan Rickli is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205138%2fms-word-equation-editor-vertical-bar-in-subscript-conditional-probability-not%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Stefan Rickli is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Stefan Rickli is a new contributor. Be nice, and check out our Code of Conduct.













Stefan Rickli is a new contributor. Be nice, and check out our Code of Conduct.












Stefan Rickli is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205138%2fms-word-equation-editor-vertical-bar-in-subscript-conditional-probability-not%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Landwehr

Reims

Schenkenzell