Skip to main content

Questions tagged [line-breaking]

{line-breaking} is about how (La)TeX breaks paragraphs into lines and how those breaks can be influenced.

1 vote
1 answer
29 views

I'm trying to make a command that would put the first argument in bold. Then it must create a line break and put the remaining text normally, which should have been passed as second arg. The problem ...
user1850133's user avatar
  • 1,509
0 votes
0 answers
25 views

With \titlecontents of the package titletoc to configure table of contents, I am encountering an issue that if the text is essentially occupying the whole line, then the page number might be wrapped ...
Jinwen's user avatar
  • 9,640
0 votes
2 answers
48 views

I was afraid that this question is duplicated, but I can't find it since 5-minutes' search. I have the following code with minted-v3 on TL2025: \documentclass{article} \usepackage{showframe} \...
Explorer's user avatar
  • 10.4k
3 votes
2 answers
166 views

A minimal working sample is as follows. \documentclass{ctexart} \usepackage{babel}% \babelprovide{greek} \babelfont[greek]{rm}[Scale=MatchUppercase, ItalicFont={GFSArtemisiaIt.otf}, BoldFont={...
M. Logic's user avatar
  • 5,488
3 votes
1 answer
140 views

I'm trying to visualize newlines in an input file by making ^^M active and displaying it as \n. However, the \input command appears to append an extra empty line at the end of the file, which I don't ...
Junseok Lee's user avatar
2 votes
1 answer
85 views

In this example: \documentclass{exam} \title{Exam} \qformat{\thequestion. \ \ignorespaces} \begin{document} \begin{questions} \question How many legs does a duck have? \begin{checkboxes} ...
nowox's user avatar
  • 1,855
1 vote
1 answer
90 views

I am struggling on writing the data on a document latex, because it writes me down on two lines, as you can see on the picture. Is it possible to write: Thursday 25th September, 2025 on the same line ...
GiacomoDB's user avatar
  • 187
12 votes
1 answer
344 views

I noticed that when I load the unicode-math package and select a math font (I tested several, and the issue occurs with all of them), the command \* no longer produces the expected multiplication sign ...
Bastien's user avatar
  • 693
2 votes
1 answer
136 views

This question is related to another question about breaking lines into some boxes. There, if I get a vbox with my content split into lines, I can use L3 \vbox_set_split_to_ht:NNn. From interface3.pdf: ...
Miguel V. S. Frasson's user avatar
1 vote
1 answer
75 views

I would like to typeset bilingual text – one language on the left page, other on the right page, with as little interference as possible, like manual breaks. The text of each language spans 20 pages. ...
Miguel V. S. Frasson's user avatar
3 votes
2 answers
220 views

I'm writing a LaTeX document using siunitx to typeset quantities: \documentclass{article} \usepackage[showframe=true]{geometry} \usepackage{siunitx} \begin{document} AAA AAA AAA AAA AAA AAA AAA AAA ...
taiwan12's user avatar
  • 2,056
0 votes
0 answers
68 views

So i have a 100-page lecture notes document in which due to some software error all equations have turned from to which wastes a lot of space so is there an automatic method to fix this?
Niv Sorek's user avatar
1 vote
1 answer
173 views

This is my code: \documentclass[a4paper, 12pt]{report} \usepackage{adjustbox} \usepackage{makecell} \usepackage{booktabs} \usepackage{tabularray} \usepackage{color, xcolor} \usepackage{amsmath, ...
user2379123's user avatar
2 votes
0 answers
87 views

It seems that using \\ for line breaks acts like starting a new paragraph for the purposes of \hangindent when \raggedright is active, while it does not do this normally. Using \newline instead of \\ ...
Socob's user avatar
  • 1,865
8 votes
3 answers
355 views

Sometimes I want to force a line break in a url. However, the method I know for doing so, adding to \UrlSpecials, leaves the new command character in the url, rendering it invalid. For example: \...
Karl Berry's user avatar
  • 2,764

15 30 50 per page
1
2 3 4 5
196