Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [wrap]

{wrap} is about formatting an object (e.g. images) so that it is surrounded by text

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Longtable border disappears and wrapping text in it

\documentclass[12pt] {article} \usepackage{multirow} \usepackage{longtable} \begin{document} \begin{longtable}{|c|c|c|c|} \hline \multicolumn{2}{c}{Conversion}\vline &\...
Manjoy Das's user avatar
2 votes
0 answers
122 views

Why is wrapping figures around text such a hard problem?

I'm writing a document where I wanted to wrap a list around a text box, and I eventually got the following result: I had to search on the internet for hours before I found a way to wrap a list around ...
Nickesponja's user avatar
1 vote
1 answer
54 views

How to wrap text in a vertically rotated merged cell?

I have a table and the codes are given below: \begin{table}[] \begin{tabular}{cc|cccccc|} \cline{3-8} \multicolumn{1}{l}{} & & \...
Sangeeth's user avatar
2 votes
1 answer
140 views

Rows of a table in IEEE format?

I am trying to insert a table in IEEE transaction template and I want the row borders of the table of varying thickness as shown in the following figure. Can you please help me with that ? Also, even ...
Curious Cosmopolitan's user avatar
4 votes
2 answers
190 views

How to recreate the "dangerous bend exercise" in TeXbook with `amsthm`

I'm typing a document right now and have a warning theorem environment, created with amsthm. What intrigues me is that Knuth's The TeXbook managed to put the "dangerous bend" symbol in front ...
Gargantuar's user avatar
0 votes
0 answers
21 views

A book of quotations using epigraphs qitems - page wrapping

I am producing a book of quotations and have begun using the epigraphs package. I am using one qitem per quotation and have around 100 quotations in total. The issue I am facing is that the qitems are ...
Craig Johnstone's user avatar
0 votes
0 answers
19 views

Inserting a picture into the text of the theorem (using \newtheorem) [duplicate]

I need the text to wrap around the image. I tried to include \usepackage{wrapfig} and code was like this. \begin{theorem} \begin{wrapfigure}{l}{0.4\textwidth} \begin{center} \...
Mark Smirnov's user avatar
0 votes
0 answers
16 views

Adjusting width around figures

This is a screenshot of a page of a textbook I am writing. The image is a jpg file that was inserted using the environment wrapfigure of the package wrapfig. How can I force the paragraph starting ...
Andrea Mori's user avatar
3 votes
3 answers
138 views

Individually indent wrapped lines of lines broken with \\

I have long lines like this: Saint Gabriel, who didst foretell to Zachary the birth and ministry of John the Baptist, \\ Saint Gabriel, who didst announce to Blessed Mary the Incarnation of the Divine ...
Geremia's user avatar
  • 2,211
0 votes
2 answers
72 views

How can I put the wrapfigure picture in the top of the page and not in the beginning of the paragraph

How can I put the image in the top of the page in between the paragraph? \documentclass{article} \usepackage{lipsum} \usepackage{wrapfig} \usepackage{graphicx} \begin{document} \lipsum[1-6] \begin{...
Tiago Prazeres's user avatar
1 vote
0 answers
64 views

Wrapping inserted code from MATLAB

I am attempting to insert a very long code that I wrote in MATLAB into my thesis document written on Overleaf. Several of the lines have long equations or comments that extend beyond the page and I ...
Jah's user avatar
  • 11
1 vote
0 answers
22 views

Force text on last line of page when there is a table on next page [closed]

I am writing a document in overleaf (latex). I have a 2-column paper. There is a table inserted on the next page. The problem is that the last line on the previous page before the table is a blank ...
user2961109's user avatar
0 votes
0 answers
194 views

Wrap a svg figure with text?

I searched on the Internet but I couldn't find an answer. To have figures with more quality, I uploaded a few svg files into my LaTeX project. However, it seems to be impossible to wrap a figure, ...
Guillaume's user avatar
0 votes
1 answer
23 views

How to get individual words to go over multiple lines in the cells of table

I know how to get sentences of words to wrap in a cell, namely using |p{cell width}|, but what if I want a word itself to split over multiple lines? I would like your response to work for longtable in ...
Josh Pinto's user avatar
0 votes
1 answer
108 views

Using Wrapfig2 inside a tcolorbox

I have a tcolorbox with some text and I would like to use wrapfig2 to wrap two images inside the box, both surrounded by the text, one image in the upper left corner of the box and the second one in ...
miltos's user avatar
  • 2,625
0 votes
2 answers
98 views

Text wrapping inside table using p{} specification

I am trying to use p specification to get text in my table to wrap. I have looked at examples and other questions but can not get it to work. I generated my table with a latex tables generator and I ...
sticksup13's user avatar
2 votes
1 answer
108 views

How to Wrap the Text of Customized Enumerate Items Directly Underneath the Item Number

This question is an extension of How to Imitate This Enumerate Display Consider the code \documentclass[10pt,openany]{book} \usepackage{enumitem,xcolor} \usepackage{xparse} \definecolor{granite}{...
DDS's user avatar
  • 8,986
1 vote
0 answers
265 views

changes-package: can highlighted text wrap into the next line?

In using the \highlight command in the changes-package on text that spans multiple lines, the text runs off the page rather than wrapping into the next line, as shown in the MWE. Is there a way around ...
Laura Fortunato's user avatar
0 votes
0 answers
85 views

How to wrap equations around a figure?

I use LaTeX for taking notes in my math classes. I find that in classes with more plots, the document becomes far too spaced out having these plots on their own seperate line each time. For my plots I ...
Anthony Sandhar-Cruz's user avatar
0 votes
2 answers
57 views

Why is text wrapping not available in 3 out of 4 longfbox configurations?

The longfbox package is proving very useful as a way to break long verses across pages, something I have been searching for for years. With 3 out of 4 of the longfbox configurations, however, text ...
RosesBouquet's user avatar
0 votes
4 answers
87 views

How to wrap cell text

Could someone help me wrap the text in the first line of this table, it keeps exceeding the line width of the page and the \\ command doesn't work. Mainly the end three columns first row. \begin{table}...
user282214's user avatar
0 votes
1 answer
65 views

Automatic line break on any character?

I'm generating some latex from some information in a database. I am putting all this information in a table, but some of the data in the cells are very long and have no obvious break points. As a ...
Tombert's user avatar
  • 101
2 votes
2 answers
173 views

help with wrapping text in a table, and making a solid line at the far right corner

I am trying to wrap text in a longtable to achieve the below: however, when using the code below, I get this: May I please ask how to wap the text in the headings to appear over two rows, and also ...
Gokotai's user avatar
  • 163
0 votes
0 answers
43 views

Longtable and wrapping text around it

How could I arrange a longtable, which spans through multiple pages, to be also wrapped by text around it? The longtable looses the benefits if put inside the wraptable environment.
Sandro Rosa's user avatar
0 votes
0 answers
64 views

How to wrap all numbers in a file in dollar signs?

For example, I have a text: bla 1 bla-bla 12 bla-bla-bla 123 end. I want to get from it: bla $1$ bla-bla $12$ bla-bla-bla $123$ end. How do I do this automatically?
smthinthewayy's user avatar
0 votes
2 answers
732 views

text wrap in tabularx environment, multirow

I spent too much time on this already, please check: \documentclass{article} \usepackage{geometry} \geometry{ a4paper, left=25.4mm, top=25.4mm, } \usepackage{ragged2e} \usepackage{tabularx} \...
arty's user avatar
  • 1
0 votes
0 answers
367 views

How to not wrap equations?

While writing a paragraph of proof containing some (inline) short equations, some of them often wrap: half of the equation stays on the line 1 and the second part of the equation comes to line 2. Is ...
High GPA's user avatar
  • 283
5 votes
2 answers
239 views

ConTeXt: Text wrapping around images with complex outline

I'm a very beginner on ConTeXt, coming from Scribus and InDesign. I would like to know if is it possible to get a text flowing around an image with complex/winding border on ConTeXt as in the images ...
Diego Loiola's user avatar
1 vote
2 answers
603 views

Wrap text in SVG images when importing them in latex using inkscape=true

I make graph using draw.io that I export in SVG to include in my LaTeX document. However some texts are too long and don't fit well when using the inkscape=true option of \includesvg <path d="...
Nicryc's user avatar
  • 135
0 votes
0 answers
37 views

Long Figure Wrap

May I ask how to auto-wrap a too-long figure as shown below(sleepy channel protocol), so that the overflow part of the figure can be shown in the next page automatically? Thanks. Note: The paper is ...
user77340's user avatar
  • 101
2 votes
1 answer
151 views

How to underline a given title and make it wrap automatically according to the fixed width?

How to unline a given title and make the title wrap automatically according to the fixed width, I know I need to use the packages \usepackage{ulem} \usepackage{CJKulem} and use it like this \uline{...
Peter Yang's user avatar
0 votes
1 answer
138 views

Longtable paragraph cells doesn't wrap properly

I'm creating a table with the following packages longtable for tables with lots of rows booktabs for pretty book styled tables xcolor with [table] option to add zebra style colors However text in ...
Fei's user avatar
  • 103
1 vote
1 answer
50 views

How to achieve full-column-length coloured background for a single line?

I'm trying to recreate a template that is currently available in MS word format. It requires me to set the journal name on top of the title. Since I'm no expert, instead of trying to write a class ...
AtanuCSE's user avatar
  • 113
1 vote
1 answer
77 views

How can I wrap the text of a long sentence within table sub-headings?

I am struggling to make the subheadings of my table fit within the designated margins of the table. It all works and formats well when the sentences are not too long. Any suggestions are welcome. ...
Sebastian's user avatar
0 votes
1 answer
81 views

Is it possible to have a drop capital in a tcolorbox? [closed]

Tried lettrine and did not work. Dropping seems not to be in texlive anymore.
callegar's user avatar
  • 493
0 votes
1 answer
41 views

Auto-replacing words with shorter variants to prevent hanging words

Is there a way to tell latex that certain words can be replaced by a shorter variant if it will prevent a hanging word: eg: this line wraps to a second line. change "second" to "2nd&...
David's user avatar
  • 103
1 vote
1 answer
107 views

How can I detect line wraps in XeLaTeX and change letter spacing accordingly?

I need to typeset a lot of short "phrases" (consisting of several words) strictly in one-line format (i.e., one "phrase" per line). I am also using fontspec under XeLaTeX to extend ...
Konstantin Avilov's user avatar
3 votes
2 answers
129 views

Two wrapfigures above each other with multiple paragraphs

I have this following MWE: \documentclass[]{scrbook} \usepackage{wrapfig} \usepackage{graphicx} \begin{document} \begin{wrapfigure}[15]{r}{0.35\textwidth} %\vspace{\baselineskip} \centering \...
jeiglsperger's user avatar
4 votes
3 answers
334 views

Wrap text around rotated table and caption

I try to rotate a large table and also the corresponding caption. Around this rotated figure I want to wrap text. I have this MWE, but in this MWE the caption is not rotated and therefore needs a lot ...
jeiglsperger's user avatar
0 votes
0 answers
740 views

jupyter-notebook - Wrap text inside align-environment

The following is a snippet from a jupyter-notebooks' markdown cell. $$ \begin{aligned} \mathrm{d}J & = \mathrm{tr}(\frac{\mathrm{d}J}{\mathrm{d}\mathbf{A}^{[3]}} \frac{\mathrm{d}\mathbf{A}^{[3]}}{\...
x.projekt's user avatar
  • 101
0 votes
1 answer
147 views

Wrap text for .bib files in WinEdt

I tried using some of the solutions posted on this forum for wrapping text in WinEdt for my .bib files, but what I tried so far does not work. I tried selecting the "Wrap" option at the ...
Joe's user avatar
  • 9,080
0 votes
2 answers
218 views

Position text boxes on the right or left of the main body text

I frequently need to position a text box containing a small amount of text on either the right or left of the page, and wrap text around it. In this example I attempted to use wrapfig (though i have ...
Doug Ransom's user avatar
1 vote
1 answer
453 views

How to wrap text around a box without using any packages?

This question has been edited since the original problems due to errors in my code were fixed. I tried to use wrapfig to wrap text around a box at the right margin, but the package behaves ...
Alexey's user avatar
  • 2,109
1 vote
0 answers
22 views

Wrap text around a centered table in a two-column document [duplicate]

I desire to wrap text around a table in a two-column document like the following: column 1 column 2 --------------------- --------------------- --------------------- ------...
OmG's user avatar
  • 107
1 vote
1 answer
45 views

Sometimes wrapping is not working as expected

I am using TeXworks and the documentclass article but sometimes the word wrapping is not as expected. How can I fix this? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings} \...
MichaelS's user avatar
1 vote
1 answer
464 views

Wrapped text around figure being formated into a new column (using TexStudio)

I'm just learning LaTeX, and I am having a problem with wrapping an image. When I use the try to use wrapfigure in TexStudio, I get a second column generated in my document, with the wrapped text ...
Douglas's user avatar
  • 13
0 votes
1 answer
70 views

wrapping text around an image on top of the page

For my university report, i have to create this in latex. I tried it on latex using wragfig with this code \documentclass[10pt,a4paper]{report} \usepackage[a4paper,vmargin={25mm,25mm},hmargin={25mm,...
dundundun's user avatar
0 votes
1 answer
188 views

tikz picture inside wrapfigure overlapping with normal text

I have in my document several tikz pictures wraped with wrapfigure, only one of them is having overllaping with text, As you can see, the math equation is centered as if no wrap figure was present, ...
Allaw Hussein's user avatar
2 votes
1 answer
187 views

Move single enumerate element to the right to wrap image

I'm trying to put a picture on the left of an enumerate to exploits the space on the left. However, as you can see the result is quite dirty because of the dot appearing just on top of my picture. Is ...
tobiasBora's user avatar
  • 8,804
2 votes
2 answers
123 views

Strange behavior with `insbox`. What is wrong?

Old question see update at the bottom When the package insbox is used with the package geometry (but not only, see at the end), the wrapping of text is weird. Here is an example. \documentclass[11pt]{...
quark67's user avatar
  • 4,186

1
2 3 4 5
8