align* environment issuesalign inside of tabularIssues with fractions and alignalign* environment in array columnIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Issues with system of equations: systeme fix and align environmentSome alignment issues in the align environmentProblem with figure using subfloat and amsmath alignMerging inside align-environmentEquation inside framebox giving errorsamsmath align issues with equations

What does the view outside my ship traveling at light speed look like?

Is the field of q-series 'dead'?

How strong are Wi-Fi signals?

Website returning plaintext password

Is the Starlink array really visible from Earth?

Is it possible to play as a necromancer skeleton?

Were pens caps holes designed to prevent death by suffocation if swallowed?

A steel cutting sword?

Why colon to denote that a value belongs to a type?

Why are C64 games inconsistent with which joystick port they use?

Why does Mjolnir fall down in Age of Ultron but not in Endgame?

Is there some hidden joke behind the "it's never lupus" running gag in House?

Why does this if-statement combining assignment and an equality check return true?

Compactness of finite sets

Is real public IP Address hidden when using a system wide proxy in Windows 10?

Does the unit of measure matter when you are solving for the diameter of a circumference?

Looking for a soft substance that doesn't dissolve underwater

Image processing: Removal of two spots in fundus images

Why did David Cameron offer a referendum on the European Union?

Does Nitrogen inside commercial airliner wheels prevent blowouts on touchdown?

Make 24 using exactly three 3s

Is neural networks training done one-by-one?

I unknowingly submitted plagarised work

If a person had control of every single cell of their body, would they be able to transform into another creature?



align* environment issues


align inside of tabularIssues with fractions and alignalign* environment in array columnIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Issues with system of equations: systeme fix and align environmentSome alignment issues in the align environmentProblem with figure using subfloat and amsmath alignMerging inside align-environmentEquation inside framebox giving errorsamsmath align issues with equations













1















I cannot see what is wrong with the following and would appreciate any pointers.



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
%[
beginalign*
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
endalign*
%]

enddocument


This gives me errors with the environment:



Missing endgroup inserted. endalign*
Missing } inserted. endalign*
begindocument ended by endalign*. endalign*
Missing $ inserted. endalign*
Display math should end with $$. endalign*
Extra endgroup. endalign*
Too many }'s. enddocument
Overfull hbox (116.89484pt too wide) detected


I also tried with [ ] environment rather than align* but that use gives me a different set of errors:



Missing $ inserted. & A_
Extra }, or forgotten $. & A_1 &
Missing $ inserted. & A_1 &
Missing } inserted. & A_1 &
Missing $ inserted. & A_1 & A_
Extra }, or forgotten $. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 &
Missing } inserted. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 & A_
Extra }, or forgotten $. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 &
Missing } inserted. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 & A_
Extra }, or forgotten $. begin
Missing $ inserted. begin
Missing } inserted. begin
Missing $ inserted. q_
Extra }, or forgotten $. q_1 &
Missing $ inserted. q_1 &
Missing } inserted. q_1 &
Missing $ inserted. q_
Extra }, or forgotten $. q_2 &
Missing $ inserted. q_2 &
Missing } inserted. q_2 &
Missing $ inserted. q_
Extra }, or forgotten $. q_3 &
Missing $ inserted. q_3 &
Missing } inserted. q_3 &
Missing $ inserted. q_
Extra }, or forgotten $. q_4 &
Missing $ inserted. q_4 &
Missing } inserted. q_4 &
Bad math environment delimiter. ]









share|improve this question






















  • why use align at all here you only have a single line and no alignment point?

    – David Carlisle
    8 hours ago











  • Good point. Do you know why I am getting errors with the [ ... ]?

    – ozsu
    8 hours ago















1















I cannot see what is wrong with the following and would appreciate any pointers.



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
%[
beginalign*
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
endalign*
%]

enddocument


This gives me errors with the environment:



Missing endgroup inserted. endalign*
Missing } inserted. endalign*
begindocument ended by endalign*. endalign*
Missing $ inserted. endalign*
Display math should end with $$. endalign*
Extra endgroup. endalign*
Too many }'s. enddocument
Overfull hbox (116.89484pt too wide) detected


I also tried with [ ] environment rather than align* but that use gives me a different set of errors:



