Lightning symbol with LuaTex

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I'm trying to use the lightning symbol ↯ in my document. I use luatex. If I understand correctly I do not need the command



unicodex21af


but I can write ↯ directly in my document. My problem is that the symbol does not appear in the generated pdf. Thus, I guess, the symbol is not contained in the font used in the pdf.




If I have no error, how to I influence the chosen font? I should find a font with the symbol.




documentclassarticle
usepackagegraphicx
begindocument
(↯)
enddocument









share|improve this question























  • May be some of the necessary (or all of the) font package(s) pretaining to that particular font class is missing?
    – Raaja
    3 hours ago






  • 1




    Which package defines the macro called unicode?
    – Mico
    2 hours ago






  • 1




    @Raaja, very good! I installed texlive-stmaryrd, added usepackagestmaryrd and now lightning gives me the needed symbol
    – PeptideChain
    2 hours ago






  • 2




    See fileformat.info/info/unicode/char/21af/fontsupport.htm to find fonts that support the character.
    – Thérèse
    2 hours ago






  • 1




    @PeptideChain, a side note : for such questions, you can try detexify, very useful tool !
    – BambOo
    1 hour ago














up vote
3
down vote

favorite












I'm trying to use the lightning symbol ↯ in my document. I use luatex. If I understand correctly I do not need the command



unicodex21af


but I can write ↯ directly in my document. My problem is that the symbol does not appear in the generated pdf. Thus, I guess, the symbol is not contained in the font used in the pdf.




If I have no error, how to I influence the chosen font? I should find a font with the symbol.




documentclassarticle
usepackagegraphicx
begindocument
(↯)
enddocument









share|improve this question























  • May be some of the necessary (or all of the) font package(s) pretaining to that particular font class is missing?
    – Raaja
    3 hours ago






  • 1




    Which package defines the macro called unicode?
    – Mico
    2 hours ago






  • 1




    @Raaja, very good! I installed texlive-stmaryrd, added usepackagestmaryrd and now lightning gives me the needed symbol
    – PeptideChain
    2 hours ago






  • 2




    See fileformat.info/info/unicode/char/21af/fontsupport.htm to find fonts that support the character.
    – Thérèse
    2 hours ago






  • 1




    @PeptideChain, a side note : for such questions, you can try detexify, very useful tool !
    – BambOo
    1 hour ago












up vote
3
down vote

favorite









up vote
3
down vote

favorite











I'm trying to use the lightning symbol ↯ in my document. I use luatex. If I understand correctly I do not need the command



unicodex21af


but I can write ↯ directly in my document. My problem is that the symbol does not appear in the generated pdf. Thus, I guess, the symbol is not contained in the font used in the pdf.




If I have no error, how to I influence the chosen font? I should find a font with the symbol.




documentclassarticle
usepackagegraphicx
begindocument
(↯)
enddocument









share|improve this question















I'm trying to use the lightning symbol ↯ in my document. I use luatex. If I understand correctly I do not need the command



unicodex21af


but I can write ↯ directly in my document. My problem is that the symbol does not appear in the generated pdf. Thus, I guess, the symbol is not contained in the font used in the pdf.




If I have no error, how to I influence the chosen font? I should find a font with the symbol.




documentclassarticle
usepackagegraphicx
begindocument
(↯)
enddocument






luatex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago









Mico

268k30362747




268k30362747










asked 3 hours ago









PeptideChain

1918




1918











  • May be some of the necessary (or all of the) font package(s) pretaining to that particular font class is missing?
    – Raaja
    3 hours ago






  • 1




    Which package defines the macro called unicode?
    – Mico
    2 hours ago






  • 1




    @Raaja, very good! I installed texlive-stmaryrd, added usepackagestmaryrd and now lightning gives me the needed symbol
    – PeptideChain
    2 hours ago






  • 2




    See fileformat.info/info/unicode/char/21af/fontsupport.htm to find fonts that support the character.
    – Thérèse
    2 hours ago






  • 1




    @PeptideChain, a side note : for such questions, you can try detexify, very useful tool !
    – BambOo
    1 hour ago
















  • May be some of the necessary (or all of the) font package(s) pretaining to that particular font class is missing?
    – Raaja
    3 hours ago






  • 1




    Which package defines the macro called unicode?
    – Mico
    2 hours ago






  • 1




    @Raaja, very good! I installed texlive-stmaryrd, added usepackagestmaryrd and now lightning gives me the needed symbol
    – PeptideChain
    2 hours ago






  • 2




    See fileformat.info/info/unicode/char/21af/fontsupport.htm to find fonts that support the character.
    – Thérèse
    2 hours ago






  • 1




    @PeptideChain, a side note : for such questions, you can try detexify, very useful tool !
    – BambOo
    1 hour ago















May be some of the necessary (or all of the) font package(s) pretaining to that particular font class is missing?
– Raaja
3 hours ago




May be some of the necessary (or all of the) font package(s) pretaining to that particular font class is missing?
– Raaja
3 hours ago




1




1




Which package defines the macro called unicode?
– Mico
2 hours ago




Which package defines the macro called unicode?
– Mico
2 hours ago




1




1




@Raaja, very good! I installed texlive-stmaryrd, added usepackagestmaryrd and now lightning gives me the needed symbol
– PeptideChain
2 hours ago




@Raaja, very good! I installed texlive-stmaryrd, added usepackagestmaryrd and now lightning gives me the needed symbol
– PeptideChain
2 hours ago




2




2




See fileformat.info/info/unicode/char/21af/fontsupport.htm to find fonts that support the character.
– Thérèse
2 hours ago




