Current location - Education and Training Encyclopedia - Graduation thesis - What should I do if latex table exceeds the text width?
What should I do if latex table exceeds the text width?
When editing formulas with latex, there are usually cases where one line of formulas is too long to meet the typesetting requirements and two lines are too short to be beautiful. Let's talk to you about how to deal with the above problems.

Tools: latex, computer. Method:

(1) First, let's look at the case where the formula exceeds the width of the text. Obviously, the formula can't meet the typesetting requirements of the paper. Let's see how to deal with the above formula to make it meet the typesetting requirements.

(2) Here we mainly provide two methods to deal with this situation, and you can choose the corresponding method according to your own needs. The first one: reduce the formula symbol spacing and fine-tune the formula length. Add "\!" Reduce the spacing between formula symbols on both sides of formula symbols, the original formula and the processed formula. Let's recompile the modified formula text and generate a pdf document. The operation steps are shown in reference numbers 1 and 2, and the change of the formula is observed. Obviously, the formula has met the typesetting requirements.

Let's take a look at another way to realize formula typesetting. The second method is to reduce the font of the formula. This method is simple, but relatively limited. The specific implementation is to add the statement \begin{small} before the start line and after the end line of the formula.

\end{small} .

Specific implementation, recompile the re-written program and generate a pdf document, refer to the third step for the operation steps, and observe the effect of the generated pdf document. At this point, the formulas have been rearranged, and everyone can choose the corresponding method according to their own needs.

In addition, there is a special macro package (document class) in LaTeX for writing presentations. One of the most famous and easy to use is the beamer document class. Its grammatical structure is similar to the basic document class. If you already have experience in writing LaTeX ordinary documents, find a beamer tutorial and you will get started soon.