How to vertically wrapped page around formula?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
thank you for your time.
I wonder if it is possible to render one phrase only in latex and make sure the document is wrapped around the phrase (no bigger that it need to be)? I know you can set the size of a document with the package geometry
but I would prefer for it to be somewhat automatic as I want to incorporate this in a script.
example being the entire document:
Thank you for you time and help
geometry scripts
New contributor
add a comment |Â
up vote
2
down vote
favorite
thank you for your time.
I wonder if it is possible to render one phrase only in latex and make sure the document is wrapped around the phrase (no bigger that it need to be)? I know you can set the size of a document with the package geometry
but I would prefer for it to be somewhat automatic as I want to incorporate this in a script.
example being the entire document:
Thank you for you time and help
geometry scripts
New contributor
3
sounds like you are looking for thestandalone
documentclass. Can you post the code for your equation?
â samcarter
4 hours ago
this is exactly that. Thank you, I had no clue such thing existed, I thought that latex was only an article like document maker. I(ve put your answer.
â NRagot
4 hours ago
never underestimate the abilities of latex :)
â samcarter
4 hours ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
thank you for your time.
I wonder if it is possible to render one phrase only in latex and make sure the document is wrapped around the phrase (no bigger that it need to be)? I know you can set the size of a document with the package geometry
but I would prefer for it to be somewhat automatic as I want to incorporate this in a script.
example being the entire document:
Thank you for you time and help
geometry scripts
New contributor
thank you for your time.
I wonder if it is possible to render one phrase only in latex and make sure the document is wrapped around the phrase (no bigger that it need to be)? I know you can set the size of a document with the package geometry
but I would prefer for it to be somewhat automatic as I want to incorporate this in a script.
example being the entire document:
Thank you for you time and help
geometry scripts
geometry scripts
New contributor
New contributor
New contributor
asked 4 hours ago
NRagot
416
416
New contributor
New contributor
3
sounds like you are looking for thestandalone
documentclass. Can you post the code for your equation?
â samcarter
4 hours ago
this is exactly that. Thank you, I had no clue such thing existed, I thought that latex was only an article like document maker. I(ve put your answer.
â NRagot
4 hours ago
never underestimate the abilities of latex :)
â samcarter
4 hours ago
add a comment |Â
3
sounds like you are looking for thestandalone
documentclass. Can you post the code for your equation?
â samcarter
4 hours ago
this is exactly that. Thank you, I had no clue such thing existed, I thought that latex was only an article like document maker. I(ve put your answer.
â NRagot
4 hours ago
never underestimate the abilities of latex :)
â samcarter
4 hours ago
3
3
sounds like you are looking for the
standalone
documentclass. Can you post the code for your equation?â samcarter
4 hours ago
sounds like you are looking for the
standalone
documentclass. Can you post the code for your equation?â samcarter
4 hours ago
this is exactly that. Thank you, I had no clue such thing existed, I thought that latex was only an article like document maker. I(ve put your answer.
â NRagot
4 hours ago
this is exactly that. Thank you, I had no clue such thing existed, I thought that latex was only an article like document maker. I(ve put your answer.
â NRagot
4 hours ago
never underestimate the abilities of latex :)
â samcarter
4 hours ago
never underestimate the abilities of latex :)
â samcarter
4 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
Ok, the comment from samcarter allowed me to find what I needed on the internet. The standalone
document class is the one. This page has everything : How to make a standalone document with one equation?.
Thank you
Even though the one in the link seems awfully similar to mine, I wont erase my question since to find the one in the link you have to know the standalone
class (Unless asked otherwise of course). Good day to all.
edit:
As requested, here is the result
from
documentclassstandalone
begindocument
$
displaystyle
int_a^x f(t)dt = lim_n rightarrow +infty sum_k=0^n fracx - an fleft(k fracx - an + aright)
$
enddocument
Notice the use of $ displaystyle ... $
instead of $$ ... $$
; it is because the standalone
class doesn't accept $$
by default for being in crop mode. Going into preview mode only wrap the text vertically and not horizontally which is even better for me. If that is no problem for you however, just replace the line documentclassstandalone
by documentclass[preview]standalone
from which the class allow the use of $$
.
New contributor
you should show us your solution ...
â Zarko
4 hours ago
very well, I'll update immediately
â NRagot
4 hours ago
even better, ask @samcarte that (s)he extend her/his comment to an answer ...
â Zarko
4 hours ago
@S.lama Not necessary to ask me, I'm fine with you posting an answer yourself. As a improvement you could include a small sample document with the formula from your question.
â samcarter
3 hours ago
@S.lama Nice answer! You might want to avoid$$
altogether, see tex.stackexchange.com/questions/503/why-is-preferable-to
â samcarter
3 hours ago
 |Â
show 1 more comment
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
Ok, the comment from samcarter allowed me to find what I needed on the internet. The standalone
document class is the one. This page has everything : How to make a standalone document with one equation?.
Thank you
Even though the one in the link seems awfully similar to mine, I wont erase my question since to find the one in the link you have to know the standalone
class (Unless asked otherwise of course). Good day to all.
edit:
As requested, here is the result
from
documentclassstandalone
begindocument
$
displaystyle
int_a^x f(t)dt = lim_n rightarrow +infty sum_k=0^n fracx - an fleft(k fracx - an + aright)
$
enddocument
Notice the use of $ displaystyle ... $
instead of $$ ... $$
; it is because the standalone
class doesn't accept $$
by default for being in crop mode. Going into preview mode only wrap the text vertically and not horizontally which is even better for me. If that is no problem for you however, just replace the line documentclassstandalone
by documentclass[preview]standalone
from which the class allow the use of $$
.
New contributor
you should show us your solution ...
â Zarko
4 hours ago
very well, I'll update immediately
â NRagot
4 hours ago
even better, ask @samcarte that (s)he extend her/his comment to an answer ...
â Zarko
4 hours ago
@S.lama Not necessary to ask me, I'm fine with you posting an answer yourself. As a improvement you could include a small sample document with the formula from your question.
â samcarter
3 hours ago
@S.lama Nice answer! You might want to avoid$$
altogether, see tex.stackexchange.com/questions/503/why-is-preferable-to
â samcarter
3 hours ago
 |Â
show 1 more comment
up vote
3
down vote
Ok, the comment from samcarter allowed me to find what I needed on the internet. The standalone
document class is the one. This page has everything : How to make a standalone document with one equation?.
Thank you
Even though the one in the link seems awfully similar to mine, I wont erase my question since to find the one in the link you have to know the standalone
class (Unless asked otherwise of course). Good day to all.
edit:
As requested, here is the result
from
documentclassstandalone
begindocument
$
displaystyle
int_a^x f(t)dt = lim_n rightarrow +infty sum_k=0^n fracx - an fleft(k fracx - an + aright)
$
enddocument
Notice the use of $ displaystyle ... $
instead of $$ ... $$
; it is because the standalone
class doesn't accept $$
by default for being in crop mode. Going into preview mode only wrap the text vertically and not horizontally which is even better for me. If that is no problem for you however, just replace the line documentclassstandalone
by documentclass[preview]standalone
from which the class allow the use of $$
.
New contributor
you should show us your solution ...
â Zarko
4 hours ago
very well, I'll update immediately
â NRagot
4 hours ago
even better, ask @samcarte that (s)he extend her/his comment to an answer ...
â Zarko
4 hours ago
@S.lama Not necessary to ask me, I'm fine with you posting an answer yourself. As a improvement you could include a small sample document with the formula from your question.
â samcarter
3 hours ago
@S.lama Nice answer! You might want to avoid$$
altogether, see tex.stackexchange.com/questions/503/why-is-preferable-to
â samcarter
3 hours ago
 |Â
