How can I use math.log10 function with the directlua?
What is a good way to foreshadow that magic is actually very advanced technology?
How do creatures spend Hit Dice after a short rest (if they can do so)?
"On one hand" vs "on the one hand."
Word or phrase for showing great skill at something without formal training in it
Slow moving projectiles from a hand-held weapon - how do they reach the target?
Luggage storage for 10 days in Tokyo
Getting a UK passport renewed when you have dual nationality and a different name in your second country?
Is it safe to try charging my laptop with a USB-C PD charger that has less wattage than recommended?
Why would the Pakistan airspace closure cancel flights not headed to Pakistan itself?
Tikzing a circled star
The vanishing of sum of coefficients: symmetric polynomials
Using loops to create tables
Are there any outlying considerations if I treat donning a shield as an object interaction during the first round of combat?
What makes the Forgotten Realms "forgotten"?
Eww, those bytes are gross
Planet at the end of Solo: A Star Wars Story
How do you funnel food off a cutting board?
Can polymorphing monsters spam their ability to effectively give themselves a massive health pool?
Does my logo design convey the right feelings for a University Student's Council?
Explain the objections to these measures against human trafficking
Why do neural networks need so many training examples to perform?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
Is there a better way to make this?
Why zero tolerance on nudity in space?
How can I use math.log10 function with the directlua?
I would like to know how I can use math.log10 function with the directlua, because I always get none from directlua.
Following a minimal example:
%Engine: LuaLaTeX;
%Encoding: UTF-8;
documentclass[11pt,A4paper]{article}
begin{document}
{centering Function $log$ - Examplepar}
noindentdirectlua{tex.print(math.log(math.exp(1)))} is the natural logarithm
of $e$.
directlua{tex.print(math.log10(100))} is the base-10 logarithm of 100.
textbf{What is the mistake in the last sentence?}
end{document}
luatex directlua
add a comment |
I would like to know how I can use math.log10 function with the directlua, because I always get none from directlua.
Following a minimal example:
%Engine: LuaLaTeX;
%Encoding: UTF-8;
documentclass[11pt,A4paper]{article}
begin{document}
{centering Function $log$ - Examplepar}
noindentdirectlua{tex.print(math.log(math.exp(1)))} is the natural logarithm
of $e$.
directlua{tex.print(math.log10(100))} is the base-10 logarithm of 100.
textbf{What is the mistake in the last sentence?}
end{document}
luatex directlua
add a comment |
I would like to know how I can use math.log10 function with the directlua, because I always get none from directlua.
Following a minimal example:
%Engine: LuaLaTeX;
%Encoding: UTF-8;
documentclass[11pt,A4paper]{article}
begin{document}
{centering Function $log$ - Examplepar}
noindentdirectlua{tex.print(math.log(math.exp(1)))} is the natural logarithm
of $e$.
directlua{tex.print(math.log10(100))} is the base-10 logarithm of 100.
textbf{What is the mistake in the last sentence?}
end{document}
luatex directlua
I would like to know how I can use math.log10 function with the directlua, because I always get none from directlua.
Following a minimal example:
%Engine: LuaLaTeX;
%Encoding: UTF-8;
documentclass[11pt,A4paper]{article}
begin{document}
{centering Function $log$ - Examplepar}
noindentdirectlua{tex.print(math.log(math.exp(1)))} is the natural logarithm
of $e$.
directlua{tex.print(math.log10(100))} is the base-10 logarithm of 100.
textbf{What is the mistake in the last sentence?}
end{document}
luatex directlua
luatex directlua
asked 1 min ago
VASVAS
255
255
add a comment |
add a comment |
0
active
oldest
votes
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%2f477489%2fhow-can-i-use-math-log10-function-with-the-directlua%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f477489%2fhow-can-i-use-math-log10-function-with-the-directlua%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