mathbb not working and mathbbm/mathds not compiling in rmarkdownLaTeX structureWhat reasons (if any) are...

Why are the books in the Game of Thrones citadel library shelved spine inwards?

General past possibility with 'could'

Does dispel magic end a master's control over their undead?

How do you catch Smeargle in Pokemon Go?

What is the data structure of $@ in shell?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

Why does photorec keep finding files after I have filled the disk free space as root?

Eww, those bytes are gross

Why avoid shared user accounts?

A curious equality of integrals involving the prime counting function?

What is the wife of a henpecked husband called?

"on its way" vs. "in its way"

How to make ice magic work from a scientific point of view?

A Missing Symbol for This Logo

Why do neural networks need so many training examples to perform?

Variable is not visible

New package vs new version?

What sets the resolution of an analog resistive sensor?

How can a large fleets maintain formation in interstellar space?

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

Can you tell from a blurry photo if focus was too close or too far?

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

Why does magnet wire need to be insulated?

How would an AI self awareness kill switch work?



mathbb not working and mathbbm/mathds not compiling in rmarkdown


LaTeX structureWhat reasons (if any) are there for compiling in interactive mode?Luatex os.execute not workingSyntax for macro arguments not behaving as expectedKnitr and rmarkdown will not add figure captions to the outputExpansion of char in defHow to use emoji in LaTeX documents? Specifically getting a custom `.sty` workingxcolor package will not map text to colortable created by sapply used in Rmarkdown is being printed into .tex file when I knit (! TeX capacity exceeded, sorry [main memory size=3000000].)pdflatex problem with Rstudio













0















I'm trying to get the math 1 character in an rmarkdown file. mathbb{1} just produces a simple 1, and mathbbm{1} / mathds{1} does not compile for some reason.



title: "A3"
header-includes:
- usepackage{mathtools}
- DeclarePairedDelimiterfloor{lfloor}{rfloor}
- usepackage{dsfont}
output:
html_document









share|improve this question














bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Welcome to TeX.SE! Can you please show us some TeX code resulting in errors? If this is a pure r question please ask on a r page ...

    – Kurt
    Dec 29 '18 at 12:56











  • @Kurt I can't seem to find any error. It just comes out as mathds in red in the output file

    – George
    Dec 29 '18 at 13:15
















0















I'm trying to get the math 1 character in an rmarkdown file. mathbb{1} just produces a simple 1, and mathbbm{1} / mathds{1} does not compile for some reason.



title: "A3"
header-includes:
- usepackage{mathtools}
- DeclarePairedDelimiterfloor{lfloor}{rfloor}
- usepackage{dsfont}
output:
html_document









share|improve this question














bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Welcome to TeX.SE! Can you please show us some TeX code resulting in errors? If this is a pure r question please ask on a r page ...

    – Kurt
    Dec 29 '18 at 12:56











  • @Kurt I can't seem to find any error. It just comes out as mathds in red in the output file

    – George
    Dec 29 '18 at 13:15














0












0








0








I'm trying to get the math 1 character in an rmarkdown file. mathbb{1} just produces a simple 1, and mathbbm{1} / mathds{1} does not compile for some reason.



title: "A3"
header-includes:
- usepackage{mathtools}
- DeclarePairedDelimiterfloor{lfloor}{rfloor}
- usepackage{dsfont}
output:
html_document









share|improve this question














I'm trying to get the math 1 character in an rmarkdown file. mathbb{1} just produces a simple 1, and mathbbm{1} / mathds{1} does not compile for some reason.



title: "A3"
header-includes:
- usepackage{mathtools}
- DeclarePairedDelimiterfloor{lfloor}{rfloor}
- usepackage{dsfont}
output:
html_document






tex-core r






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 29 '18 at 12:11









GeorgeGeorge

1




1





bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Welcome to TeX.SE! Can you please show us some TeX code resulting in errors? If this is a pure r question please ask on a r page ...

    – Kurt
    Dec 29 '18 at 12:56











  • @Kurt I can't seem to find any error. It just comes out as mathds in red in the output file

    – George
    Dec 29 '18 at 13:15



















  • Welcome to TeX.SE! Can you please show us some TeX code resulting in errors? If this is a pure r question please ask on a r page ...

    – Kurt
    Dec 29 '18 at 12:56











  • @Kurt I can't seem to find any error. It just comes out as mathds in red in the output file

    – George
    Dec 29 '18 at 13:15

















Welcome to TeX.SE! Can you please show us some TeX code resulting in errors? If this is a pure r question please ask on a r page ...

– Kurt
Dec 29 '18 at 12:56





Welcome to TeX.SE! Can you please show us some TeX code resulting in errors? If this is a pure r question please ask on a r page ...

