A method of distinguishing Iverson from other brackets? Announcing the arrival of Valued...

Why aren't road bicycle wheels tiny?

Does using the Inspiration rules for character defects encourage My Guy Syndrome?

Coin Game with infinite paradox

Why doesn't the university give past final exams' answers?

Like totally amazing interchangeable sister outfit accessory swapping or whatever

What to do with someone that cheated their way though university and a PhD program?

Not within Jobscope - Aggravated injury

When speaking, how do you change your mind mid-sentence?

Is there a possibility to generate a list dynamically in Latex?

Is it appropriate to mention a relatable company blog post when you're asked about the company?

What do you call an IPA symbol that lacks a name (e.g. ɲ)?

Processing ADC conversion result: DMA vs Processor Registers

What does the black goddess statue do and what is it?

What is the evidence that custom checks in Northern Ireland are going to result in violence?

TV series episode where humans nuke aliens before decrypting their message that states they come in peace

What is ls Largest Number Formed by only moving two sticks in 508?

Israeli soda type drink

What's called a person who work as someone who puts products on shelves in stores?

Co-worker works way more than he should

All ASCII characters with a given bit count

`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point...WHY

When I export an AI 300x60 art board it saves with bigger dimensions

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

Translate text contents of an existing file from lower to upper case and copy to a new file



A method of distinguishing Iverson from other brackets?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Alternate he / she in textRemoving brackets from the referenceBig brackets around TextUse custom bracketsTriangular Parenthesis/BracketsBigger bracketsSquare brackets instead of curvy bracketsUnterbrace within Brackets without enlarging bracketsAutomatic size parenthesis“Nice” square brackets












1















Is there a common idiom or method for distinguishing Iverson brackets from "normal" brackets?



In all examples I've seen, simple braces [...] are used for both; but in complex expressions, this can become confusing, as the only way to resolve which is which is by looking closely for the presence of an =.



Is there a good way to distinguish these typographically?










share|improve this question

























  • (Aside: Pairs of square brackets are used in many notational conventions, not just for Iverson brackets.) One of the principal obligations of any author is to avoid creating (unnecessary) confusion. If an author believes it's essential to use the Iverson-bracket notation to denote indicator functions, he/she should make every effort not to use square brackets in ways that denote other forms of usage -- at least not in one and the same expression. E.g., one could use pairs of round parentheses and/or curly braces instead of square brackets.

    – Mico
    Mar 7 '16 at 14:12











  • @Mico: Yes, but the question is about typography, specifically TeX.

    – orome
    Mar 7 '16 at 16:20











  • I guess I expressed my typography-related view too implicitly in my earlier comment. A bit more explicitly, then: Unless one is willing and able to add salient visual markers (tildes, above or below the brackets?; horns?; little bells?) to one set of square brackets and not to other(s), the chances that your readers will be confused to no end if you assign different meanings to various pairs of square brackets are just too great to tolerate. Either switch to other symbols (e.g., round parentheses, curly braces) for the "fences", or use another notational convention for the indicator function.

    – Mico
    Mar 7 '16 at 16:46













  • @Mico: Ah, I see: some unnecessary confusion. So the answer to the question asked is: "no"?

    – orome
    Mar 7 '16 at 17:13











  • In the section entitled "Iverson's convention" in the article Two notes on notation, Knuth is noticeably (but certainly not surprisingly) careful not to use square brackets for more than one purpose in equations. (Square brackets are also used in the article to offset numerical citation call-outs, but that's outside the equation context that's relevant for Iverson bracket notation.)

    – Mico
    Mar 7 '16 at 17:50


















1















Is there a common idiom or method for distinguishing Iverson brackets from "normal" brackets?



In all examples I've seen, simple braces [...] are used for both; but in complex expressions, this can become confusing, as the only way to resolve which is which is by looking closely for the presence of an =.



Is there a good way to distinguish these typographically?










share|improve this question

























  • (Aside: Pairs of square brackets are used in many notational conventions, not just for Iverson brackets.) One of the principal obligations of any author is to avoid creating (unnecessary) confusion. If an author believes it's essential to use the Iverson-bracket notation to denote indicator functions, he/she should make every effort not to use square brackets in ways that denote other forms of usage -- at least not in one and the same expression. E.g., one could use pairs of round parentheses and/or curly braces instead of square brackets.

    – Mico
    Mar 7 '16 at 14:12











  • @Mico: Yes, but the question is about typography, specifically TeX.

    – orome
    Mar 7 '16 at 16:20











  • I guess I expressed my typography-related view too implicitly in my earlier comment. A bit more explicitly, then: Unless one is willing and able to add salient visual markers (tildes, above or below the brackets?; horns?; little bells?) to one set of square brackets and not to other(s), the chances that your readers will be confused to no end if you assign different meanings to various pairs of square brackets are just too great to tolerate. Either switch to other symbols (e.g., round parentheses, curly braces) for the "fences", or use another notational convention for the indicator function.

    – Mico
    Mar 7 '16 at 16:46













  • @Mico: Ah, I see: some unnecessary confusion. So the answer to the question asked is: "no"?

    – orome
    Mar 7 '16 at 17:13











  • In the section entitled "Iverson's convention" in the article Two notes on notation, Knuth is noticeably (but certainly not surprisingly) careful not to use square brackets for more than one purpose in equations. (Square brackets are also used in the article to offset numerical citation call-outs, but that's outside the equation context that's relevant for Iverson bracket notation.)

    – Mico
    Mar 7 '16 at 17:50
















1












1








1


1






Is there a common idiom or method for distinguishing Iverson brackets from "normal" brackets?



In all examples I've seen, simple braces [...] are used for both; but in complex expressions, this can become confusing, as the only way to resolve which is which is by looking closely for the presence of an =.



Is there a good way to distinguish these typographically?










share|improve this question
















Is there a common idiom or method for distinguishing Iverson brackets from "normal" brackets?



In all examples I've seen, simple braces [...] are used for both; but in complex expressions, this can become confusing, as the only way to resolve which is which is by looking closely for the presence of an =.



Is there a good way to distinguish these typographically?







conditionals brackets






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:22









Community

1




1










asked Mar 7 '16 at 13:56









oromeorome

4,590124298




4,590124298













  • (Aside: Pairs of square brackets are used in many notational conventions, not just for Iverson brackets.) One of the principal obligations of any author is to avoid creating (unnecessary) confusion. If an author believes it's essential to use the Iverson-bracket notation to denote indicator functions, he/she should make every effort not to use square brackets in ways that denote other forms of usage -- at least not in one and the same expression. E.g., one could use pairs of round parentheses and/or curly braces instead of square brackets.

    – Mico
    Mar 7 '16 at 14:12











  • @Mico: Yes, but the question is about typography, specifically TeX.

    – orome
    Mar 7 '16 at 16:20











  • I guess I expressed my typography-related view too implicitly in my earlier comment. A bit more explicitly, then: Unless one is willing and able to add salient visual markers (tildes, above or below the brackets?; horns?; little bells?) to one set of square brackets and not to other(s), the chances that your readers will be confused to no end if you assign different meanings to various pairs of square brackets are just too great to tolerate. Either switch to other symbols (e.g., round parentheses, curly braces) for the "fences", or use another notational convention for the indicator function.

    – Mico
    Mar 7 '16 at 16:46













  • @Mico: Ah, I see: some unnecessary confusion. So the answer to the question asked is: "no"?

    – orome
    Mar 7 '16 at 17:13











  • In the section entitled "Iverson's convention" in the article Two notes on notation, Knuth is noticeably (but certainly not surprisingly) careful not to use square brackets for more than one purpose in equations. (Square brackets are also used in the article to offset numerical citation call-outs, but that's outside the equation context that's relevant for Iverson bracket notation.)

    – Mico
    Mar 7 '16 at 17:50





















  • (Aside: Pairs of square brackets are used in many notational conventions, not just for Iverson brackets.) One of the principal obligations of any author is to avoid creating (unnecessary) confusion. If an author believes it's essential to use the Iverson-bracket notation to denote indicator functions, he/she should make every effort not to use square brackets in ways that denote other forms of usage -- at least not in one and the same expression. E.g., one could use pairs of round parentheses and/or curly braces instead of square brackets.

    – Mico
    Mar 7 '16 at 14:12











  • @Mico: Yes, but the question is about typography, specifically TeX.

    – orome
    Mar 7 '16 at 16:20











  • I guess I expressed my typography-related view too implicitly in my earlier comment. A bit more explicitly, then: Unless one is willing and able to add salient visual markers (tildes, above or below the brackets?; horns?; little bells?) to one set of square brackets and not to other(s), the chances that your readers will be confused to no end if you assign different meanings to various pairs of square brackets are just too great to tolerate. Either switch to other symbols (e.g., round parentheses, curly braces) for the "fences", or use another notational convention for the indicator function.

    – Mico
    Mar 7 '16 at 16:46













  • @Mico: Ah, I see: some unnecessary confusion. So the answer to the question asked is: "no"?

    – orome
    Mar 7 '16 at 17:13











  • In the section entitled "Iverson's convention" in the article Two notes on notation, Knuth is noticeably (but certainly not surprisingly) careful not to use square brackets for more than one purpose in equations. (Square brackets are also used in the article to offset numerical citation call-outs, but that's outside the equation context that's relevant for Iverson bracket notation.)

    – Mico
    Mar 7 '16 at 17:50



















(Aside: Pairs of square brackets are used in many notational conventions, not just for Iverson brackets.) One of the principal obligations of any author is to avoid creating (unnecessary) confusion. If an author believes it's essential to use the Iverson-bracket notation to denote indicator functions, he/she should make every effort not to use square brackets in ways that denote other forms of usage -- at least not in one and the same expression. E.g., one could use pairs of round parentheses and/or curly braces instead of square brackets.

– Mico
Mar 7 '16 at 14:12





(Aside: Pairs of square brackets are used in many notational conventions, not just for Iverson brackets.) One of the principal obligations of any author is to avoid creating (unnecessary) confusion. If an author believes it's essential to use the Iverson-bracket notation to denote indicator functions, he/she should make every effort not to use square brackets in ways that denote other forms of usage -- at least not in one and the same expression. E.g., one could use pairs of round parentheses and/or curly braces instead of square brackets.

– Mico
Mar 7 '16 at 14:12













@Mico: Yes, but the question is about typography, specifically TeX.

– orome
Mar 7 '16 at 16:20





@Mico: Yes, but the question is about typography, specifically TeX.

– orome
Mar 7 '16 at 16:20













I guess I expressed my typography-related view too implicitly in my earlier comment. A bit more explicitly, then: Unless one is willing and able to add salient visual markers (tildes, above or below the brackets?; horns?; little bells?) to one set of square brackets and not to other(s), the chances that your readers will be confused to no end if you assign different meanings to various pairs of square brackets are just too great to tolerate. Either switch to other symbols (e.g., round parentheses, curly braces) for the "fences", or use another notational convention for the indicator function.

– Mico
Mar 7 '16 at 16:46







I guess I expressed my typography-related view too implicitly in my earlier comment. A bit more explicitly, then: Unless one is willing and able to add salient visual markers (tildes, above or below the brackets?; horns?; little bells?) to one set of square brackets and not to other(s), the chances that your readers will be confused to no end if you assign different meanings to various pairs of square brackets are just too great to tolerate. Either switch to other symbols (e.g., round parentheses, curly braces) for the "fences", or use another notational convention for the indicator function.

– Mico
Mar 7 '16 at 16:46















@Mico: Ah, I see: some unnecessary confusion. So the answer to the question asked is: "no"?

– orome
Mar 7 '16 at 17:13





@Mico: Ah, I see: some unnecessary confusion. So the answer to the question asked is: "no"?

– orome
Mar 7 '16 at 17:13













In the section entitled "Iverson's convention" in the article Two notes on notation, Knuth is noticeably (but certainly not surprisingly) careful not to use square brackets for more than one purpose in equations. (Square brackets are also used in the article to offset numerical citation call-outs, but that's outside the equation context that's relevant for Iverson bracket notation.)

– Mico
Mar 7 '16 at 17:50







In the section entitled "Iverson's convention" in the article Two notes on notation, Knuth is noticeably (but certainly not surprisingly) careful not to use square brackets for more than one purpose in equations. (Square brackets are also used in the article to offset numerical citation call-outs, but that's outside the equation context that's relevant for Iverson bracket notation.)

– Mico
Mar 7 '16 at 17:50












1 Answer
1






active

oldest

votes


















0














You can use double brackets for Iverson brackets. In latex mathmode, you can use: llbracket from the stmaryrd package. In latex textmode, you can use: textlbrackdbl from the textcomp package.






share|improve this answer










New contributor




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





















    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%2f297752%2fa-method-of-distinguishing-iverson-from-other-brackets%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









    0














    You can use double brackets for Iverson brackets. In latex mathmode, you can use: llbracket from the stmaryrd package. In latex textmode, you can use: textlbrackdbl from the textcomp package.






    share|improve this answer










    New contributor




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

























      0














      You can use double brackets for Iverson brackets. In latex mathmode, you can use: llbracket from the stmaryrd package. In latex textmode, you can use: textlbrackdbl from the textcomp package.






      share|improve this answer










      New contributor




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























        0












        0








        0







        You can use double brackets for Iverson brackets. In latex mathmode, you can use: llbracket from the stmaryrd package. In latex textmode, you can use: textlbrackdbl from the textcomp package.






        share|improve this answer










        New contributor




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










        You can use double brackets for Iverson brackets. In latex mathmode, you can use: llbracket from the stmaryrd package. In latex textmode, you can use: textlbrackdbl from the textcomp package.







        share|improve this answer










        New contributor




        Khobaib Zaamout 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 answer



        share|improve this answer








        edited 7 mins ago









        Phelype Oleinik

        26k54691




        26k54691






        New contributor




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









        answered 21 mins ago









        Khobaib ZaamoutKhobaib Zaamout

        1




        1




        New contributor




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





        New contributor





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






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






























            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%2f297752%2fa-method-of-distinguishing-iverson-from-other-brackets%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