See fileformat.info/info/unicode/char/21af/fontsupport.htm to find fonts that support the character.
– Thérèse
2 hours ago




1




1




@PeptideChain, a side note : for such questions, you can try detexify, very useful tool !
– BambOo
1 hour ago




@PeptideChain, a side note : for such questions, you can try detexify, very useful tool !
– BambOo
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










As you guess, it's just a matter of choosing a font containing the glyph. You do this using fontspec. (Update to use newunicodechar courtesy of @egreg.)



documentclassarticle
usepackagefontspec
usepackagenewunicodechar
newfontfamilysymbolaSymbola
newcommanddownzigzagarrowbegingroupsymbola ↯endgroup
newunicodechar↯downzigzagarrow
begindocument
Filler text ↯ Filler text
enddocument


down zig zag arrow symbol






share|improve this answer


















  • 2




    You can accompany this with usepackagenewunicodechar and newunicodechar↯downzigzagarrow after defining downzigzagarrow so it's possible to use ↯ directly in the document.
    – egreg
    1 hour ago










  • @egreg, no way. I never knew that.
    – David Purton
    1 hour ago






  • 1




    I know the package, guess why. ;-)
    – egreg
    1 hour 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',
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%2f458455%2flightning-symbol-with-luatex%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










As you guess, it's just a matter of choosing a font containing the glyph. You do this using fontspec. (Update to use newunicodechar courtesy of @egreg.)



documentclassarticle
usepackagefontspec
usepackagenewunicodechar
newfontfamilysymbolaSymbola
newcommanddownzigzagarrowbegingroupsymbola ↯endgroup
newunicodechar↯downzigzagarrow
begindocument
Filler text ↯ Filler text
enddocument


down zig zag arrow symbol






share|improve this answer


















  • 2




    You can accompany this with usepackagenewunicodechar and newunicodechar↯downzigzagarrow after defining downzigzagarrow so it's possible to use ↯ directly in the document.
    – egreg
    1 hour ago










  • @egreg, no way. I never knew that.
    – David Purton
    1 hour ago






  • 1




    I know the package, guess why. ;-)
    – egreg
    1 hour ago














up vote
3
down vote



accepted










As you guess, it's just a matter of choosing a font containing the glyph. You do this using fontspec. (Update to use newunicodechar courtesy of @egreg.)



documentclassarticle
usepackagefontspec
usepackagenewunicodechar
newfontfamilysymbolaSymbola
newcommanddownzigzagarrowbegingroupsymbola ↯endgroup
newunicodechar↯downzigzagarrow
begindocument
Filler text ↯ Filler text
enddocument


down zig zag arrow symbol






share|improve this answer


















  • 2




    You can accompany this with usepackagenewunicodechar and newunicodechar↯downzigzagarrow after defining downzigzagarrow so it's possible to use ↯ directly in the document.
    – egreg
    1 hour ago










  • @egreg, no way. I never knew that.
    – David Purton
    1 hour ago






  • 1




    I know the package, guess why. ;-)
    – egreg
    1 hour ago












up vote
3
down vote



accepted







up vote
3
down vote



accepted






As you guess, it's just a matter of choosing a font containing the glyph. You do this using fontspec. (Update to use newunicodechar courtesy of @egreg.)



documentclassarticle
usepackagefontspec
usepackagenewunicodechar
newfontfamilysymbolaSymbola
newcommanddownzigzagarrowbegingroupsymbola ↯endgroup
newunicodechar↯downzigzagarrow
begindocument
Filler text ↯ Filler text
enddocument


down zig zag arrow symbol






share|improve this answer














As you guess, it's just a matter of choosing a font containing the glyph. You do this using fontspec. (Update to use newunicodechar courtesy of @egreg.)



documentclassarticle
usepackagefontspec
usepackagenewunicodechar
newfontfamilysymbolaSymbola
newcommanddownzigzagarrowbegingroupsymbola ↯endgroup
newunicodechar↯downzigzagarrow
begindocument
Filler text ↯ Filler text
enddocument


down zig zag arrow symbol







share|improve this answer














share|improve this answer



share|improve this answer








edited 1 hour ago

























answered 2 hours ago









David Purton

7,4491834




7,4491834







  • 2




    You can accompany this with usepackagenewunicodechar and newunicodechar↯downzigzagarrow after defining downzigzagarrow so it's possible to use ↯ directly in the document.
    – egreg
    1 hour ago










  • @egreg, no way. I never knew that.
    – David Purton
    1 hour ago






  • 1




    I know the package, guess why. ;-)
    – egreg
    1 hour ago












  • 2




    You can accompany this with usepackagenewunicodechar and newunicodechar↯downzigzagarrow after defining downzigzagarrow so it's possible to use ↯ directly in the document.
    – egreg
    1 hour ago










  • @egreg, no way. I never knew that.
    – David Purton
    1 hour ago






  • 1




    I know the package, guess why. ;-)
    – egreg
    1 hour ago







2




2




You can accompany this with usepackagenewunicodechar and newunicodechar↯downzigzagarrow after defining downzigzagarrow so it's possible to use ↯ directly in the document.
– egreg
1 hour ago




You can accompany this with usepackagenewunicodechar and newunicodechar↯downzigzagarrow after defining downzigzagarrow so it's possible to use ↯ directly in the document.
– egreg
1 hour ago












@egreg, no way. I never knew that.
– David Purton
1 hour ago




@egreg, no way. I never knew that.
– David Purton
1 hour ago




1




1




I know the package, guess why. ;-)
– egreg
1 hour ago




I know the package, guess why. ;-)
– egreg
1 hour ago

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458455%2flightning-symbol-with-luatex%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

List of Gilmore Girls characters

One-line joke