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
latexindent feature that ignore table headings when using alignDoubleBackSlash and delims in lookForAlignDelims under tabular #182
Comments
As per our discussion, posting my request which is similar to above one, here, Firstly, thanks for this file, its really helpful.
After I format it using latexindent.pl, all the & align, but I don't want that, because as one of my word is very long, its affecting the visibility of all the rows in my latex file.
Required Output:
Is there an option to do this? (I want something similar to \ (alignDoubleBackSlash: 0)) This is kind of similar to above request, but would still highlight following differences:
|
Here's my current thinking on how the YAML for this might look:
Please note: the above is not a commitment to this interface, but reflects my current thinking. Feel free to input :) |
Hi, I like the last option 4 :) |
I'm hoping to allow all of the above options to be valid :) |
Thanks Chris for the update, |
I'll report back once I've attempted this :)
…On Mon, 9 Mar 2020, 20:17 swaroopguggilam, ***@***.***> wrote:
Thanks Chris for the update,
I like your idea.
I just have one question, does this solves the issue I mentioned? "About
not aligning at &"? If yes, then what would be command/setting once you
implement it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#182?email_source=notifications&email_token=AAQ7CYA7YBPCY527X4GOC3TRGVMGHA5CNFSM4KHRPJSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOI43YY#issuecomment-596757987>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ7CYHLV5XZZ254QS2KNQDRGVMGHANCNFSM4KHRPJSA>
.
|
That would be even better! Thank you for doing this! |
…ent the 'largest' option (option 2 in the link) and then documentation
@yangmw @swaroopguggilam if you'd like to experiment, I've started a new branch as of f3e60ed You'll see that option 1, 3 and 4 are now available. I need to work on option 2, next. So far, it looks optimistic. You'll need to clone the https://github.com/cmhughes/latexindent.pl/tree/feature/dontMeasure branch, which is experimental at this time! |
Excellent Chris! Thank you, I look forward to try it tomorrow. |
Thanks Chris, will try out this weekend and let you know. |
All of the options detailed above are now implemented and documented in the Feel free to test and let me know. For the moment, I'm going to label this as implemented. |
demonstrationstarting with
and the YAML
gives
There are other options for the |
Implemented in |
Same issue persists when using \thead instead of \multicolumn |
I encountered an issue, whenever my table headings becomes longer then the table items their Ampersand aligns with huge spaces in between my table items like this:
The settings in the .yaml is:
Is it possible for latexindent to ignore table headings? Then it would be very nice like this:
Best wishes,
Yang.
The text was updated successfully, but these errors were encountered: