texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.81k stars 345 forks source link

Hope to set table font family different from the article main part. #2789

Open kennyzjc1994 opened 1 year ago

kennyzjc1994 commented 1 year ago

Describe the feature and the current behavior/state

I am a student writing articles with texstudio, and I show you the sincere thanks.

But when I use the table environment with Eidtor\font-family : Corbel(this is not a mono font), I found the table are not alligned and make hard to edit it.

But when i changed the font family to mono family, the article main part is too ugly....

I hope can set the table environment's font separately.

Thank you again for your contribution to this amazing editor!

Who will benefit with this feature?

Any Other info

sunderme commented 1 year ago

not sure what is asked here ?

kennyzjc1994 commented 1 year ago

Thanks for your attention and reply.

I am sorry I did not make my issue clearly. Here I will give you an example in my article to clarify this issue. In my article, When I use the proportional font Corbel in the main part. It looks like this:
image since the table column are not aligned, it is very hard to edit the table. I should change the proportional font family to monospaced font family to edit this table, but the main part become difficult to read. Just like this: image

I just hope to set different font family in main part and table environment separately. In other words, I hope i can use proportional font (eg. Times New Roman) in main part and monospaced font in table environment at the same time.

do i make this request clear?

kennyzjc1994 commented 1 year ago

not sure what is asked here ?

Thanks for your attention and reply.

I made a mistake to comment directly without reply to your comment. You can find my reply in the newest comment. Thank you again.

tmelorc commented 1 year ago

@kennyzjc1994 Hello. Just to know: why do you feel difficulty to read the document in mono spaced font?

I know that this is a very particular opinion. In my case, every time I edit any code (TeX, Python, HTML, CSS, and others) I always use a Mono font. I think that it is more common in programming IDE.

Greetings.

dbitouze commented 1 year ago

@kennyzjc1994 I know that this is a very particular opinion. In my case, every time I edit any code (TeX, Python, HTML, CSS, and others) I always use a Mono font. I think that it is more common in programming IDE.

Fully agree and, IMO, TXS should give preference to monospace fonts (how? I don't know). Related issue: #788.

octaeder commented 1 year ago

Check this option every time before you select a font:

grafik

I updated #788