A symbol imported from the ifsym package is not recognized
I found a symbol that I am interested in in the Comprehensive LaTeX Symbols list, where it is noted that the symbol is part of the ifsym
package.
However, when I try to use the symbol, thus:
documentclassarticle
usepackageifsym
begindocument
[
a SmallSquare b
]
enddocument
the document fails to compile, and I get the following error message:
ERROR: Undefined control sequence.
--- TeX said ---
l.5 a SmallSquare
b
EDIT: It was suggested in a comment that I load the package with the geometry
option. So I tried it (usepackage[geometry]ifsym
). The good news is that now the document compiles successfully. The bad news is that the symbol that gets printed is wrong:
errors symbols packages
add a comment |
I found a symbol that I am interested in in the Comprehensive LaTeX Symbols list, where it is noted that the symbol is part of the ifsym
package.
However, when I try to use the symbol, thus:
documentclassarticle
usepackageifsym
begindocument
[
a SmallSquare b
]
enddocument
the document fails to compile, and I get the following error message:
ERROR: Undefined control sequence.
--- TeX said ---
l.5 a SmallSquare
b
EDIT: It was suggested in a comment that I load the package with the geometry
option. So I tried it (usepackage[geometry]ifsym
). The good news is that now the document compiles successfully. The bad news is that the symbol that gets printed is wrong:
errors symbols packages
@campa: Thanks. I tried adding the geometry option, but it's still not right. See my edit above.
– Evan Aad
Nov 12 '18 at 11:23
1
See edited answer. They are text mode commands.
– campa
Nov 12 '18 at 11:24
add a comment |
I found a symbol that I am interested in in the Comprehensive LaTeX Symbols list, where it is noted that the symbol is part of the ifsym
package.
However, when I try to use the symbol, thus:
documentclassarticle
usepackageifsym
begindocument
[
a SmallSquare b
]
enddocument
the document fails to compile, and I get the following error message:
ERROR: Undefined control sequence.
--- TeX said ---
l.5 a SmallSquare
b
EDIT: It was suggested in a comment that I load the package with the geometry
option. So I tried it (usepackage[geometry]ifsym
). The good news is that now the document compiles successfully. The bad news is that the symbol that gets printed is wrong:
errors symbols packages
I found a symbol that I am interested in in the Comprehensive LaTeX Symbols list, where it is noted that the symbol is part of the ifsym
package.
However, when I try to use the symbol, thus:
documentclassarticle
usepackageifsym
begindocument
[
a SmallSquare b
]
enddocument
the document fails to compile, and I get the following error message:
ERROR: Undefined control sequence.
--- TeX said ---
l.5 a SmallSquare
b
EDIT: It was suggested in a comment that I load the package with the geometry
option. So I tried it (usepackage[geometry]ifsym
). The good news is that now the document compiles successfully. The bad news is that the symbol that gets printed is wrong:
errors symbols packages
errors symbols packages
edited Nov 12 '18 at 11:22
Evan Aad
asked Nov 12 '18 at 11:11
Evan AadEvan Aad
3,74511331
3,74511331
@campa: Thanks. I tried adding the geometry option, but it's still not right. See my edit above.
– Evan Aad
Nov 12 '18 at 11:23
1
See edited answer. They are text mode commands.
– campa
Nov 12 '18 at 11:24
add a comment |
@campa: Thanks. I tried adding the geometry option, but it's still not right. See my edit above.
– Evan Aad
Nov 12 '18 at 11:23
1
See edited answer. They are text mode commands.
– campa
Nov 12 '18 at 11:24
@campa: Thanks. I tried adding the geometry option, but it's still not right. See my edit above.
– Evan Aad
Nov 12 '18 at 11:23
@campa: Thanks. I tried adding the geometry option, but it's still not right. See my edit above.
– Evan Aad
Nov 12 '18 at 11:23
1
1
See edited answer. They are text mode commands.
– campa
Nov 12 '18 at 11:24
See edited answer. They are text mode commands.
– campa
Nov 12 '18 at 11:24
add a comment |
1 Answer
1
active
oldest
votes
By default the ifsym
package defines only a generic textifsymbol
macro. Specific abbreviations are declared in different subsets which can be loaded by the options clock
, weather
, alpine
, misc
, geometry
, electronic
. The geometric shapes must be loaded by
documentclassarticle
usepackage[geometry]ifsym
usepackageamsmath % for correct scaling in sub/superscripts
begindocument
[
a textnormalSmallSquare b
]
enddocument
The Comprehensive Symbol List lacks this detail.
Note that the symbols are text mode, so they will fail in math mode. As an example, SmallSquare
expands more or less to
fontencodingUfontfamilyifgeoselectfont symbol96
The font switching stuff is useless in math mode and symbol96
is all is left, leaving the @.
@egreg Of course... Actually I should know it...:-/
– campa
Nov 12 '18 at 12:44
@egreg I was slightly puzzled that the expansion oftextnormal
is unchanged with or withoutamsmath
. I had forgotten thatamstext
doesletnfss@texttext
...
– campa
Nov 12 '18 at 12:47
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%2f459596%2fa-symbol-imported-from-the-ifsym-package-is-not-recognized%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
By default the ifsym
package defines only a generic textifsymbol
macro. Specific abbreviations are declared in different subsets which can be loaded by the options clock
, weather
, alpine
, misc
, geometry
, electronic
. The geometric shapes must be loaded by
documentclassarticle
usepackage[geometry]ifsym
usepackageamsmath % for correct scaling in sub/superscripts
begindocument
[
a textnormalSmallSquare b
]
enddocument
The Comprehensive Symbol List lacks this detail.
Note that the symbols are text mode, so they will fail in math mode. As an example, SmallSquare
expands more or less to
fontencodingUfontfamilyifgeoselectfont symbol96
The font switching stuff is useless in math mode and symbol96
is all is left, leaving the @.
@egreg Of course... Actually I should know it...:-/
– campa
Nov 12 '18 at 12:44
@egreg I was slightly puzzled that the expansion oftextnormal
is unchanged with or withoutamsmath
. I had forgotten thatamstext
doesletnfss@texttext
...
– campa
Nov 12 '18 at 12:47
add a comment |
By default the ifsym
package defines only a generic textifsymbol
macro. Specific abbreviations are declared in different subsets which can be loaded by the options clock
, weather
, alpine
, misc
, geometry
, electronic
. The geometric shapes must be loaded by
documentclassarticle
usepackage[geometry]ifsym
usepackageamsmath % for correct scaling in sub/superscripts
begindocument
[
a textnormalSmallSquare b
]
enddocument
The Comprehensive Symbol List lacks this detail.
Note that the symbols are text mode, so they will fail in math mode. As an example, SmallSquare
expands more or less to
fontencodingUfontfamilyifgeoselectfont symbol96
The font switching stuff is useless in math mode and symbol96
is all is left, leaving the @.
@egreg Of course... Actually I should know it...:-/
– campa
Nov 12 '18 at 12:44
@egreg I was slightly puzzled that the expansion oftextnormal
is unchanged with or withoutamsmath
. I had forgotten thatamstext
doesletnfss@texttext
...
– campa
Nov 12 '18 at 12:47
add a comment |
By default the ifsym
package defines only a generic textifsymbol
macro. Specific abbreviations are declared in different subsets which can be loaded by the options clock
, weather
, alpine
, misc
, geometry
, electronic
. The geometric shapes must be loaded by
documentclassarticle
usepackage[geometry]ifsym
usepackageamsmath % for correct scaling in sub/superscripts
begindocument
[
a textnormalSmallSquare b
]
enddocument
The Comprehensive Symbol List lacks this detail.
Note that the symbols are text mode, so they will fail in math mode. As an example, SmallSquare
expands more or less to
fontencodingUfontfamilyifgeoselectfont symbol96
The font switching stuff is useless in math mode and symbol96
is all is left, leaving the @.
By default the ifsym
package defines only a generic textifsymbol
macro. Specific abbreviations are declared in different subsets which can be loaded by the options clock
, weather
, alpine
, misc
, geometry
, electronic
. The geometric shapes must be loaded by
documentclassarticle
usepackage[geometry]ifsym
usepackageamsmath % for correct scaling in sub/superscripts
begindocument
[
a textnormalSmallSquare b
]
enddocument
The Comprehensive Symbol List lacks this detail.
Note that the symbols are text mode, so they will fail in math mode. As an example, SmallSquare
expands more or less to
fontencodingUfontfamilyifgeoselectfont symbol96
The font switching stuff is useless in math mode and symbol96
is all is left, leaving the @.
edited Nov 12 '18 at 12:45
answered Nov 12 '18 at 11:19
campacampa
6,40721437
6,40721437
@egreg Of course... Actually I should know it...:-/
– campa
Nov 12 '18 at 12:44
@egreg I was slightly puzzled that the expansion oftextnormal
is unchanged with or withoutamsmath
. I had forgotten thatamstext
doesletnfss@texttext
...
– campa
Nov 12 '18 at 12:47
add a comment |
@egreg Of course... Actually I should know it...:-/
– campa
Nov 12 '18 at 12:44
@egreg I was slightly puzzled that the expansion oftextnormal
is unchanged with or withoutamsmath
. I had forgotten thatamstext
doesletnfss@texttext
...
– campa
Nov 12 '18 at 12:47
@egreg Of course... Actually I should know it...
:-/
– campa
Nov 12 '18 at 12:44
@egreg Of course... Actually I should know it...
:-/
– campa
Nov 12 '18 at 12:44
@egreg I was slightly puzzled that the expansion of
textnormal
is unchanged with or without amsmath
. I had forgotten that amstext
does letnfss@texttext
...– campa
Nov 12 '18 at 12:47
@egreg I was slightly puzzled that the expansion of
textnormal
is unchanged with or without amsmath
. I had forgotten that amstext
does letnfss@texttext
...– campa
Nov 12 '18 at 12:47
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%2f459596%2fa-symbol-imported-from-the-ifsym-package-is-not-recognized%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
@campa: Thanks. I tried adding the geometry option, but it's still not right. See my edit above.
– Evan Aad
Nov 12 '18 at 11:23
1
See edited answer. They are text mode commands.
– campa
Nov 12 '18 at 11:24