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

String backslash gets converted into \textbackslash{} #352

Open
AdityaMayukhSom opened this issue Oct 17, 2024 · 0 comments
Open

String backslash gets converted into \textbackslash{} #352

AdityaMayukhSom opened this issue Oct 17, 2024 · 0 comments

Comments

@AdityaMayukhSom
Copy link

I am trying to create a latex table which will be directly used in another tex file. I am trying to use the makecell package to break the table headings into multiple lines, but whenever I am trying to print '' in the generates string, it is getting converted into \textbackslash{}. I understand that this might be the desired behaviour in most of the cases, but in case I want to literally print the '', what can I do apart from manually using regex matching to replace the generated text?

Also, it would be really helpful to have the ability to break long table headings natively in latex too. In psql table format, I can split and join with '\n' but this does not work with latex tables.

  1. Code to generate table headings
    image
  2. Generated Latex Code
    image
  3. Desired Output
    image
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

1 participant