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

learn more… | top users | synonyms

55
votes
2answers
3k views

Two-column text with circular insert

How does one write on the outside of a circle? I am looking for sample files/packages which imitate a magazine lay-out. Specifically a page with two columns having a circular picture between the two ...
18
votes
2answers
2k views

Text wrap with shapepar (insert image between text)

How do insert image between text and text wrap with shapepar or other package?
58
votes
5answers
3k views

How do you create pull quotes?

Does anyone know a package for pull quotes? Failing that, is anyone interested in writing a command to create one? I'm thinking of something that would have optional and configurable separators ...
62
votes
12answers
4k views

What are the pros and cons of using hard wrapping, and why is it so common with LaTeX?

It seems that hard-wrapping - i.e. inserting a newline when the line reaches a certain threshold - is extremely common in the LaTeX source when writing technical papers, either by manually inserting ...
6
votes
1answer
1k views

Wrapping text in enumeration environment around a table

I would like to wrap the text in an enumerate environment around a table, this is my actual situation (sorry for including so much code, but I wanted to give a precise idea of the number of lines in ...
4
votes
1answer
510 views

ConTeXt: Wrapped text misbehaves at page breaks

On this site, a solution for text wrapping based on descriptions in Pandoc-generated ConTeXt documents was previously formulated. Although satisfactory for a one-page minimum working example, the then ...
8
votes
1answer
412 views

How to wrap pictures in lists in theorems with formulas?

I want text to flow pictures. @Bernard adviced me this way of doing it with formulas and theorems. Thanks him, it works great in many cases better than any other variants I have ever seen. I have ...
17
votes
1answer
5k views

How to wrap text around landscape page

I have from time to time a landscape page. I would like that text around it just normally flows. So something how figure environment works. So that it is not really important where you exactly define ...
6
votes
1answer
428 views

How to circumvent a late \pagetotal reset to 0pt?

Below example demonstrates at the beginning of each paragraph how \pagetotal is not always reset to 0pt at the beginning of the page. This appears to interfere with my attempt to automatically clear a ...
2
votes
2answers
9k views

Wrapping text in \multicolumn

I would like to wrap (and center) text within \multicolumn. Tabularx and tabilary only wrap the text outside of the \multicolumn{} columns. I would also like to define the column width as defined by ...
13
votes
3answers
3k views

vim LateX-Suite indentation and line breaking

I'm now setting up Vim for use with LaTeX. This is about setting up the indentation. In the picture below, there are many things that need tweaking. Everything between \vskip .5cm and \vskip 1in is ...
5
votes
0answers
468 views

Is there an alternative for \usepackage[nobottomtitles*]{titlesec}?

Is there an alternative for \usepackage[nobottomtitles*]{titlesec} as it messes up my automatic clearing of floatingfingure? \documentclass{article} \usepackage{mwe} \makeatletter \def\maxwidth{\...
5
votes
2answers
270 views

Can I have a tcolorbox behave like wrapfig, without using the wrapfig package?

I want to have the text go on the right side of my tcolorbox (like this), instead of it just being white space on the right side of my tcolorbox. This code illustrates a tcolorbox with all white on ...
6
votes
1answer
1k views

showlabels: wrap labels in marginpar

I use the showlabels package to highlight labels, references and citations. It appears that, by default, showlabels cannot wrap the keys in the marginpar. If I have a series of citations in one line, ...
3
votes
1answer
134 views

How to measure the vertical space that was typeset without placing it into an environment?

I would like to achieve automatic clearing of a {floatingfigure} at the beginning of a new \section for texts automatically created by Pandoc. For this to work, I am in need of a way to measure the ...
2
votes
1answer
403 views

How to adjust the width of a wrap text sideways column header and width of a paragraph cell in tabular

I am trying to create table as below, in Texmaker. . here i am facing following issues. To wrap text the column headers from 4 to 6 and align it center. Hspace on paragraph [row 3 last column] is ...
5
votes
2answers
553 views

How to insert an image inside a paragraph?

I'd like to insert a small image inside a paragraph, aligning it with the text. The following snapshot depicts what I have in mind. Notice the image at the end of the last line.
2
votes
1answer
180 views

Wrapping text around a table in enumeration environment with cutout and parshape

I borrowed the code for my MWE from here. I want to put the table to right side and have difficulty in understanding parshape command. What is the purpose of 15 26pt\linewidth 26pt\linewidth 0.5\...
2
votes
1answer
738 views

Code not wrapping in listings even though breaklines=true [closed]

I read that enabling breaklines in listings will make the included code wrap, but it does not in my case. Maybe something is interfering with this function? Full code is shown below: \ifdefined\...
1
vote
0answers
89 views

Package wrapfig and vertical float. Is it possible?

Good morning everybody. Here is the problem: I have a book with a lot of wrapfigures (aligned to the left or to the right). Wrapfig does an excellent job, except when the figure is close to the top ...
18
votes
2answers
28k views

how to text-wrap an image in latex

how to text-wrap an image in LaTeX. Ex: In technical documents, authors names will be text wrapped tights, with their images. can someone help me....its urgent for my paper submission.
17
votes
3answers
1k views

How do I wrap text that doesn't use SPACE character to segment word

As you know, there are many languages out there that don't use a SPACE character for word segmentation. For such language, special non-printable characters are used, such ZERO WIDTH NON JOINER or ZERO ...
13
votes
1answer
1k views

How can text wrap around a figure in tikzposter?

While designing a poster with tikzposter I stumbled over a small issue. Usually one can use the wrapfig package to let text wrap around figures but in a box in tikzposter this seems to fail completely ...
12
votes
2answers
211 views

Best way to wrap text around figures in expl3

As remarked in another question from today, I am trying to find a more flexible way to get text wrapped around figures than standard solutions like wrapfig or manual use of \parshape, and my eyes are ...
5
votes
1answer
931 views

Inserting an image on the right

I got a problem in my LaTeX document. I used the codes below: \begin{flushleft} \begin{figure}[tp] \centering \includegraphics{C:/Users/churva/Desktop/wla.jpg} \end{...
11
votes
3answers
16k views

Beamer: How text wrapping around a graphic right aligned?

I want to include a graphic in beamer presentation with right alignment and this graphic should be wrapping by text. I tried three packages but non of them works correct (minimal example below). ...
9
votes
1answer
9k views

Automatically wrap the text in verbatim [duplicate]

In tex environment, when I try to use the verbatim function using verbatim packages, sometimes the longer text in the line tend to be cut off. How can I resize the text to fit into the line or ...
7
votes
1answer
246 views

How can I wrap equations around a TikZ picture?

I am trying to arrange the image to be on the left of the equations, and I'd be grateful if someone could point me in the right direction. I have tried wrapfig, but I really couldn't manage to ...
7
votes
3answers
447 views

How can I prevent the next paragraph from overwriting the image of a description label?

LaTeX code generated from MarkDown by Pandoc: \documentclass{article} \usepackage{mwe} \makeatletter \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth \else\Gin@nat@width\fi} \makeatother \...
5
votes
2answers
684 views

ConTeXt: Figure scaling to width and text wrapping for Pandoc-generated documents

Consider the following Pandoc-generated ConTeXt document: \setuppapersize [A4][A4] \setuplayout [width=middle, backspace=1.5in, cutspace=1.5in, height=middle, topspace=0.75in, ...
4
votes
1answer
339 views

Pullquotes not working

I am want to wrap text around image using pull quote from Two-column text with circular insert, but I wasn't able even to compile example file correctly. Is there anybody that has pull quotes working? ...
3
votes
1answer
210 views

Wrapping image with multiple theorem-like environments and displayed math

I'm struggling to put an image into a page with multiple theorem-like environments, some of which include displayed math, but I can't get the text to wrap correctly around the image and caption: ...
3
votes
1answer
154 views

How can I redefine a list item to normal text in order to enable proper wrapping?

Consider the following LaTeX code, the bottom half of which was generated from MarkDown by Pandoc. \documentclass{article} \usepackage{mwe} \makeatletter \def\maxwidth{\ifdim\Gin@nat@width>\...
16
votes
3answers
4k views

How to wrap text in table cell?

this code: %%%%%%%%%%%%%%%%%%Table: Valence x valence crosstab \begin{table*}[t] \centering \begin{tabular}{c c c c c c c} \toprule \midrule &...
8
votes
1answer
293 views

seqsplit - keep spaces

Hey im looking to create a text wrap command to be used inside a table for long word wrapping. so far i have this: \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} \newcommand{\wrap}[1]{\...
5
votes
1answer
185 views

Possible to wrap multiple rows within a column at one time?

I am producing a document that has "interlinear" qualities. As such, it would be much simpler if I could wrap multiple lines of text at one time. Here is an example of what I want: Let's take these ...
5
votes
1answer
623 views

How to adjust the width of a wrap text sideways column header in tabular [duplicate]

I am trying to create table as below, in Texmaker. here i am facing following issues. To wrap text the column headers from 4 to 6 and align it center. Hspace on paragraph [row 3 last column] is ...
4
votes
2answers
143 views

Alignment Problem in Table environment

Regarding to the following question Problem with subcaptions in subtables I created the following. There appears three problems: in the header starting from "Mean" to "Max." The alignment seems not to ...
3
votes
2answers
336 views

Wrapfig floating to bottom (Article)

I'm trying to get a figure to float beside text but I keep getting the error "wrapfigure used inside conflicting environment," and the figure floats down to the bottom. I'm pretty sure it's not in a ...
3
votes
2answers
83 views

Text not wrapping to margins if highlighted with \colorbox

In a test file such as; \documentclass{article} \begin{document} \begin{itemize} \item Short line of text \item Comparatively long line of text to illustrate that latex is wrapping my text ...
3
votes
1answer
269 views

How to wrap web address in table?

All of my text in my table wraps except for line 13, which I have copied below. The website runs off to the side of the page. I'd like it to wrap the web address. Can anyone help? \documentclass[...
3
votes
1answer
63 views

How to set default value of optional argument exactly in function?

I have two problems. I have an mechanism. It gives me correct number of lines, which I should make narrow (I have it in \setcounter{ct}{...}). And I want to teach \addpicture that skill and use it ...
2
votes
1answer
259 views

How to use alternate table coloring with wrapping column?

I am working on table in which the last column is wrapped with a command \Addbreakable. I need to color alternate rows as well. But I can do either \Addbrekable or coloring alternate rows. Note: ...
2
votes
1answer
73 views

How to find the right number of lines?

I am writting some commands for inserting wrapped pictures. see that topic: How to wrap pictures in lists in theorems with formulas? Now I see that \begin{wrapfigure}...\end{wrapfigure} without ...
2
votes
1answer
107 views

wrapfig - Make wrapped image respect margins and page ends

I need to insert images wrapped in text. wrapfig obviously comes to mind. The problem is the wrapped figure, by default, ignores margins and even page ends. I mean, if I put the image less than its ...
2
votes
2answers
45 views

Help with multirow table

I am trying to wrap text in the multirow column (1st one) and only have the vertical lines inside the table if that makes sense. Can anyone help me? ` \begin{table*}[!htbp] \centering \renewcommand{...
2
votes
1answer
35 views

Tabular using X column not wrapping cells (tabu package)

I have the following code. \documentclass{article} \usepackage{lscape} \usepackage[table]{xcolor} \usepackage{tabu} \usepackage{multirow} \begin{document} \begin{landscape} \taburowcolors[3] 2{gray!...
2
votes
1answer
48 views

problem with text wrapping in tabular environment

I would like the contents of a cell in a row span several lines. I have the following MWE: \begin{table}[b]{ \begin{center}{ \begin{tabular}{|l|c|c|c|c|} \hline Source & Value & Affected &...
1
vote
1answer
193 views

How to remove multiline space within cell value (in Table)?

This refers to my following question. Setting single row height with multirow \documentclass[11pt,table,a5paper]{article} \usepackage{array,ragged2e} \usepackage{graphicx} \usepackage[framemethod=...
0
votes
1answer
127 views

How to avoid text from overlapping adjacent columns using `longtable`

I need to use the same format (or pretty similar) at the start of the \begin{longtable}{...} and preferably the same \mylenght defined from the suggested fixes to my previous problem: First problem ...