tex >> Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 00:47:06 GMT

...to position some image somewhere specific on a specific page and let the
text flow nicely around it?

From what I have understood that seems to be contrary to the philosophy of
LaTeX where you let *it* do all the layouting and stuff. I like that about
LaTeX because it seems to save a lot of work. Nonetheless I would like to be
able to do some of that, like... letting it run through, review the finished
document and then say add at an image at page x right in the center between
the two columns and let the text flow around as it does in word. (As you might
guess - I am not preparing a scientific text.) Something kind of
last minute changes.

If there's no "relatively easy" way to do it, I fear I'll have to resort to
Word again because I am definitely going to need that type of eye candy.

Alex

--
Waiting for you to return.


tex >> Newbie question: is it possible in LaTeX...

by Donald Arseneau » Tue, 22 Jun 2004 04:44:46 GMT


Alexander Kalinowski < XXXX@XXXXX.COM > writes:


No. Such visual layout -- with special shapes at fixed page positions --
is better handled with a visual layout tool.

Images at fixed position in the *text* or floating freely are what LaTeX
handles.

Donald Arseneau XXXX@XXXXX.COM



tex >> Newbie question: is it possible in LaTeX...

by Lars Madsen » Tue, 22 Jun 2004 05:18:59 GMT





If he don't mind placing it by hand and isn't afraid of using wrapfig then
it is possible.

There even a description of this somewhere I just can't remember where.

Put the picture in the left column and also use wrapfig to create a hole
in the right column

this will provide an effect like

xxxxxxxxx xxxxxxxxx
xxxxxxxxx xxxxxxxxx
xxxxxx xxxxxx
xxxxxx xxxxxx
xxxxxx xxxxxx
xxxxxxxxx xxxxxxxxx
xxxxxxxxx xxxxxxxxx


But you will have to place them by hand.


--
/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
LaTeX Intro: http://people.ee.ethz.ch/ ~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class:
http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.


Newbie question: is it possible in LaTeX...

by Ulrike Fischer » Tue, 22 Jun 2004 18:05:31 GMT

Alexander Kalinowski < XXXX@XXXXX.COM > schrieb:


It should be possible if the text doesn't change afterwards. There is
the (low-level TeX) \parshape command, which you can use to give a
particular paragraph a special shape e.g. a hole on the left or the
right. It should also be possible to set the hole with wrapfig.sty.
With e.g. the package textpos or a picture-environment you can then
place the image in the hole.

But if you change something the holes will wander and you will have to
reset everything.

--
Ulrike Fischer
e-mail: zuszlich meinen Vornamen vor dem @ einfen.
e-mail: add my first name between the news and the @.


Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 18:41:59 GMT



: Alexander Kalinowski < XXXX@XXXXX.COM > writes:

: > ...to position some image somewhere specific on a specific page and let the
: > text flow nicely around it?

: No. Such visual layout -- with special shapes at fixed page positions --
: is better handled with a visual layout tool.

Alex:
Oh, that's unfortunate. I would assume that for fancy magazine articles such
a thing would increase the value of TeX/LaTeX by far - to be able to
position certain images "by hand" after the main text is done and then let
it redo the layout, one image after another.

: Images at fixed position in the *text* or floating freely are what LaTeX
: handles.

Alex:
As I suspected. Oh well. Back to Word then.

--
Waiting for you to return.


Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 18:51:09 GMT





: > Alexander Kalinowski < XXXX@XXXXX.COM > writes:
: >
: >> ...to position some image somewhere specific on a specific page and let
: >> the
: >> text flow nicely around it?
: >
: > No. Such visual layout -- with special shapes at fixed page positions --
: > is better handled with a visual layout tool.
: >
: > Images at fixed position in the *text* or floating freely are what LaTeX
: > handles.
: >
: > Donald Arseneau XXXX@XXXXX.COM

: If he don't mind placing it by hand

Alex:
No not at all.

: and isn't afraid of using wrapfig then
: it is possible.

Alex:
Wrapfig? I'll take a look at it.

: There even a description of this somewhere I just can't remember where.

Alex:
Lol! That's funny. In the TeX Catalogue Online it says that Donald Arseneau is the
implementor of this package. And he just said that it is not possible (see
above). Which is it now? :-)

: Put the picture in the left column and also use wrapfig to create a hole
: in the right column

: this will provide an effect like

: xxxxxxxxx xxxxxxxxx
: xxxxxxxxx xxxxxxxxx
: xxxxxx xxxxxx
: xxxxxx xxxxxx
: xxxxxx xxxxxx
: xxxxxxxxx xxxxxxxxx
: xxxxxxxxx xxxxxxxxx


: But you will have to place them by hand.

Alex:
I think I'll play a bit around with wrapfig to see how difficult it is to
handle that, thanks for the advice.

: --
: /daleif (remove RTFSIGNATURE from email address)

: LaTeX FAQ: http://www.tex.ac.uk/faq
: AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
: LaTeX Intro: http://people.ee.ethz.ch/ ~oetiker/lshort/lshort.pdf
: Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
: Superb Class:
: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
: Remember to post minimal working examples.

--
Waiting for you to return.


Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 19:05:57 GMT



: Alexander Kalinowski < XXXX@XXXXX.COM > schrieb:

: >
: > ...to position some image somewhere specific on a specific page and
: > let the text flow nicely around it?
: >

: It should be possible if the text doesn't change afterwards. There is
: the (low-level TeX) \parshape command,

Alex:
I'll try to check that out too.

: which you can use to give a
: particular paragraph a special shape e.g. a hole on the left or the
: right. It should also be possible to set the hole with wrapfig.sty.
: With e.g. the package textpos or a picture-environment you can then
: place the image in the hole.

Alex:
Textpos? I already read about that in some other article wrt absolute
positioning - is it compatible with pdflatex? Probably not? That would mean
I would have to produce ps and then convert it into pdf.

: But if you change something the holes will wander and you will have to
: reset everything.

Alex:
Basically what I would do is to (as I had mentioned) do the entire text
without those images inbetween and then after LaTeXing the entire text
go through the book from start to end and place the images by hand, one
after another. The real problem I see is that with a text the size of a book
the likelihood of having to replace them by hand multiple times is not all
that small. If it was just for a short article, I'd definitely give it a try
but...

Well, I'll play with the mentioned packages/commands and will have to decide
then on whether to return to Word or not. Thanks for your help.

: --
: Ulrike Fischer
: e-mail: zuszlich meinen Vornamen vor dem @ einfen.
: e-mail: add my first name between the news and the @.

--
Waiting for you to return.


Newbie question: is it possible in LaTeX...

by Lars Madsen » Tue, 22 Jun 2004 19:16:16 GMT



\documentclass[a4paper,twocolumn]{article}
\def\x{x x x x x x x x x x }
\def\xx{\x\x\x\x\x\x\x\x\x\x\x\x\x\x}
\def\xxx{\xx\xx\xx\xx\xx\xx}
\usepackage{wrapfig}
\usepackage{calc}
\setlength\textheight{19\baselineskip+\topskip}
\newlength\test
\setlength\test{6cm+\columnsep}
\begin{document}
\xx
\begin{wrapfigure}[10]{r}[3cm]{6cm}
\rule[-6ex]{\test}{8\baselineskip}
\end{wrapfigure}
\xx\xx
\par
\xx
\begin{wrapfigure}[10]{l}[3cm]{6cm}
\end{wrapfigure}
\xx\x\x\x\x\x\x\x\x\x\x\x\x\x\hfill The end
\end{document}

the doc for wrapfig is at the bottom of wrapfig.sty



--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
LaTeX Intro: http://people.ee.ethz.ch/ ~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.


Newbie question: is it possible in LaTeX...

by Donald Arseneau » Tue, 22 Jun 2004 19:21:34 GMT

Alexander Kalinowski < XXXX@XXXXX.COM > writes:




No he didn't. He said that they can be anchored to fixed text,
or allowed to float, but not anchored to a fixed position on the
*page*, which is what you specifically asked for.

Lars suggested a solution if you relax your requirement of
positioning on the page.


Get the .txt file taht sits with wrapfig.sty on ctan.


Donald Arseneau XXXX@XXXXX.COM


Newbie question: is it possible in LaTeX...

by Lars Madsen » Tue, 22 Jun 2004 19:32:26 GMT




I knew I'd seen it somewhere. But the link in the catalogue is incorrect

The correct url is
http://www.ctan.org/tex-archive/macros/latex/contrib/wrapfig/

I have send a mail to Graham.

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
LaTeX Intro: http://people.ee.ethz.ch/ ~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.


Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 20:11:59 GMT




: >
: > Alex:
: > I think I'll play a bit around with wrapfig to see how difficult it is to
: > handle that, thanks for the advice.
: >