Missing $ inserted. & A_
Extra }, or forgotten $. & A_1 &
Missing $ inserted. & A_1 &
Missing } inserted. & A_1 &
Missing $ inserted. & A_1 & A_
Extra }, or forgotten $. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 &
Missing } inserted. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 & A_
Extra }, or forgotten $. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 &
Missing } inserted. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 & A_
Extra }, or forgotten $. begin
Missing $ inserted. begin
Missing } inserted. begin
Missing $ inserted. q_
Extra }, or forgotten $. q_1 &
Missing $ inserted. q_1 &
Missing } inserted. q_1 &
Missing $ inserted. q_
Extra }, or forgotten $. q_2 &
Missing $ inserted. q_2 &
Missing } inserted. q_2 &
Missing $ inserted. q_
Extra }, or forgotten $. q_3 &
Missing $ inserted. q_3 &
Missing } inserted. q_3 &
Missing $ inserted. q_
Extra }, or forgotten $. q_4 &
Missing $ inserted. q_4 &
Missing } inserted. q_4 &
Bad math environment delimiter. ]









share|improve this question






















  • why use align at all here you only have a single line and no alignment point?

    – David Carlisle
    8 hours ago











  • Good point. Do you know why I am getting errors with the [ ... ]?

    – ozsu
    8 hours ago













1












1








1


1






I cannot see what is wrong with the following and would appreciate any pointers.



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
%[
beginalign*
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
endalign*
%]

enddocument


This gives me errors with the environment:



Missing endgroup inserted. endalign*
Missing } inserted. endalign*
begindocument ended by endalign*. endalign*
Missing $ inserted. endalign*
Display math should end with $$. endalign*
Extra endgroup. endalign*
Too many }'s. enddocument
Overfull hbox (116.89484pt too wide) detected


I also tried with [ ] environment rather than align* but that use gives me a different set of errors:



Missing $ inserted. & A_
Extra }, or forgotten $. & A_1 &
Missing $ inserted. & A_1 &
Missing } inserted. & A_1 &
Missing $ inserted. & A_1 & A_
Extra }, or forgotten $. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 &
Missing } inserted. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 & A_
Extra }, or forgotten $. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 &
Missing } inserted. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 & A_
Extra }, or forgotten $. begin
Missing $ inserted. begin
Missing } inserted. begin
Missing $ inserted. q_
Extra }, or forgotten $. q_1 &
Missing $ inserted. q_1 &
Missing } inserted. q_1 &
Missing $ inserted. q_
Extra }, or forgotten $. q_2 &
Missing $ inserted. q_2 &
Missing } inserted. q_2 &
Missing $ inserted. q_
Extra }, or forgotten $. q_3 &
Missing $ inserted. q_3 &
Missing } inserted. q_3 &
Missing $ inserted. q_
Extra }, or forgotten $. q_4 &
Missing $ inserted. q_4 &
Missing } inserted. q_4 &
Bad math environment delimiter. ]









share|improve this question














I cannot see what is wrong with the following and would appreciate any pointers.



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
%[
beginalign*
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
endalign*
%]

enddocument


This gives me errors with the environment:



Missing endgroup inserted. endalign*
Missing } inserted. endalign*
begindocument ended by endalign*. endalign*
Missing $ inserted. endalign*
Display math should end with $$. endalign*
Extra endgroup. endalign*
Too many }'s. enddocument
Overfull hbox (116.89484pt too wide) detected


I also tried with [ ] environment rather than align* but that use gives me a different set of errors:



Missing $ inserted. & A_
Extra }, or forgotten $. & A_1 &
Missing $ inserted. & A_1 &
Missing } inserted. & A_1 &
Missing $ inserted. & A_1 & A_
Extra }, or forgotten $. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 &
Missing } inserted. & A_1 & A_2 &
Missing $ inserted. & A_1 & A_2 & A_
Extra }, or forgotten $. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 &
Missing } inserted. & A_1 & A_2 & A_3 &
Missing $ inserted. & A_1 & A_2 & A_3 & A_
Extra }, or forgotten $. begin
Missing $ inserted. begin
Missing } inserted. begin
Missing $ inserted. q_
Extra }, or forgotten $. q_1 &
Missing $ inserted. q_1 &
Missing } inserted. q_1 &
Missing $ inserted. q_
Extra }, or forgotten $. q_2 &
Missing $ inserted. q_2 &
Missing } inserted. q_2 &
Missing $ inserted. q_
Extra }, or forgotten $. q_3 &
Missing $ inserted. q_3 &
Missing } inserted. q_3 &
Missing $ inserted. q_
Extra }, or forgotten $. q_4 &
Missing $ inserted. q_4 &
Missing } inserted. q_4 &
Bad math environment delimiter. ]






align






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 8 hours ago









ozsuozsu

1,15511127




