Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix alignment #114

Open
plkinon opened this issue Dec 7, 2021 · 1 comment
Open

Matrix alignment #114

plkinon opened this issue Dec 7, 2021 · 1 comment

Comments

@plkinon
Copy link

plkinon commented Dec 7, 2021

Dear all,
I want my matlab code to align corresponding columns, e.g.

tang = [eye(n),   -h * IM,      zeros(n, m); ...
        zeros(n), eye(n),       h * G_n'; ...
        G_n1,     zeros(n, m)', zeros(m)];

Is there an easy way to introduce this functionality to MBeautifier?

Thanks in advance
Philipp

@RodneyRichardson
Copy link

WORKAROUND: Disable formatting around the statement using MBD:Format:Off and re-enable with MDB:Format:On

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants