Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
17 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
142 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
122 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
42 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} ...
2
votes
1answer
63 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
43 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
66 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
48 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}| } ...
0
votes
1answer
37 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
91 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
35 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
87 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
40 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 ...
8
votes
1answer
213 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 ...
7
votes
3answers
188 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
75 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
71 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
52 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 ...
5
votes
0answers
44 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
67 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: ...
2
votes
2answers
151 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 ...
3
votes
0answers
133 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. ...
1
vote
0answers
116 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 ...
3
votes
1answer
116 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? ...
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 ...
6
votes
1answer
96 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: ...
3
votes
1answer
133 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 ...
0
votes
1answer
114 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, ...
6
votes
1answer
105 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} ...
2
votes
1answer
246 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 ...
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
117 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
50 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 ...
0
votes
0answers
145 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 ...
2
votes
2answers
397 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
184 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 ...
0
votes
0answers
97 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 ...
5
votes
1answer
105 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 ...
2
votes
1answer
163 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, ...
1
vote
0answers
37 views

Wrap text around non rectangular image [duplicate]

Is it possible to wrap text around a circle or around a polygon? Or do I have to insert linebreaks manually to the right places?
8
votes
2answers
185 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
326 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 ...
5
votes
2answers
464 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, ...
5
votes
1answer
264 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 ...
2
votes
1answer
209 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 ...
2
votes
0answers
95 views

Wrapping Lyx Graphic

I'm very new to this whole LaTeX system, but I love the typesetting, it looks so much better than Word, but i'm currently preparing an article with multiple columns using a \start{multicols} script i ...
2
votes
0answers
166 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 ...
6
votes
1answer
225 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 ...
3
votes
1answer
99 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 ...