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

learn more… | top users | synonyms

0
votes
1answer
112 views

Tables or other ways to achieve complex page layout

Posting it as a new question, also related to this question as well as maybe relevant in this context of table formatting... What about some things that, to my knowledge, no (other) word processor can ...
0
votes
0answers
23 views

Nesting wrapped textboxes

for formmating a piece of poetry, I need to nest a textbox inside another one, and that the outer text wrapps both left and right of the inner textbox, as it is to be in the center, I would like to do ...
0
votes
0answers
22 views

Wrap paragraphs in Sublime (alt-q) without wrapping environments

I would like to use the alt-q command in Sublime Text 3 to automatically hard-wrap paragraphs in my LaTeX file. However, when the paragraph contains an environment, like a figure or an equation, I ...
5
votes
3answers
163 views

Is there really no better solution to “Overfull \hbox” than adding a line break?

I am going through a rather long book to resolve the Overfull \hbox problem. Here is an example: varies greatly from organization to organization, team to team, and manager to manager. Innovation ...
7
votes
1answer
136 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 ...
2
votes
1answer
52 views

Wrapping lines of an equation with \left and \right parentheses

I am having trouble formatting the following mathematical expression: \begin{align*} A &= \left(\left(\frac{1}{2},\frac{1}{2}\right) + \sqrt{2}Rot_{-\pi/4}\left\langle 0, \frac{1}{2} ...
7
votes
3answers
190 views

Simulating a figure-environment

Is it possible to place two figure environments evenly side-by-side at the same horizontal height with some text between them ? In this question of mine, a partial solution has been provided to me, ...
2
votes
1answer
70 views

How to minimize occurring text gaps when wrapping around Images?

So I've got this problem. I am using XeTex compiler (but I think the rest give the same result too) I am using a \parshape style-method in order to form a space for a large image, in the middle, of a ...
0
votes
1answer
61 views

Need to align text to top of cell in table [duplicate]

this is the code I have now: \begin{tabular}{|l|l|p{8cm}|} \hline NB & Screen & Description\\ \hline \multirow{-40}{*}{1} & \includegraphics[scale=0.4, trim=0 0 0 ...
0
votes
1answer
79 views

How to force wrap MATLAB code

I'm including a MATLAB script as an appendix in a report I'm writing, I'm using mcode to import it, but some of the lines are longer than the width of my paper. In my master document I have: ...
1
vote
1answer
53 views

Wrap word in table cell

I have such table: \begin{tabularx}{\textwidth}{ |p{0.5cm}|X|p{1cm}|p{0.8cm}|p{1.1cm}|p{0.9cm}|p{0.9cm}|p{1.2cm}|p{0.9cm}|p{0.9cm}|p{1.5cm}| } ...
11
votes
3answers
2k 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 ...
0
votes
1answer
42 views

Line wrapping mathmode in ACM article-proc style

I am using the ACM document class acm_proc_article-sp. It is a two column page style. I keep running into a badbox where I have some line of text, and then a short equation in mathmode. For example, ...
4
votes
2answers
96 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 ...
2
votes
1answer
38 views

Putting table in a theorem environment sends it to the very end of the document

I'd like to illustrate my \begin{example} \lipsum[2] \end{example} with a table yet adding the table to the environment sends it to the very end of the document: \documentclass{article} ...
2
votes
1answer
91 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 ...
2
votes
0answers
41 views

How to calculate exactly the proper textwidth to get a pregiven wrapping?

I have a text written with 12pt letters. I would like to use 10pt letters with shorter textwidth but the same wrapping. How to calculate the width? It is possible to force LaTeX to do the same ...
2
votes
2answers
162 views

Previous half of page left blank when floating figure

I have a document where I wish to have a block of text then my figure then a block of text below that. I have tried using the [H] option along with the float package. While this does what I want it is ...
8
votes
1answer
246 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 ...
2
votes
1answer
81 views

usage of \lipsum[] leads to fake examples

This is more a comment than a question. I've tried several hours to wrap text around a picture using the wrapfig package. Among others, I have relied on Adjusting left/right margins of a wrapfig ...
1
vote
2answers
80 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
0answers
55 views

Tabular form wrapped around article [closed]

I have a strange beast of a technical report format for my job that I would like to port to TeX to help formatting. The problem is I'm not sure where to start. The essential problem is this: every ...
6
votes
0answers
48 views

How can I make a custom environment that wraps listings?

Thanks to this answer, I know it is possible to float and wrap text around a listing. I would like to setup an environment for mini-code snippets that always floats and wraps the same way. I can ...
1
vote
1answer
87 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: ...
3
votes
0answers
144 views

Shaped paragraph with centred picture (shapepar & cutwin)

I spent much time on this, but could not manage it or find a similar problem. I would like to insert a picture in the center of this heart shaped paragraph, the text should be wrapped around it. ...
5
votes
1answer
108 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 ...
1
vote
0answers
121 views

Placing table/figure inside paragraph

In my thesis, I am struggling in placing the figures and tables. The options [H] or [!htb] are not in a position to rescue as for few sections in the thesis there are more figures and tables in ...
51
votes
2answers
2k 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 ...
3
votes
1answer
122 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? ...
2
votes
1answer
461 views

How to float/wrap figures in ConTeXt?

I have a simple two column document in ConTeXt. I tried to float/wrap the figures within text with `placefigure`, but it inserts the figures exactly where they are. This will leave a empty space in ...
5
votes
2answers
223 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.
0
votes
0answers
19 views

Place figure just as you would a glyph/character [duplicate]

I would like to use a figure inline - and by that I literally mean having it inside the line of text. I want to display it in parentheses to illustrate what symbol I am referring to - these symbols ...
3
votes
1answer
427 views

Table width with multicolumn

I am producing lots of tables automatically with Stata (perhaps its useful to know that the top, content and bottom of the table are produced separately and then pasted together into one file I ...
3
votes
1answer
137 views

floatflt - removing extra white space on top

When I include a figure via floatfigure into my text, I can't get it to stick to the top margin of the text body. There is always some white space left. I even tried to look in the package code, but ...
6
votes
1answer
100 views

Is it possible to let captions wrap a bit around includegraphics within figures? [duplicate]

Is it possible to place the caption a bit around includegraphics within the figure (to save some space?). As it may be misunderstood what I want, I try to explain it exemplary: Currently the minimal ...
3
votes
1answer
117 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: ...
0
votes
1answer
115 views

How to wrap long text with \multicol in tables?

This is my code: \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,french]{babel} \usepackage{geometry} \geometry{a4paper, mag=1000, ...
2
votes
1answer
275 views

Wrap equation to new line, in array environment

Is it possible to wrap an equation to a new line (such as in How to wrap a long equation in latex but within an array environment? I have a column vector of regressors that I want to show over two ...
6
votes
1answer
110 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} ...
1
vote
0answers
26 views

How can I make the item label in the description environment wrap? [duplicate]

\documentclass{article} \begin{document} \begin{description} \item[This is a very very very very very very very very very very very very very very long header line:] blah blah \end{description} ...
3
votes
1answer
122 views

Wrap figure floats and Hebrew

I'm trying to create a wrap-float but even if there's nothing in the text it won't work. I'm using LyX 2.0.5.1. This is my MWE: % Preview source code %% LyX 2.0.5.1 created this file. For more ...
2
votes
0answers
53 views

List with wrapped figures

I am trying to define a list to describe a series of images. I would like each list element to have the image aligned with the first line of the description text and have the text wrap around the ...
8
votes
2answers
192 views

Allow source code to wrap around a figure

I would like to be able to wrap source code around a figure. Here's a MWE that should make it clear what I have in mind: \documentclass{article} \usepackage{wrapfig} \usepackage{listings} ...
4
votes
1answer
796 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, ...
0
votes
0answers
153 views

“Call out box” in a two-column document

I suppose "call out box" probably doesn't have much of a meaning in the TeX world, but a (framed) "box" probably isn't specific enough for what I mean. Anyway, I am compiling the following with ...
9
votes
3answers
8k 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). ...
2
votes
2answers
449 views

Wrapping table headings in tabular

I have troubles wrapping text in my table headers even though I specify the column width with p{1cm}. How can I force a table cell width? The table main body is generated by stata and ideally the ...
0
votes
2answers
188 views

ConTeXt: How to place a short caption under a wrapped figure?

This is a follow-up question to a previous ConTeXt solution. That solution dealt with wrapped figures in a ConTeXt document generated from Pandoc Markdown. Now, I would like to extend that solution ...
6
votes
1answer
235 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
1answer
166 views

Caption text wrapping bad way

I'm having some strange behavior. My captions are wrapped as at the picture. This is probably cased by .sty and .cls files provided by an academic scholar, which are quite a mess. Someone has an idea, ...