How to make a standalone document with one equation? The Next CEO of Stack Overflow“You can't use `eqno' in restricted horizontal mode. endequation”Bad math environment delimiter in standalone classStandalone package errors when creating tableProblems with the standalone class when using certain environments and certain math symbolsamsmath: error using subequation environment “Missing endgroup inserted endalign”begindocument ended by endlandscapeCompilation fails with eqnarray after reinstalling Miktexafter update my code stopped compiling! Missing $ inserted. erroralgorithmicx crashes standaloneProblem with usepackagestandalone in standalone file in new TeX Live distributionHow to use subcaption with standalonePath problem with included file inside of a standalone filePgfplots working as standalone but not in main documentstandalone - Can I specify the font size in the document?Standalone chapters with separate references and countersHow to automatically compile my standalone files before inserting them?Standalone tikz figure in landscape modeStandalone refuses to output some pictures included in a larger documentPicture created with standalone looks quite different than the original one
Why, when going from special to general relativity, do we just replace partial derivatives with covariant derivatives?
The exact meaning of 'Mom made me a sandwich'
Why do remote US companies require working in the US?
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
Rotate a column
Why didn't Khan get resurrected in the Genesis Explosion?
Newlines in BSD sed vs gsed
Does it make sense to invest money on space investigation?
Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?
Does increasing your ability score affect your main stat?
How to get from Geneva Airport to Metabief?
A Man With a Stainless Steel Endoskeleton (like The Terminator) Fighting Cloaked Aliens Only He Can See
Is there a difference between "Fahrstuhl" and "Aufzug"
Why isn't the Mueller report being released completely and unredacted?
Is wanting to ask what to write an indication that you need to change your story?
Flying from Cape Town to England and return to another province
Prepend last line of stdin to entire stdin
How do I align (1) and (2)?
Should I tutor a student who I know has cheated on their homework?
Axiom Schema vs Axiom
Is it convenient to ask the journal's editor for two additional days to complete a review?
How many extra stops do monopods offer for tele photographs?
Is micro rebar a better way to reinforce concrete than rebar?
How to make a standalone document with one equation?
The Next CEO of Stack Overflow“You can't use `eqno' in restricted horizontal mode. endequation”Bad math environment delimiter in standalone classStandalone package errors when creating tableProblems with the standalone class when using certain environments and certain math symbolsamsmath: error using subequation environment “Missing endgroup inserted endalign”begindocument ended by endlandscapeCompilation fails with eqnarray after reinstalling Miktexafter update my code stopped compiling! Missing $ inserted. erroralgorithmicx crashes standaloneProblem with usepackagestandalone in standalone file in new TeX Live distributionHow to use subcaption with standalonePath problem with included file inside of a standalone filePgfplots working as standalone but not in main documentstandalone - Can I specify the font size in the document?Standalone chapters with separate references and countersHow to automatically compile my standalone files before inserting them?Standalone tikz figure in landscape modeStandalone refuses to output some pictures included in a larger documentPicture created with standalone looks quite different than the original one
I was surprised to find that standalone
package can not compile a document with an equation:
documentclassstandalone
begindocument
beginequation % not working!
F(V, T) = E(V) + D(T)
endequation
enddocument
Is there an option or some workaround that allows this? The current error is something like:
! Missing $ inserted.
in line 4. (The idea of course is that the including (main) document can just input
the standalone without knowing if is going to be an equation or something else)
equations standalone
add a comment |
I was surprised to find that standalone
package can not compile a document with an equation:
documentclassstandalone
begindocument
beginequation % not working!
F(V, T) = E(V) + D(T)
endequation
enddocument
Is there an option or some workaround that allows this? The current error is something like:
! Missing $ inserted.
in line 4. (The idea of course is that the including (main) document can just input
the standalone without knowing if is going to be an equation or something else)
equations standalone
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
add a comment |
I was surprised to find that standalone
package can not compile a document with an equation:
documentclassstandalone
begindocument
beginequation % not working!
F(V, T) = E(V) + D(T)
endequation
enddocument
Is there an option or some workaround that allows this? The current error is something like:
! Missing $ inserted.
in line 4. (The idea of course is that the including (main) document can just input
the standalone without knowing if is going to be an equation or something else)
equations standalone
I was surprised to find that standalone
package can not compile a document with an equation:
documentclassstandalone
begindocument
beginequation % not working!
F(V, T) = E(V) + D(T)
endequation
enddocument
Is there an option or some workaround that allows this? The current error is something like:
! Missing $ inserted.
in line 4. (The idea of course is that the including (main) document can just input
the standalone without knowing if is going to be an equation or something else)
equations standalone
equations standalone
edited Mar 31 '12 at 6:20
Joseph Wright♦
205k23563891
205k23563891
asked Mar 31 '12 at 5:06
alfCalfC
7,833655117
7,833655117
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
add a comment |
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
add a comment |
3 Answers
3
active
oldest
votes
The 1.0 version of standalone
changed the default option from preview
to crop
. The latter has several benefits for the use-case the author (me) deemed most common, but forces restricted horizontal mode, which doesn't allow for lists or paragraphs. This causes an error for certain environments which require these.
One easy way is to enable the preview
mode manually by using it as a class option (documentclass[preview]standalone
). You can also reenable this option as default using the standalone.cfg
file as described in the manual.
However, with preview
you get a full line-wide PDF with the equation number (1) at the right, which is not really what you want, is it?
documentclass[preview]standalone
begindocument
beginequation % works now!
F(V, T) = E(V) + D(T)
endequation
enddocument
Instead it is better to use inline math mode using $ .. $
or ( .. )
, which will work with crop
and doesn't produce a full line nor a number. You can add displaystyle
if you need it:
documentclassstandalone
begindocument
$displaystyle
F(V, T) = E(V) + D(T)
$
enddocument
There is also the varwidth
option which will wrap the content in a varwidth
environment (varwidth
package), which is a variable width minipage
. This also allows for paragraph breaks etc. and might be better for multi-line equations. varwidth
takes an option length argument as text width.
I actually have amath
option in mind forstandalone
, but currently no time to implement it.
– Martin Scharrer♦
Mar 31 '12 at 9:33
With the [preview] option now works! 1) yes, the horizontal mode must have been a dilemma. 2) Answering your question about the numbering can give you ideas on how to implement a math option in standalone: In the final/long document is likely that one wants the numbering (so one is forced to use the equation environment) but in the preview/standalone the numeration doesn't make any sense. So one can add the following to the preamble of the standalonemakeatletter def@eqnnum makeatother
Something like this can be handled by your planned math option.
– alfC
Apr 1 '12 at 21:54
@MartinScharrer, I would like to see analign
equation environment in your plannedmath
option. Perhaps I'm being self-entitled, but hear out my use case: I'm usingsympy
to output some LaTeX math code andlatexmk
to refresh a PDF viewer. I'm still starting out with using this kind of environment. My objective is to automate tedious symbolic mathematical manipulations, especially helpful for non-math majors who need to tangle with big math (engineers like me). Or perhaps a full-blown math environment compatibility for standalone?
– Kit
Nov 15 '13 at 15:43
@MartinScharrer — Thanks for this great package! Is there any chance that you can add a note about this to the documentation? Currently, search for “math” does not give any results…
– jmc
Jun 12 '14 at 11:22
add a comment |
standalone
uses preview
internally.
documentclassarticle
usepackageamsmath
usepackage[active,tightpage]preview
% if you need the equation number, remove the asterix
PreviewEnvironmentequation*
% if you need paddings, adjust the following
PreviewBorder=0pt
begindocument
beginequation* % remove the asterix if you need the equation number
F(V, T) = E(V) + D(T)
endequation* % remove the asterix if you need the equation number
enddocument
thanks, but I don't understand what I have to do. Even if I compile your equivalent code (based on preview) the equation is not really rendered as math but as text.
– alfC
Mar 31 '12 at 5:33
@alfC: You need to loadamsmath
. See my edit above.
– kiss my armpit
Mar 31 '12 at 5:41
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
@S.Murugan: It works with thepreview
option enabled. This is the case by default with v0.x, but no longer with v1.x as explain in my answer. A "original" TL2011 might still have v0.x, but an updated one has v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:27
@DamienWalters:standalone
only usespreview
if thepreview
option is used, which is no longer the default in v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:29
add a comment |
I tried your code with a slight adjustment. Instead of beginequation
and endequation
I wrapped the equation with dollar symbols like this:
documentclassstandalone
begindocument
$F(V_x, T, sigma) = E(V_x) + D(T,sigma)$
enddocument
This compiles without error for me. It does not provide you with equation numbering though.
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%2f50162%2fhow-to-make-a-standalone-document-with-one-equation%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The 1.0 version of standalone
changed the default option from preview
to crop
. The latter has several benefits for the use-case the author (me) deemed most common, but forces restricted horizontal mode, which doesn't allow for lists or paragraphs. This causes an error for certain environments which require these.
One easy way is to enable the preview
mode manually by using it as a class option (documentclass[preview]standalone
). You can also reenable this option as default using the standalone.cfg
file as described in the manual.
However, with preview
you get a full line-wide PDF with the equation number (1) at the right, which is not really what you want, is it?
documentclass[preview]standalone
begindocument
beginequation % works now!
F(V, T) = E(V) + D(T)
endequation
enddocument
Instead it is better to use inline math mode using $ .. $
or ( .. )
, which will work with crop
and doesn't produce a full line nor a number. You can add displaystyle
if you need it:
documentclassstandalone
begindocument
$displaystyle
F(V, T) = E(V) + D(T)
$
enddocument
There is also the varwidth
option which will wrap the content in a varwidth
environment (varwidth
package), which is a variable width minipage
. This also allows for paragraph breaks etc. and might be better for multi-line equations. varwidth
takes an option length argument as text width.
I actually have amath
option in mind forstandalone
, but currently no time to implement it.
– Martin Scharrer♦
Mar 31 '12 at 9:33
With the [preview] option now works! 1) yes, the horizontal mode must have been a dilemma. 2) Answering your question about the numbering can give you ideas on how to implement a math option in standalone: In the final/long document is likely that one wants the numbering (so one is forced to use the equation environment) but in the preview/standalone the numeration doesn't make any sense. So one can add the following to the preamble of the standalonemakeatletter def@eqnnum makeatother
Something like this can be handled by your planned math option.
– alfC
Apr 1 '12 at 21:54
@MartinScharrer, I would like to see analign
equation environment in your plannedmath
option. Perhaps I'm being self-entitled, but hear out my use case: I'm usingsympy
to output some LaTeX math code andlatexmk
to refresh a PDF viewer. I'm still starting out with using this kind of environment. My objective is to automate tedious symbolic mathematical manipulations, especially helpful for non-math majors who need to tangle with big math (engineers like me). Or perhaps a full-blown math environment compatibility for standalone?
– Kit
Nov 15 '13 at 15:43
@MartinScharrer — Thanks for this great package! Is there any chance that you can add a note about this to the documentation? Currently, search for “math” does not give any results…
– jmc
Jun 12 '14 at 11:22
add a comment |
The 1.0 version of standalone
changed the default option from preview
to crop
. The latter has several benefits for the use-case the author (me) deemed most common, but forces restricted horizontal mode, which doesn't allow for lists or paragraphs. This causes an error for certain environments which require these.
One easy way is to enable the preview
mode manually by using it as a class option (documentclass[preview]standalone
). You can also reenable this option as default using the standalone.cfg
file as described in the manual.
However, with preview
you get a full line-wide PDF with the equation number (1) at the right, which is not really what you want, is it?
documentclass[preview]standalone
begindocument
beginequation % works now!
F(V, T) = E(V) + D(T)
endequation
enddocument
Instead it is better to use inline math mode using $ .. $
or ( .. )
, which will work with crop
and doesn't produce a full line nor a number. You can add displaystyle
if you need it:
documentclassstandalone
begindocument
$displaystyle
F(V, T) = E(V) + D(T)
$
enddocument
There is also the varwidth
option which will wrap the content in a varwidth
environment (varwidth
package), which is a variable width minipage
. This also allows for paragraph breaks etc. and might be better for multi-line equations. varwidth
takes an option length argument as text width.
I actually have amath
option in mind forstandalone
, but currently no time to implement it.
– Martin Scharrer♦
Mar 31 '12 at 9:33
With the [preview] option now works! 1) yes, the horizontal mode must have been a dilemma. 2) Answering your question about the numbering can give you ideas on how to implement a math option in standalone: In the final/long document is likely that one wants the numbering (so one is forced to use the equation environment) but in the preview/standalone the numeration doesn't make any sense. So one can add the following to the preamble of the standalonemakeatletter def@eqnnum makeatother
Something like this can be handled by your planned math option.
– alfC
Apr 1 '12 at 21:54
@MartinScharrer, I would like to see analign
equation environment in your plannedmath
option. Perhaps I'm being self-entitled, but hear out my use case: I'm usingsympy
to output some LaTeX math code andlatexmk
to refresh a PDF viewer. I'm still starting out with using this kind of environment. My objective is to automate tedious symbolic mathematical manipulations, especially helpful for non-math majors who need to tangle with big math (engineers like me). Or perhaps a full-blown math environment compatibility for standalone?
– Kit
Nov 15 '13 at 15:43
@MartinScharrer — Thanks for this great package! Is there any chance that you can add a note about this to the documentation? Currently, search for “math” does not give any results…
– jmc
Jun 12 '14 at 11:22
add a comment |
The 1.0 version of standalone
changed the default option from preview
to crop
. The latter has several benefits for the use-case the author (me) deemed most common, but forces restricted horizontal mode, which doesn't allow for lists or paragraphs. This causes an error for certain environments which require these.
One easy way is to enable the preview
mode manually by using it as a class option (documentclass[preview]standalone
). You can also reenable this option as default using the standalone.cfg
file as described in the manual.
However, with preview
you get a full line-wide PDF with the equation number (1) at the right, which is not really what you want, is it?
documentclass[preview]standalone
begindocument
beginequation % works now!
F(V, T) = E(V) + D(T)
endequation
enddocument
Instead it is better to use inline math mode using $ .. $
or ( .. )
, which will work with crop
and doesn't produce a full line nor a number. You can add displaystyle
if you need it:
documentclassstandalone
begindocument
$displaystyle
F(V, T) = E(V) + D(T)
$
enddocument
There is also the varwidth
option which will wrap the content in a varwidth
environment (varwidth
package), which is a variable width minipage
. This also allows for paragraph breaks etc. and might be better for multi-line equations. varwidth
takes an option length argument as text width.
The 1.0 version of standalone
changed the default option from preview
to crop
. The latter has several benefits for the use-case the author (me) deemed most common, but forces restricted horizontal mode, which doesn't allow for lists or paragraphs. This causes an error for certain environments which require these.
One easy way is to enable the preview
mode manually by using it as a class option (documentclass[preview]standalone
). You can also reenable this option as default using the standalone.cfg
file as described in the manual.
However, with preview
you get a full line-wide PDF with the equation number (1) at the right, which is not really what you want, is it?
documentclass[preview]standalone
begindocument
beginequation % works now!
F(V, T) = E(V) + D(T)
endequation
enddocument
Instead it is better to use inline math mode using $ .. $
or ( .. )
, which will work with crop
and doesn't produce a full line nor a number. You can add displaystyle
if you need it:
documentclassstandalone
begindocument
$displaystyle
F(V, T) = E(V) + D(T)
$
enddocument
There is also the varwidth
option which will wrap the content in a varwidth
environment (varwidth
package), which is a variable width minipage
. This also allows for paragraph breaks etc. and might be better for multi-line equations. varwidth
takes an option length argument as text width.
answered Mar 31 '12 at 9:25
Martin Scharrer♦Martin Scharrer
204k47652825
204k47652825
I actually have amath
option in mind forstandalone
, but currently no time to implement it.
– Martin Scharrer♦
Mar 31 '12 at 9:33
With the [preview] option now works! 1) yes, the horizontal mode must have been a dilemma. 2) Answering your question about the numbering can give you ideas on how to implement a math option in standalone: In the final/long document is likely that one wants the numbering (so one is forced to use the equation environment) but in the preview/standalone the numeration doesn't make any sense. So one can add the following to the preamble of the standalonemakeatletter def@eqnnum makeatother
Something like this can be handled by your planned math option.
– alfC
Apr 1 '12 at 21:54
@MartinScharrer, I would like to see analign
equation environment in your plannedmath
option. Perhaps I'm being self-entitled, but hear out my use case: I'm usingsympy
to output some LaTeX math code andlatexmk
to refresh a PDF viewer. I'm still starting out with using this kind of environment. My objective is to automate tedious symbolic mathematical manipulations, especially helpful for non-math majors who need to tangle with big math (engineers like me). Or perhaps a full-blown math environment compatibility for standalone?
– Kit
Nov 15 '13 at 15:43
@MartinScharrer — Thanks for this great package! Is there any chance that you can add a note about this to the documentation? Currently, search for “math” does not give any results…
– jmc
Jun 12 '14 at 11:22
add a comment |
I actually have amath
option in mind forstandalone
, but currently no time to implement it.
– Martin Scharrer♦
Mar 31 '12 at 9:33
With the [preview] option now works! 1) yes, the horizontal mode must have been a dilemma. 2) Answering your question about the numbering can give you ideas on how to implement a math option in standalone: In the final/long document is likely that one wants the numbering (so one is forced to use the equation environment) but in the preview/standalone the numeration doesn't make any sense. So one can add the following to the preamble of the standalonemakeatletter def@eqnnum makeatother
Something like this can be handled by your planned math option.
– alfC
Apr 1 '12 at 21:54
@MartinScharrer, I would like to see analign
equation environment in your plannedmath
option. Perhaps I'm being self-entitled, but hear out my use case: I'm usingsympy
to output some LaTeX math code andlatexmk
to refresh a PDF viewer. I'm still starting out with using this kind of environment. My objective is to automate tedious symbolic mathematical manipulations, especially helpful for non-math majors who need to tangle with big math (engineers like me). Or perhaps a full-blown math environment compatibility for standalone?
– Kit
Nov 15 '13 at 15:43
@MartinScharrer — Thanks for this great package! Is there any chance that you can add a note about this to the documentation? Currently, search for “math” does not give any results…
– jmc
Jun 12 '14 at 11:22
I actually have a
math
option in mind for standalone
, but currently no time to implement it.– Martin Scharrer♦
Mar 31 '12 at 9:33
I actually have a
math
option in mind for standalone
, but currently no time to implement it.– Martin Scharrer♦
Mar 31 '12 at 9:33
With the [preview] option now works! 1) yes, the horizontal mode must have been a dilemma. 2) Answering your question about the numbering can give you ideas on how to implement a math option in standalone: In the final/long document is likely that one wants the numbering (so one is forced to use the equation environment) but in the preview/standalone the numeration doesn't make any sense. So one can add the following to the preamble of the standalone
makeatletter def@eqnnum makeatother
Something like this can be handled by your planned math option.– alfC
Apr 1 '12 at 21:54
With the [preview] option now works! 1) yes, the horizontal mode must have been a dilemma. 2) Answering your question about the numbering can give you ideas on how to implement a math option in standalone: In the final/long document is likely that one wants the numbering (so one is forced to use the equation environment) but in the preview/standalone the numeration doesn't make any sense. So one can add the following to the preamble of the standalone
makeatletter def@eqnnum makeatother
Something like this can be handled by your planned math option.– alfC
Apr 1 '12 at 21:54
@MartinScharrer, I would like to see an
align
equation environment in your planned math
option. Perhaps I'm being self-entitled, but hear out my use case: I'm using sympy
to output some LaTeX math code and latexmk
to refresh a PDF viewer. I'm still starting out with using this kind of environment. My objective is to automate tedious symbolic mathematical manipulations, especially helpful for non-math majors who need to tangle with big math (engineers like me). Or perhaps a full-blown math environment compatibility for standalone?– Kit
Nov 15 '13 at 15:43
@MartinScharrer, I would like to see an
align
equation environment in your planned math
option. Perhaps I'm being self-entitled, but hear out my use case: I'm using sympy
to output some LaTeX math code and latexmk
to refresh a PDF viewer. I'm still starting out with using this kind of environment. My objective is to automate tedious symbolic mathematical manipulations, especially helpful for non-math majors who need to tangle with big math (engineers like me). Or perhaps a full-blown math environment compatibility for standalone?– Kit
Nov 15 '13 at 15:43
@MartinScharrer — Thanks for this great package! Is there any chance that you can add a note about this to the documentation? Currently, search for “math” does not give any results…
– jmc
Jun 12 '14 at 11:22
@MartinScharrer — Thanks for this great package! Is there any chance that you can add a note about this to the documentation? Currently, search for “math” does not give any results…
– jmc
Jun 12 '14 at 11:22
add a comment |
standalone
uses preview
internally.
documentclassarticle
usepackageamsmath
usepackage[active,tightpage]preview
% if you need the equation number, remove the asterix
PreviewEnvironmentequation*
% if you need paddings, adjust the following
PreviewBorder=0pt
begindocument
beginequation* % remove the asterix if you need the equation number
F(V, T) = E(V) + D(T)
endequation* % remove the asterix if you need the equation number
enddocument
thanks, but I don't understand what I have to do. Even if I compile your equivalent code (based on preview) the equation is not really rendered as math but as text.
– alfC
Mar 31 '12 at 5:33
@alfC: You need to loadamsmath
. See my edit above.
– kiss my armpit
Mar 31 '12 at 5:41
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
@S.Murugan: It works with thepreview
option enabled. This is the case by default with v0.x, but no longer with v1.x as explain in my answer. A "original" TL2011 might still have v0.x, but an updated one has v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:27
@DamienWalters:standalone
only usespreview
if thepreview
option is used, which is no longer the default in v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:29
add a comment |
standalone
uses preview
internally.
documentclassarticle
usepackageamsmath
usepackage[active,tightpage]preview
% if you need the equation number, remove the asterix
PreviewEnvironmentequation*
% if you need paddings, adjust the following
PreviewBorder=0pt
begindocument
beginequation* % remove the asterix if you need the equation number
F(V, T) = E(V) + D(T)
endequation* % remove the asterix if you need the equation number
enddocument
thanks, but I don't understand what I have to do. Even if I compile your equivalent code (based on preview) the equation is not really rendered as math but as text.
– alfC
Mar 31 '12 at 5:33
@alfC: You need to loadamsmath
. See my edit above.
– kiss my armpit
Mar 31 '12 at 5:41
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
@S.Murugan: It works with thepreview
option enabled. This is the case by default with v0.x, but no longer with v1.x as explain in my answer. A "original" TL2011 might still have v0.x, but an updated one has v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:27
@DamienWalters:standalone
only usespreview
if thepreview
option is used, which is no longer the default in v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:29
add a comment |
standalone
uses preview
internally.
documentclassarticle
usepackageamsmath
usepackage[active,tightpage]preview
% if you need the equation number, remove the asterix
PreviewEnvironmentequation*
% if you need paddings, adjust the following
PreviewBorder=0pt
begindocument
beginequation* % remove the asterix if you need the equation number
F(V, T) = E(V) + D(T)
endequation* % remove the asterix if you need the equation number
enddocument
standalone
uses preview
internally.
documentclassarticle
usepackageamsmath
usepackage[active,tightpage]preview
% if you need the equation number, remove the asterix
PreviewEnvironmentequation*
% if you need paddings, adjust the following
PreviewBorder=0pt
begindocument
beginequation* % remove the asterix if you need the equation number
F(V, T) = E(V) + D(T)
endequation* % remove the asterix if you need the equation number
enddocument
edited Mar 31 '12 at 5:41
answered Mar 31 '12 at 5:19
kiss my armpitkiss my armpit
13.3k20174407
13.3k20174407
thanks, but I don't understand what I have to do. Even if I compile your equivalent code (based on preview) the equation is not really rendered as math but as text.
– alfC
Mar 31 '12 at 5:33
@alfC: You need to loadamsmath
. See my edit above.
– kiss my armpit
Mar 31 '12 at 5:41
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
@S.Murugan: It works with thepreview
option enabled. This is the case by default with v0.x, but no longer with v1.x as explain in my answer. A "original" TL2011 might still have v0.x, but an updated one has v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:27
@DamienWalters:standalone
only usespreview
if thepreview
option is used, which is no longer the default in v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:29
add a comment |
thanks, but I don't understand what I have to do. Even if I compile your equivalent code (based on preview) the equation is not really rendered as math but as text.
– alfC
Mar 31 '12 at 5:33
@alfC: You need to loadamsmath
. See my edit above.
– kiss my armpit
Mar 31 '12 at 5:41
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
@S.Murugan: It works with thepreview
option enabled. This is the case by default with v0.x, but no longer with v1.x as explain in my answer. A "original" TL2011 might still have v0.x, but an updated one has v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:27
@DamienWalters:standalone
only usespreview
if thepreview
option is used, which is no longer the default in v1.0.
– Martin Scharrer♦
Mar 31 '12 at 9:29
thanks, but I don't understand what I have to do. Even if I compile your equivalent code (based on preview) the equation is not really rendered as math but as text.
– alfC
Mar 31 '12 at 5:33
thanks, but I don't understand what I have to do. Even if I compile your equivalent code (based on preview) the equation is not really rendered as math but as text.
– alfC
Mar 31 '12 at 5:33
@alfC: You need to load
amsmath
. See my edit above.– kiss my armpit
Mar 31 '12 at 5:41
@alfC: You need to load
amsmath
. See my edit above.– kiss my armpit
Mar 31 '12 at 5:41
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55
@S.Murugan: It works with the
preview
option enabled. This is the case by default with v0.x, but no longer with v1.x as explain in my answer. A "original" TL2011 might still have v0.x, but an updated one has v1.0.– Martin Scharrer♦
Mar 31 '12 at 9:27
@S.Murugan: It works with the
preview
option enabled. This is the case by default with v0.x, but no longer with v1.x as explain in my answer. A "original" TL2011 might still have v0.x, but an updated one has v1.0.– Martin Scharrer♦
Mar 31 '12 at 9:27
@DamienWalters:
standalone
only uses preview
if the preview
option is used, which is no longer the default in v1.0.– Martin Scharrer♦
Mar 31 '12 at 9:29
@DamienWalters:
standalone
only uses preview
if the preview
option is used, which is no longer the default in v1.0.– Martin Scharrer♦
Mar 31 '12 at 9:29
add a comment |
I tried your code with a slight adjustment. Instead of beginequation
and endequation
I wrapped the equation with dollar symbols like this:
documentclassstandalone
begindocument
$F(V_x, T, sigma) = E(V_x) + D(T,sigma)$
enddocument
This compiles without error for me. It does not provide you with equation numbering though.
add a comment |
I tried your code with a slight adjustment. Instead of beginequation
and endequation
I wrapped the equation with dollar symbols like this:
documentclassstandalone
begindocument
$F(V_x, T, sigma) = E(V_x) + D(T,sigma)$
enddocument
This compiles without error for me. It does not provide you with equation numbering though.
add a comment |
I tried your code with a slight adjustment. Instead of beginequation
and endequation
I wrapped the equation with dollar symbols like this:
documentclassstandalone
begindocument
$F(V_x, T, sigma) = E(V_x) + D(T,sigma)$
enddocument
This compiles without error for me. It does not provide you with equation numbering though.
I tried your code with a slight adjustment. Instead of beginequation
and endequation
I wrapped the equation with dollar symbols like this:
documentclassstandalone
begindocument
$F(V_x, T, sigma) = E(V_x) + D(T,sigma)$
enddocument
This compiles without error for me. It does not provide you with equation numbering though.
answered Mar 31 '12 at 6:04
Saaru LindestøkkeSaaru Lindestøkke
9441129
9441129
add a comment |
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%2f50162%2fhow-to-make-a-standalone-document-with-one-equation%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
Its work in texlive2011 check it.
– Mu30 murugans2katgmail
Mar 31 '12 at 6:55