1,15511127












  • why use align at all here you only have a single line and no alignment point?

    – David Carlisle
    8 hours ago











  • Good point. Do you know why I am getting errors with the [ ... ]?

    – ozsu
    8 hours ago

















  • why use align at all here you only have a single line and no alignment point?

    – David Carlisle
    8 hours ago











  • Good point. Do you know why I am getting errors with the [ ... ]?

    – ozsu
    8 hours ago
















why use align at all here you only have a single line and no alignment point?

– David Carlisle
8 hours ago





why use align at all here you only have a single line and no alignment point?

– David Carlisle
8 hours ago













Good point. Do you know why I am getting errors with the [ ... ]?

– ozsu
8 hours ago





Good point. Do you know why I am getting errors with the [ ... ]?

– ozsu
8 hours ago










1 Answer
1






active

oldest

votes


















5














The errors are an artefact of standalone processing, this works



documentclass[margin=1mm]article

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
[
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
]

enddocument


or with standalone



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
$
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
$

enddocument





share|improve this answer























  • Thanks much; did not know that difference. Something new learned.

    – ozsu
    8 hours ago











  • @ozsu as a general rule display constructs do not work in standalone unless you use the varwidth option but for a table of fixed width just using inline math is simpler.

    – David Carlisle
    8 hours ago











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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f492642%2falign-environment-issues%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









5














The errors are an artefact of standalone processing, this works



documentclass[margin=1mm]article

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
[
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
]

enddocument


or with standalone



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
$
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
$

enddocument





share|improve this answer























  • Thanks much; did not know that difference. Something new learned.

    – ozsu
    8 hours ago











  • @ozsu as a general rule display constructs do not work in standalone unless you use the varwidth option but for a table of fixed width just using inline math is simpler.

    – David Carlisle
    8 hours ago















5














The errors are an artefact of standalone processing, this works



documentclass[margin=1mm]article

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
[
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
]

enddocument


or with standalone



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
$
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
$

enddocument





share|improve this answer























  • Thanks much; did not know that difference. Something new learned.

    – ozsu
    8 hours ago











  • @ozsu as a general rule display constructs do not work in standalone unless you use the varwidth option but for a table of fixed width just using inline math is simpler.

    – David Carlisle
    8 hours ago













5












5








5







The errors are an artefact of standalone processing, this works



documentclass[margin=1mm]article

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
[
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
]

enddocument


or with standalone



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
$
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
$

enddocument





share|improve this answer













The errors are an artefact of standalone processing, this works



documentclass[margin=1mm]article

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
[
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
]

enddocument


or with standalone



documentclass[margin=1mm]standalone

usepackageamsmath
usepackageblkarray, bigstrut
usepackagesetspace

begindocument
setstretch1.3
$
beginblockarrayccccc
& A_1 & A_2 & A_3 & A_4 \
beginblockc[cccc]
q_1 & 0 & 1 & 1 & 0 bigstrut[t] \
q_2 & 1 & 1 & 1 & 0 \
q_3 & 1 & 0 & 0 & 1 \
q_4 & 0 & 0 & 1 & 0 bigstrut[b]\
endblock
endblockarrayvspace*-0.6baselineskip
$

enddocument






share|improve this answer












share|improve this answer



share|improve this answer










answered 8 hours ago









David CarlisleDavid Carlisle

506k4211531905




506k4211531905












  • Thanks much; did not know that difference. Something new learned.

    – ozsu
    8 hours ago











  • @ozsu as a general rule display constructs do not work in standalone unless you use the varwidth option but for a table of fixed width just using inline math is simpler.

    – David Carlisle
    8 hours ago

















  • Thanks much; did not know that difference. Something new learned.

    – ozsu
    8 hours ago











  • @ozsu as a general rule display constructs do not work in standalone unless you use the varwidth option but for a table of fixed width just using inline math is simpler.

    – David Carlisle
    8 hours ago
















Thanks much; did not know that difference. Something new learned.

– ozsu
8 hours ago





Thanks much; did not know that difference. Something new learned.

– ozsu
8 hours ago













@ozsu as a general rule display constructs do not work in standalone unless you use the varwidth option but for a table of fixed width just using inline math is simpler.

– David Carlisle
8 hours ago





@ozsu as a general rule display constructs do not work in standalone unless you use the varwidth option but for a table of fixed width just using inline math is simpler.

– David Carlisle
8 hours ago

















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f492642%2falign-environment-issues%23new-answer', 'question_page');

);

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







Popular posts from this blog

ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу