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
24 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 ...
user avatar
  • 101
0 votes
0 answers
29 views

How to make the underline lengths of all lines same produced by command \uline{}?

could anyone tell me how to make the underline lengths of all lines same produced by command \uline{} , since I noticed that the underline length of the last line varies according to the content of ...
user avatar
2 votes
1 answer
37 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{...
user avatar
0 votes
1 answer
36 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 ...
user avatar
  • 103
1 vote
1 answer
35 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 ...
user avatar
  • 113
0 votes
0 answers
28 views

how to automatically auto wrap the text in latex

I want to render some text like this: 项目本身是public,为什么还是提示权限拒绝呢?可能是"js-wheel": "https://github.com/jiangxiaoqiang/js-wheel.git"。使用如下命令安装依赖避免此问题: but the url did not auto wrap and ...
user avatar
  • 253
1 vote
1 answer
31 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. ...
user avatar
0 votes
1 answer
66 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.
user avatar
  • 443
0 votes
1 answer
35 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&...
user avatar
  • 103
1 vote
1 answer
63 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 ...
user avatar
3 votes
2 answers
82 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 \...
user avatar
  • 107
4 votes
3 answers
154 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 ...
user avatar
  • 107
0 votes
0 answers
139 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]}}{\...
user avatar
  • 101
0 votes
1 answer
82 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 ...
user avatar
  • 8,614
0 votes
2 answers
61 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 ...
user avatar
1 vote
1 answer
144 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 ...
user avatar
  • 1,709
1 vote
0 answers
18 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 --------------------- --------------------- --------------------- ------...
user avatar
  • 111
1 vote
1 answer
38 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} \...
user avatar
1 vote
1 answer
25 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 ...
user avatar
  • 13
0 votes
1 answer
58 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,...
user avatar
0 votes
1 answer
52 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, ...
user avatar
2 votes
1 answer
64 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 ...
user avatar
  • 5,053
