Text Formattingproblem of the space between characters

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
yuhailei1992
Posts: 1
Joined: Thu Nov 07, 2013 1:34 pm

problem of the space between characters

Post by yuhailei1992 »

Hey guys

I'm currently writing a paper in Chinese. However, I had a problem with the space between characters, like the picture in the attachment "before adding \sloppy". One line was too long as a result of the consecutive English characters "e,f,c,d,a,b". I think latex treated it as an equation.
before adding \sloppy
before adding \sloppy
s.PNG (100.53 KiB) Viewed 2106 times
Then I searched the web for a solution and found one commmand, \sloppy, which reduces the line-splitting standard of latex. However, after adding this command, as you can see in the second attachment, the line was not too long, but latex still treated the English characters as an equation and forced them to be in the same line. In order to compensate for the extra space caused by the equation, latex automatically reduces or expands the space between those Chinese characters. It looks like the 'justify align' option in MS Word.
捕获.PNG
捕获.PNG (88.78 KiB) Viewed 2106 times
So, could you please give me a solution that can make the latex treat those English characters as characters, not equations, and break the line properly?

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

problem of the space between characters

Post by Johannes_B »

Are you able to prepare a minimal working example? Please follow the link if you do not know how to do this.

Having some code is essential to tell what is going wrong. Right now, it would just be guesswork. There must be a reason for you to think that those latin characters are math symbols.

Best regards
Johannes
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply