Questions tagged [parshape]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
54 views

SVG as page layout in Latex

I know we can use parshape and the shapepar package to have customized paragraph shapes, but I wonder if it is possible to read an SVG file and use it as page layout? A possible solution might be to ...
12
votes
1answer
387 views

Lists (itemize, enumerate) without \parshape

AFAIU (reading ltlists.dtx), lists (itemize, enumerate) in LaTeX rely on \parshape. Is there an other way to get the same result without \parshape. Motivation: wrapfigure and list environments badly ...
3
votes
1answer
85 views

How to prevent \raggedright from removing left-indent of \parshape?

Output with \raggedright looks good when greater indentation is specified for \parshape, but \raggedright eats up smaller indentation. If a word doesn't fit on a line, is there a way to prevent ...
3
votes
1answer
37 views

Why standalone class reverses \parshape indentation (such that it appears on the end of each line, not the beginning) and how to change that?

You can replace \documentclass[varwidth]{standalone} with \documentclass{article} to see the difference. How do I make \parshape work as intended while using standalone? \documentclass[varwidth]{...
6
votes
1answer
85 views

Why is \prevgraf zero at the end of the paragraph (or even in the middle of the paragraph)?

Both \the\prevgraf show zero. I expected it to show current line counter. \documentclass[varwidth]{standalone} \usepackage{expl3} \begin{document} \parbox{40mm} { \parshape 3 0mm 40mm 5mm 35mm ...
5
votes
2answers
104 views

How to make \parshape work inside a tikz node?

Expected output (2nd line has 5mm more indent than 1st, 3rd and following lines have 5mm more indent than 2nd): \documentclass{article} \begin{document} \setlength{\parindent}{0pt} \parshape=3 ...
4
votes
2answers
133 views

Wrong vertical spacing cutwin (clean solution text wrap image)

I noticed package cutwin seems to have issues with linespacing (see above image). After searching, several others also noticed this: Linespacing with cutwin, Misalignment with cutwin, http://tug.org/...
3
votes
1answer
49 views

How to use a macro to specify number of lines in a \parshape

I would like to be able to use a macro to specify the number of lines in a given \parshape. So, instead of \parshape 8 ... for instance, I would like to be able to use \newcommand*{\NumberOfLines}{...
3
votes
3answers
117 views

Multiple Paragraphs with \parshape

When using a \parshape, I can use \newline\hspace*{0.5\parindent} to produce a new "paragraph" and still continue with the current \parshape. Is it possible to leave a blank line and still get the ...
11
votes
2answers
193 views

Box with Semicircular Parshape at Top and Bottom

I am trying to design a box that has a semicircular parshape at the top and bottom as shown here: If the text is small enough then this is intended to shrink to a circle of the given \Radius (and not ...
2
votes
1answer
51 views

Box with Semicircular Parshape in a Savebox

This question is related to Box with Semicircular Parshape at Top and Bottom. Here I am trying typesetting the top portion into a \savebox using a semicircular \parshape in the MyRoundedBox* ...
0
votes
1answer
47 views

Centering a line in a \parshape, strange behavior

I was trying to center a line inside a \parshape using \\\hbox{}\hfill...\hfill\hbox{}\\, most of the time it works smoothly but sometimes the centered line is divided into two parts, as you can see ...
7
votes
1answer
142 views

Parshape has no effect inside group

In the MWE below the \parshape command behaves as expected. However if you add grouping (by uncommenting the two lines marked with a (*)) then it seems to have no effect! How do I make it behave like ...
6
votes
1answer
333 views

Line width in parshape environment

I would like to get the current line width in a \parshape environment. The following variables return the full page width (345pt), where I would expect 300pt: \documentclass{report} \usepackage{...
1
vote
0answers
119 views

Drop caps and parshape in the same paragraph

I have this requirement to have dropped caps and also use a parshape. I'd have liked to use lettrine and something like picinpar or picins, but all of those seem to use \parshape internally and thus ...
1
vote
1answer
100 views

Parshape WITHOUT justified text

My thesis office requires an inverted pyramid for all chapter titles. Here is the code I am using to produce the result: \newcommand{\invpyr}[1]{ \vbox{ \hsize=4.5in \parindent=0pt \...
1
vote
1answer
107 views

Parshape not working (and optimization)

I am using the command \parshape inside my document and it doesent seem to work. Any ideas why? \documentclass[10p, a4paper, twopage]{book} \usepackage{lipsum} \begin{document} \parshape=10 0.25\...
6
votes
0answers
1k 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. ...
2
votes
0answers
219 views

Wrap text around lettrine in caption

I would like to create a caption style for my figures. Currently, I try to do it using the caption package. The caption should be typeset in the margin paragraph. The caption should look like this: (...
1
vote
1answer
152 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 ...
1
vote
1answer
113 views

Adding a caption to graphics in parshape

This question is the continuation of the one posted here. How can I add a caption to the figures as shown below?
1
vote
1answer
332 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\...
4
votes
1answer
117 views

How make \parshape declared inside an environment to apply the next paragraph outside the environment?

I'm trying to do something like the MWE below: \documentclass{article} \usepackage{lipsum} \newenvironment{myenv}{% \parshape = 4 0pt 0.5\textwidth 0pt 0.5\textwidth 0pt 0.5\textwidth ...
6
votes
1answer
755 views

How to make \parshape take indentation of first line into account?

In the minimal example below, I want to create an empty space to the right of the paragraph using \parshape. However, the first line is indented and spills over into the empty space. I don't want that....