– Kurt
Dec 29 '18 at 12:56













@Kurt I can't seem to find any error. It just comes out as mathds in red in the output file

– George
Dec 29 '18 at 13:15





@Kurt I can't seem to find any error. It just comes out as mathds in red in the output file

– George
Dec 29 '18 at 13:15










1 Answer
1






active

oldest

votes


















1














Although I can’t tell for sure unless you post a MCVE, this looks like you aren’t including the font package you want.



For new documents, I recommend you use the modern toolchain, with either LuaLaTeX or XeLaTeX and the unicode-math package. With this, mathbb{1} works out of the box. You can load any font you like as your mathbb font with the [range=bb] option of setmathfont.



If you need to use the legacy toolchain, the classic mathbb command supports only capital letters. However, some font packages, including stix2, enable mathbb{1}. The mathds command is from dsfont.



It is also possible to load a double-struck font containing numbers as a symbol font and access its gliphs with DeclareMathSymbol, or as a text font and wrap it in mbox or text to use in math mode.



If you’re converting to HTML in any case, you might try replacing dsfont with amssymb.






share|improve this answer

























    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%2f467770%2fmathbb-not-working-and-mathbbm-mathds-not-compiling-in-rmarkdown%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









    1














    Although I can’t tell for sure unless you post a MCVE, this looks like you aren’t including the font package you want.



    For new documents, I recommend you use the modern toolchain, with either LuaLaTeX or XeLaTeX and the unicode-math package. With this, mathbb{1} works out of the box. You can load any font you like as your mathbb font with the [range=bb] option of setmathfont.



    If you need to use the legacy toolchain, the classic mathbb command supports only capital letters. However, some font packages, including stix2, enable mathbb{1}. The mathds command is from dsfont.



    It is also possible to load a double-struck font containing numbers as a symbol font and access its gliphs with DeclareMathSymbol, or as a text font and wrap it in mbox or text to use in math mode.



    If you’re converting to HTML in any case, you might try replacing dsfont with amssymb.






    share|improve this answer






























      1














      Although I can’t tell for sure unless you post a MCVE, this looks like you aren’t including the font package you want.



      For new documents, I recommend you use the modern toolchain, with either LuaLaTeX or XeLaTeX and the unicode-math package. With this, mathbb{1} works out of the box. You can load any font you like as your mathbb font with the [range=bb] option of setmathfont.



      If you need to use the legacy toolchain, the classic mathbb command supports only capital letters. However, some font packages, including stix2, enable mathbb{1}. The mathds command is from dsfont.



      It is also possible to load a double-struck font containing numbers as a symbol font and access its gliphs with DeclareMathSymbol, or as a text font and wrap it in mbox or text to use in math mode.



      If you’re converting to HTML in any case, you might try replacing dsfont with amssymb.






      share|improve this answer




























        1












        1








        1







        Although I can’t tell for sure unless you post a MCVE, this looks like you aren’t including the font package you want.



        For new documents, I recommend you use the modern toolchain, with either LuaLaTeX or XeLaTeX and the unicode-math package. With this, mathbb{1} works out of the box. You can load any font you like as your mathbb font with the [range=bb] option of setmathfont.



        If you need to use the legacy toolchain, the classic mathbb command supports only capital letters. However, some font packages, including stix2, enable mathbb{1}. The mathds command is from dsfont.



        It is also possible to load a double-struck font containing numbers as a symbol font and access its gliphs with DeclareMathSymbol, or as a text font and wrap it in mbox or text to use in math mode.



        If you’re converting to HTML in any case, you might try replacing dsfont with amssymb.






        share|improve this answer















        Although I can’t tell for sure unless you post a MCVE, this looks like you aren’t including the font package you want.



        For new documents, I recommend you use the modern toolchain, with either LuaLaTeX or XeLaTeX and the unicode-math package. With this, mathbb{1} works out of the box. You can load any font you like as your mathbb font with the [range=bb] option of setmathfont.



        If you need to use the legacy toolchain, the classic mathbb command supports only capital letters. However, some font packages, including stix2, enable mathbb{1}. The mathds command is from dsfont.



        It is also possible to load a double-struck font containing numbers as a symbol font and access its gliphs with DeclareMathSymbol, or as a text font and wrap it in mbox or text to use in math mode.



        If you’re converting to HTML in any case, you might try replacing dsfont with amssymb.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 28 at 15:19

























        answered Dec 29 '18 at 13:18









        DavislorDavislor

        6,4771329




        6,4771329






























            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%2f467770%2fmathbb-not-working-and-mathbbm-mathds-not-compiling-in-rmarkdown%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

            Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

            Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

            How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...