Undefined control sequence in R markdown
up vote
1
down vote
favorite
I have got stuck on this code which I could not be
able to find that in my content anymore after checking for
more than two times.
Is there any packages I should have updated?
As I am using TexShop and Text Live Utility.
Thank you very much!
I need to compile it and submit the assignment on time. :(
Any help would be appreciated!!
/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS STAT_731_Exam_3_JenLi_Chen.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output STAT_731_Exam_3_JenLi_Chen.tex --template /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rmarkdown/rmd/latex/default-1.17.0.2.tex --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable 'geometry:margin=1in' --variable 'compact-title:yes'
! Undefined control sequence.
l.138 ...a)e^{-x/theta},) (xge0,) (thetagt
0)
r markdown
add a comment |
up vote
1
down vote
favorite
I have got stuck on this code which I could not be
able to find that in my content anymore after checking for
more than two times.
Is there any packages I should have updated?
As I am using TexShop and Text Live Utility.
Thank you very much!
I need to compile it and submit the assignment on time. :(
Any help would be appreciated!!
/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS STAT_731_Exam_3_JenLi_Chen.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output STAT_731_Exam_3_JenLi_Chen.tex --template /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rmarkdown/rmd/latex/default-1.17.0.2.tex --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable 'geometry:margin=1in' --variable 'compact-title:yes'
! Undefined control sequence.
l.138 ...a)e^{-x/theta},) (xge0,) (thetagt
0)
r markdown
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have got stuck on this code which I could not be
able to find that in my content anymore after checking for
more than two times.
Is there any packages I should have updated?
As I am using TexShop and Text Live Utility.
Thank you very much!
I need to compile it and submit the assignment on time. :(
Any help would be appreciated!!
/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS STAT_731_Exam_3_JenLi_Chen.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output STAT_731_Exam_3_JenLi_Chen.tex --template /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rmarkdown/rmd/latex/default-1.17.0.2.tex --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable 'geometry:margin=1in' --variable 'compact-title:yes'
! Undefined control sequence.
l.138 ...a)e^{-x/theta},) (xge0,) (thetagt
0)
r markdown
I have got stuck on this code which I could not be
able to find that in my content anymore after checking for
more than two times.
Is there any packages I should have updated?
As I am using TexShop and Text Live Utility.
Thank you very much!
I need to compile it and submit the assignment on time. :(
Any help would be appreciated!!
/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS STAT_731_Exam_3_JenLi_Chen.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output STAT_731_Exam_3_JenLi_Chen.tex --template /Library/Frameworks/R.framework/Versions/3.5/Resources/library/rmarkdown/rmd/latex/default-1.17.0.2.tex --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable 'geometry:margin=1in' --variable 'compact-title:yes'
! Undefined control sequence.
l.138 ...a)e^{-x/theta},) (xge0,) (thetagt
0)
r markdown
r markdown
asked Dec 4 at 0:53
Chen
102
102
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Macros like ge
is defined by default to be equivalent to geq
or ≥
. However, gt
is not. Assuming it should be equivalent to >
, you can just add
---
# ...
header-includes:
- newcommand{gt}{>}
- newcommand{lt}{<}
# ...
---
nath
defines them as well
edeflt{mathcharthemathcode`<relax}
edefgt{mathcharthemathcode`>relax}
so you can
---
# ...
header-includes:
-usepackage{nath}
# ...
---
as part of your YAML header.
Thank you very much!!
– Chen
Dec 5 at 22:55
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Macros like ge
is defined by default to be equivalent to geq
or ≥
. However, gt
is not. Assuming it should be equivalent to >
, you can just add
---
# ...
header-includes:
- newcommand{gt}{>}
- newcommand{lt}{<}
# ...
---
nath
defines them as well
edeflt{mathcharthemathcode`<relax}
edefgt{mathcharthemathcode`>relax}
so you can
---
# ...
header-includes:
-usepackage{nath}
# ...
---
as part of your YAML header.
Thank you very much!!
– Chen
Dec 5 at 22:55
add a comment |
up vote
3
down vote
accepted
Macros like ge
is defined by default to be equivalent to geq
or ≥
. However, gt
is not. Assuming it should be equivalent to >
, you can just add
---
# ...
header-includes:
- newcommand{gt}{>}
- newcommand{lt}{<}
# ...
---
nath
defines them as well
edeflt{mathcharthemathcode`<relax}
edefgt{mathcharthemathcode`>relax}
so you can
---
# ...
header-includes:
-usepackage{nath}
# ...
---
as part of your YAML header.
Thank you very much!!
– Chen
Dec 5 at 22:55
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Macros like ge
is defined by default to be equivalent to geq
or ≥
. However, gt
is not. Assuming it should be equivalent to >
, you can just add
---
# ...
header-includes:
- newcommand{gt}{>}
- newcommand{lt}{<}
# ...
---
nath
defines them as well
edeflt{mathcharthemathcode`<relax}
edefgt{mathcharthemathcode`>relax}
so you can
---
# ...
header-includes:
-usepackage{nath}
# ...
---
as part of your YAML header.
Macros like ge
is defined by default to be equivalent to geq
or ≥
. However, gt
is not. Assuming it should be equivalent to >
, you can just add
---
# ...
header-includes:
- newcommand{gt}{>}
- newcommand{lt}{<}
# ...
---
nath
defines them as well
edeflt{mathcharthemathcode`<relax}
edefgt{mathcharthemathcode`>relax}
so you can
---
# ...
header-includes:
-usepackage{nath}
# ...
---
as part of your YAML header.
answered Dec 4 at 2:23
Werner
434k619531639
434k619531639
Thank you very much!!
– Chen
Dec 5 at 22:55
add a comment |
Thank you very much!!
– Chen
Dec 5 at 22:55
Thank you very much!!
– Chen
Dec 5 at 22:55
Thank you very much!!
– Chen
Dec 5 at 22:55
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f463072%2fundefined-control-sequence-in-r-markdown%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