2 votes
2 answers
96 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]{...
user avatar
  • 1,858
0 votes
0 answers
34 views

Add automatic word wrap in acronym package

I am using the acronym package and currently, I have the problem that one abbreviation goes too far over the right sight instead of a line break. Is there a way to add a line break for the ...
user avatar
1 vote
1 answer
56 views

tabu package table out of page

thank you for your help. When I have the following code the table created goes out of the page. How can I keep the table in the page using tabu? Also I would like the first column to not exceed a ...
user avatar
1 vote
1 answer
61 views

Text wrap in the table cell

I have the following code: \documentclass[parskip=half-]{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[]{microtype} \usepackage{hyperref} \usepackage{geometry} \usepackage{...
user avatar
  • 187
1 vote
0 answers
50 views

Inserting a Centered Title in a Tikzpicture without Adversely Affecting Text Wrapping

I am producing a somewhat syntactically complex tikzpicture, which thanks to the help of David Carlisle, looks like this: The code which generates that picture is as follows. \documentclass[border=...
user avatar
  • 4,907
0 votes
1 answer
45 views

Long table headings not wrapping

The table headings are long, and at the same time, we need to have each heading for two years: that results into two columns under each heading. In this case, heading text is not wrapping. Guidance ...
user avatar
1 vote
1 answer
106 views

Looking to Insert a Figure and Wrap It Within a Customized Tikzpicture

This question inquires as to an extension of Daniel N.'s answer found in How to enhance the background of a Tikzpicture or a Tcolorbox Consider the slightly modified code: \documentclass[border=1cm]{...
user avatar
  • 4,907
0 votes
1 answer
25 views

Add space after period when underfull hboxes occur?

Consider this MWE: \documentclass[10pt,journal,compsoc]{IEEEtran} \hyphenation{veryverylongword} \begin{document} \textbf{The word word word word word.} The word-veryverylongword word word word word. \...
user avatar
  • 185
2 votes
2 answers
240 views

How to resize the longtable in latex? [closed]

I'm trying fit a longtable in latex, I've searched but all the examples was didn't worked for me because of the \begin{longtable}`[c]`{|l|l|l|l|l|}, the output is the following: The code is the ...
user avatar
1 vote
1 answer
49 views

Is there a way to wrap text around subfloats within a custom float?

I am a fairly proficient latex user, but have stumbled across a formatting challenge outside my experience. I am trying to create a custom "box" float - similar to what one might see in ...
user avatar
  • 111
0 votes
1 answer
46 views

Error using the wrapfigure package

I have a problem using wrapfigure. I am trying to use the following code: %\begin{figure*}[h!] \begin{wrapfigure}[r]{0.5\textwidth} %\centering \begin{center} \includegraphics[width=0.5\textwidth]{...
user avatar
1 vote
3 answers
138 views

Shift a tikz-cd diagram up when wrapping text around it

I want to include a tikz-cd diagram alongside text, wrapped around it. To do this, I am using the package wrapfig. The code looks like this: \documentclass[psamsfonts]{amsart} \usepackage{quiver} \...
user avatar
1 vote
1 answer
264 views

Text in svg is not wrapping around a box

I am trying to include an sag image in Latex like the following. \begin{figure}[H] \centering \includesvg[inkscapelatex=false, width=0.7\pdfpagewidth]{figure.svg} \end{figure} <?xml version=&...
user avatar
  • 11
1 vote
0 answers
136 views

\uline cannot wrap the line after texlive2021

I need to underline some text and hope the text automatically wrap at then end of the line. see Why does underlined text not get wrapped once it hits the end of a line ? The \uline works with ...
user avatar
2 votes
1 answer
58 views

Figure interrupts sentences

While writing a paper I tried to include relatively large figures into my document. Since they are so big I don't want them to be placed inside sentences. The first part of the Text. \begin{figure}[ht]...
user avatar
  • 135
2 votes
1 answer
44 views

Consecutive colorbox items does not line break in a table

I want to create a table with the long text content. Each word in the text is color boxed. But when this is done, the text does not wrap and there is no line break. Below is sample code: \begin{table}[...
user avatar
  • 123
0 votes
1 answer
198 views

Wrapfigure and Wraptable next to eachother

I have probably a stupid question and how do I get rid of the extra space in this extra space on top of my table. This is what I wrote in latex. \documentclass[11pt]{scrartcl} \usepackage[utf8]{...
user avatar
  • 11
5 votes
2 answers
270 views

Show return symbol on listings line breaks

I was wondering if it was possible to make the listings package show a return symbol like "⮑" when a line break occurs. With default line numbering settings this is not needed, as the line ...
user avatar
  • 115
1 vote
0 answers
136 views

Word wrap in supertabular two column table entry

From a Freeman CV Template: With a two column table defined as following: \begin{supertabular}{rl} % Start a table with two columns, the table will ensure everything is aligned %----------------------...
user avatar
  • 11
1 vote
1 answer
252 views

How to avoid unnecessary extra whitespace in wrapfig

My goal is simple to accomplish in most word processing programs and it really should work here. I want at the top of a section, a photo on the right of the person the section is about, and I would ...
user avatar
  • 1,246
0 votes
0 answers
58 views

Positioning a tikzfigure to be on the left of a text block

I am making a poster for my dissertation presentation and I am trying to move an image from the centre of my text block to the left side but I can't work out how to do it. I had a look in the ...
user avatar
1 vote
1 answer
123 views

Circuitikz with wrapfig problem

I have a problem with circuitikz. I can't manage to display my circuits as I want to. More specifically, I can't change where the text next to the image begin, I've already tried things like \hspace, \...
user avatar
  • 11
1 vote
0 answers
37 views

Three continuous columns, outer wrapped round inner

I'm trying to have text such that One set of paragraphs appear in the center of the page; when there is no more room, the text flows onto the next page (see blue area). Left of that, text wrapped ...
user avatar
  • 688
0 votes
1 answer
98 views

Problem with wrapping text in Multirow!

I am really struggling to make a simple table. But my problem is that the dear LaTeX doesn't wrap my text in one column which has a multirow. I have made a photo out of the main pdf which indicates ...
user avatar
0 votes
1 answer
200 views

How to use input in newcommand?

I want to implement an insert text wrapped in some additional tags using the \input command. But I get LaTeX Error: There's no line here to end.. How to do it properly? Here is my minimal reproducible ...
user avatar
3 votes
1 answer
88 views

wrapping a box in multi line

\documentclass{book} \usepackage{stackengine} \usepackage{ulem} \renewcommand{\baselinestretch}{4} \begin{document} \stackunder{\uline{this a text this a text this a text this a text this ...
user avatar
  • 31
1 vote
1 answer
475 views

Long text string wrapping in a LaTeX table

I am currently trying to create a simple 4-column table and I've been trying to sort out the wrapping issue. \begin{table}[ht] \centering \caption{- Main silicate HFSE-hosting minerals from ...
user avatar
  • 173
1 vote
0 answers
41 views

How do I put text around a picture in irregular lengths?

First time asking a question because I really couldn't find one similar. I have a background picture which is a paper texture + a graphic on the bottom right corner. The reason for this, is because ...
user avatar

1
2 3 4 5
7