: \documentclass[a4paper,twocolumn]{article}
: \def\x{x x x x x x x x x x }
: \def\xx{\x\x\x\x\x\x\x\x\x\x\x\x\x\x}
: \def\xxx{\xx\xx\xx\xx\xx\xx}
: \usepackage{wrapfig}
: \usepackage{calc}
: \setlength\textheight{19\baselineskip+\topskip}
: \newlength\test
: \setlength\test{6cm+\columnsep}
: \begin{document}
: \xx
: \begin{wrapfigure}[10]{r}[3cm]{6cm}
: \rule[-6ex]{\test}{8\baselineskip}
: \end{wrapfigure}
: \xx\xx
: \par
: \xx
: \begin{wrapfigure}[10]{l}[3cm]{6cm}
: \end{wrapfigure}
: \xx\x\x\x\x\x\x\x\x\x\x\x\x\x\hfill The end
: \end{document}

: the doc for wrapfig is at the bottom of wrapfig.sty

Alex:
Yup, downloaded it and some other doc for placing the wrapfigure with
multiple columns. Will study them at home. :-)


: --

: /daleif (remove RTFSIGNATURE from email address)

: LaTeX FAQ: http://www.tex.ac.uk/faq
: AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
: LaTeX Intro: http://people.ee.ethz.ch/ ~oetiker/lshort/lshort.pdf
: Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
: Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
: Remember to post minimal working examples.

--
Waiting for you to return.


Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 20:14:00 GMT



: Alexander Kalinowski < XXXX@XXXXX.COM > writes:

: > : > No. Such visual layout -- with special shapes at fixed page positions --
: > : > is better handled with a visual layout tool.
: > : >
: > : > Images at fixed position in the *text* or floating freely are what LaTeX
: > : > handles.

: > : If he don't mind placing it by hand

: > Lol! That's funny. In the TeX Catalogue Online it says that Donald Arseneau is the
: > implementor of this package. And he just said that it is not possible (see
: > above).

: No he didn't. He said that they can be anchored to fixed text,

Alex:
Ah, now I get him. :-) I orginally (mis-)understood anchored to mean
inserted.

: or allowed to float, but not anchored to a fixed position on the
: *page*, which is what you specifically asked for.

: Lars suggested a solution if you relax your requirement of
: positioning on the page.

Alex:
Understood.

: > : But you will have to place them by hand.

: Get the .txt file taht sits with wrapfig.sty on ctan.

Alex:
Got it. I'll check it out. Thanks again.

: Donald Arseneau XXXX@XXXXX.COM

--
Waiting for you to return.


Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 20:17:30 GMT




: > Alexander Kalinowski < XXXX@XXXXX.COM > writes:
: >
: >
: >>: > No. Such visual layout -- with special shapes at fixed page positions --
: >>: > is better handled with a visual layout tool.
: >>: >
: >>: > Images at fixed position in the *text* or floating freely are what LaTeX
: >>: > handles.
: >
: >
: >>: If he don't mind placing it by hand
: >
: >
: >>Lol! That's funny. In the TeX Catalogue Online it says that Donald Arseneau is the
: >>implementor of this package. And he just said that it is not possible (see
: >>above).
: >
: >
: > No he didn't. He said that they can be anchored to fixed text,
: > or allowed to float, but not anchored to a fixed position on the
: > *page*, which is what you specifically asked for.
: >
: > Lars suggested a solution if you relax your requirement of
: > positioning on the page.
: >
: >
: >>: But you will have to place them by hand.
: >
: >
: > Get the .txt file taht sits with wrapfig.sty on ctan.
: >

: I knew I'd seen it somewhere. But the link in the catalogue is incorrect

: The correct url is
: http://www.ctan.org/tex-archive/macros/latex/contrib/wrapfig/

: I have send a mail to Graham.

Alex:
I got it from http://www.tug.org/tex-archive/macros/latex/contrib/wrapfig/.

I suppose multiple-span.txt is the above mentioned text?

: --

: /daleif (remove RTFSIGNATURE from email address)

: LaTeX FAQ: http://www.tex.ac.uk/faq
: AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
: LaTeX Intro: http://people.ee.ethz.ch/ ~oetiker/lshort/lshort.pdf
: Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
: Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
: Remember to post minimal working examples.

--
Waiting for you to return.


Newbie question: is it possible in LaTeX...

by Ulrike Fischer » Tue, 22 Jun 2004 20:20:41 GMT

Alexander Kalinowski < XXXX@XXXXX.COM > schrieb:



Yes. I use it to overwrite pdf-forms (inserted with pdfpages) with some
text and get a filled formular. But it is only usefull if you want to
fix something relatif to the page, not if it should be fixed relatif to
a paragraph.

Btw: I find your non standard quoting style a bit difficult to read.

--
Ulrike Fischer
e-mail: zuszlich meinen Vornamen vor dem @ einfen.
e-mail: add my first name between the news and the @.