show 1 more comment
up vote
3
down vote
up vote
3
down vote
Ok, the comment from samcarter allowed me to find what I needed on the internet. The standalone
document class is the one. This page has everything : How to make a standalone document with one equation?.
Thank you
Even though the one in the link seems awfully similar to mine, I wont erase my question since to find the one in the link you have to know the standalone
class (Unless asked otherwise of course). Good day to all.
edit:
As requested, here is the result
from
documentclassstandalone
begindocument
$
displaystyle
int_a^x f(t)dt = lim_n rightarrow +infty sum_k=0^n fracx - an fleft(k fracx - an + aright)
$
enddocument
Notice the use of $ displaystyle ... $
instead of $$ ... $$
; it is because the standalone
class doesn't accept $$
by default for being in crop mode. Going into preview mode only wrap the text vertically and not horizontally which is even better for me. If that is no problem for you however, just replace the line documentclassstandalone
by documentclass[preview]standalone
from which the class allow the use of $$
.
New contributor
Ok, the comment from samcarter allowed me to find what I needed on the internet. The standalone
document class is the one. This page has everything : How to make a standalone document with one equation?.
Thank you
Even though the one in the link seems awfully similar to mine, I wont erase my question since to find the one in the link you have to know the standalone
class (Unless asked otherwise of course). Good day to all.
edit:
As requested, here is the result
from
documentclassstandalone
begindocument
$
displaystyle
int_a^x f(t)dt = lim_n rightarrow +infty sum_k=0^n fracx - an fleft(k fracx - an + aright)
$
enddocument
Notice the use of $ displaystyle ... $
instead of $$ ... $$
; it is because the standalone
class doesn't accept $$
by default for being in crop mode. Going into preview mode only wrap the text vertically and not horizontally which is even better for me. If that is no problem for you however, just replace the line documentclassstandalone
by documentclass[preview]standalone
from which the class allow the use of $$
.
New contributor
edited 2 hours ago
BambOo
2,762324
2,762324
New contributor
answered 4 hours ago
NRagot
416
416
New contributor
New contributor
you should show us your solution ...
â Zarko
4 hours ago
very well, I'll update immediately
â NRagot
4 hours ago
even better, ask @samcarte that (s)he extend her/his comment to an answer ...
â Zarko
4 hours ago
@S.lama Not necessary to ask me, I'm fine with you posting an answer yourself. As a improvement you could include a small sample document with the formula from your question.
â samcarter
3 hours ago
@S.lama Nice answer! You might want to avoid$$
altogether, see tex.stackexchange.com/questions/503/why-is-preferable-to
â samcarter
3 hours ago
 |Â
show 1 more comment
you should show us your solution ...
â Zarko
4 hours ago
very well, I'll update immediately
â NRagot
4 hours ago
even better, ask @samcarte that (s)he extend her/his comment to an answer ...
â Zarko
4 hours ago
@S.lama Not necessary to ask me, I'm fine with you posting an answer yourself. As a improvement you could include a small sample document with the formula from your question.
â samcarter
3 hours ago
@S.lama Nice answer! You might want to avoid$$
altogether, see tex.stackexchange.com/questions/503/why-is-preferable-to
â samcarter
3 hours ago
you should show us your solution ...
â Zarko
4 hours ago
you should show us your solution ...
â Zarko
4 hours ago
very well, I'll update immediately
â NRagot
4 hours ago
very well, I'll update immediately
â NRagot
4 hours ago
even better, ask @samcarte that (s)he extend her/his comment to an answer ...
â Zarko
4 hours ago
even better, ask @samcarte that (s)he extend her/his comment to an answer ...
â Zarko
4 hours ago
@S.lama Not necessary to ask me, I'm fine with you posting an answer yourself. As a improvement you could include a small sample document with the formula from your question.
â samcarter
3 hours ago
@S.lama Not necessary to ask me, I'm fine with you posting an answer yourself. As a improvement you could include a small sample document with the formula from your question.
â samcarter
3 hours ago
@S.lama Nice answer! You might want to avoid
$$
altogether, see tex.stackexchange.com/questions/503/why-is-preferable-toâ samcarter
3 hours ago
@S.lama Nice answer! You might want to avoid
$$
altogether, see tex.stackexchange.com/questions/503/why-is-preferable-toâ samcarter
3 hours ago
 |Â
show 1 more comment
NRagot is a new contributor. Be nice, and check out our Code of Conduct.
NRagot is a new contributor. Be nice, and check out our Code of Conduct.
NRagot is a new contributor. Be nice, and check out our Code of Conduct.
NRagot is a new contributor. Be nice, and check out our Code of Conduct.
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f455044%2fhow-to-vertically-wrapped-page-around-formula%23new-answer', 'question_page');
);
Post as a guest
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
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
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
3
sounds like you are looking for the
standalone
documentclass. Can you post the code for your equation?â samcarter
4 hours ago
this is exactly that. Thank you, I had no clue such thing existed, I thought that latex was only an article like document maker. I(ve put your answer.
â NRagot
4 hours ago
never underestimate the abilities of latex :)
â samcarter
4 hours ago