Newbie question: is it possible in LaTeX...

by Alexander Kalinowski » Tue, 22 Jun 2004 20:33:51 GMT



: Alexander Kalinowski < XXXX@XXXXX.COM > schrieb:


: > Alex:
: > Textpos? I already read about that in some other article wrt absolute
: > positioning - is it compatible with pdflatex?

: Yes. I use it to overwrite pdf-forms (inserted with pdfpages) with some
: text and get a filled formular.

Alex:
Oh, that may be useful. Somewhere along the way I will be requiring filled
formulars too, I think.

: But it is only usefull if you want to
: fix something relatif to the page, not if it should be fixed relatif to
: a paragraph.

Alex:
Absolute positioning. Understood.

: Btw: I find your non standard quoting style a bit difficult to read.

Alex:
Well, what do you mean? That I intersect the original post with paragraphs
in my follow-ups? Or that I start each parapgraph with Alex?

: --
: Ulrike Fischer
: e-mail: zuszlich meinen Vornamen vor dem @ einfen.
: e-mail: add my first name between the news and the @.

--
Waiting for you to return.


Similar Threads

1. evaluation of math expressions in latex (newbie question)

Hello,

I was a LaTex user in the early 90's when I was in grad school, but
since then I've been stuck in a MS Word world like most everyone
else.   Recently, however, I've stumbled on a PC version of LaTex
(MiKTex 2.7) and I'd like to be able to use it productively for my
job.

I'm currently a high school physics teacher and this is the kind of
thing I'd like to be able to do, if possible:   I need to re-create
the same physics problem with multiple sets of numerical data.   For
example, I'd like to be able to set variables for, say mass and
acceleration, and possibly have them evaluated automatically and the
results inserted into the text.

In other words, to be able to go from:

m = (2)
a = (2)

A mass of (m) kg is accelerating at (a) m/s^2.   What net force is
acting upon the mass?

F= ma = (2 kg)(2 m/s^2) = 4N

to something that appears like this:

A mass of 2 kg is accelerating at 2 m/s^2.   What net force is acting
upon the mass?

F= ma = (2 kg)(2 m/s^2) = 4N  % Appears only in instructor edition %


Is it possible to do something like this?

Thank you very much

John

2. newbie latex question

3. HTML-style table package for LaTeX (newbie question)?

Does anyone know of a LaTeX package for specifying tables that allows
you to use markup similar to that used in HTML? I ask this because I
am attempting to put arbitrary contents into a table cell. Is this
possible in LaTeX?

I have tried using the multirow package, but it doesn't seem well-
suited for my purpose. Specifically, I am trying to put an itemized
list into a table cell.

Thanks in advance,
Desmond

4. LaTex newbie question - Removing chapter headings while keeping in toc

5. LaTex newbie question - Removing chapter headings while keeping in toc

On Sun, 07 Dec 2003 16:59:42 +0000, JosCarlos Santos wrote:

>> Toby Cadoux wrote:
>> 
>>> Hi
>>> 
>>> I was wondering if anyone could help me with a problem involving
>>> chapter numbering in a report.  I need to be able to remove the
>>> numbering from \chapter headings in the body of the report while still
>>> having the (unnumbered) chapter headings put in the toc.  I suppose I
>>> need something like \chapter* which keeps the item in the contents.
>> 
>> Start the new chapter with \chapter*{Another chapter} and type, on the
>> next line
>> 
>> \addcontentsline{toc}{chapter}{Another chapter}
>> 
>> Best regards,
>> 
>> Jose Carlos Santos

Ah

That makes a whole lot of sense - now I just need to ensure what I write
is semi-decent:)

Many, many thanks

6. Newbie Question on LaTeX 3 Programming

7. Am I the first child using an if question

Hi,
I have an xml file with the following structure:
<Dictionary>
...
<Nested>
<Entry>
...
</Entry>
<Entry>
...
</Entry>
</Nested>
<Entry>
</Entry>
</Dictionary>

I want to iterate over all entries and print them however there is a
special printing for entries that reside in <Nested> tags and are not
the first one.

I'm using the following code:
<xsl:for-each select="//Entry">
          <p>
            <!--Check if entry is part of a nested entry.-->
            <xsl:if test="name(..)='Nested' and position() > 1">
              <xsl:text>Print:123456</xsl:text>
            </xsl:if>

The name(..)='Nested' part is working however the position part does
not, I tried to find some info on the subject with no luck.

Do you have an idea ?

Thank,
Efi

8. Possible solution of possible bug in supp-pdf.tex