Phantom spaces
In the attached lyx file, phantom at the beginning of a line results in a new-line. I have to use ctrl-space and insert a hard space to get the phantom to take any effect. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. Sam phantom.lyx Description: application/lyx
Re: Phantom spaces
Sam Liddicott schrieb: In the attached lyx file, phantom at the beginning of a line results in a new-line. This is by design. To change this, you can either add a zero space (width of 0pt) before the phantom or you force a line break before the phantom, see attached. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. A phantom is no real style and therefore not implemented as character style. For the next major LyX release LyX 1.7 it is possible to insert phantoms via the Insert menu, see http://wiki.lyx.org/LyX/NewInLyX20#commands regards Uwe phantom.lyx Description: application/lyx
Re: Phantom spaces
On Wednesday 11 November 2009 05:02:47 Sam Liddicott wrote: In the attached lyx file, phantom at the beginning of a line results in a new-line. I have to use ctrl-space and insert a hard space to get the phantom to take any effect. I think the following URL answers your question: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2008-01/msg01041.html I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. Thanks for telling me about \phantom, \vphantom and \hphantom. I usually use \vfill and \hfill, but these phantom commands look like they might come in handy some day. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Phantom spaces
On Wednesday 11 November 2009 09:36:07 Uwe Stöhr wrote: Sam Liddicott schrieb: In the attached lyx file, phantom at the beginning of a line results in a new-line. This is by design. To change this, you can either add a zero space (width of 0pt) before the phantom or you force a line break before the phantom, see attached. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. A phantom is no real style and therefore not implemented as character style. For the next major LyX release LyX 1.7 it is possible to insert phantoms via the Insert menu, see http://wiki.lyx.org/LyX/NewInLyX20#commands Uwe and Sam, What are some of the situations in which you might want to use phantoms. The whole concept sounds so Geeky I want to use them, but can't figure out a situation that calls for them. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Phantom spaces
Steve Litt schrieb: What are some of the situations in which you might want to use phantoms. Phantoms are used several times in the EmbeddedObjects manual. The Math manual describes how to use phantoms for math. regards Uwe
Re: Phantom spaces
On Nov 11, 2009, at 10:40 AM, Steve Litt wrote: What are some of the situations in which you might want to use phantoms. The whole concept sounds so Geeky I want to use them, but can't figure out a situation that calls for them. If memory serves, Peter Wilson's memoir manual has an example of using hphantom in a verse environment. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow.
Phantom spaces
In the attached lyx file, phantom at the beginning of a line results in a new-line. I have to use ctrl-space and insert a hard space to get the phantom to take any effect. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. Sam phantom.lyx Description: application/lyx
Re: Phantom spaces
Sam Liddicott schrieb: In the attached lyx file, phantom at the beginning of a line results in a new-line. This is by design. To change this, you can either add a zero space (width of 0pt) before the phantom or you force a line break before the phantom, see attached. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. A phantom is no real style and therefore not implemented as character style. For the next major LyX release LyX 1.7 it is possible to insert phantoms via the Insert menu, see http://wiki.lyx.org/LyX/NewInLyX20#commands regards Uwe phantom.lyx Description: application/lyx
Re: Phantom spaces
On Wednesday 11 November 2009 05:02:47 Sam Liddicott wrote: In the attached lyx file, phantom at the beginning of a line results in a new-line. I have to use ctrl-space and insert a hard space to get the phantom to take any effect. I think the following URL answers your question: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2008-01/msg01041.html I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. Thanks for telling me about \phantom, \vphantom and \hphantom. I usually use \vfill and \hfill, but these phantom commands look like they might come in handy some day. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Phantom spaces
On Wednesday 11 November 2009 09:36:07 Uwe Stöhr wrote: Sam Liddicott schrieb: In the attached lyx file, phantom at the beginning of a line results in a new-line. This is by design. To change this, you can either add a zero space (width of 0pt) before the phantom or you force a line break before the phantom, see attached. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. A phantom is no real style and therefore not implemented as character style. For the next major LyX release LyX 1.7 it is possible to insert phantoms via the Insert menu, see http://wiki.lyx.org/LyX/NewInLyX20#commands Uwe and Sam, What are some of the situations in which you might want to use phantoms. The whole concept sounds so Geeky I want to use them, but can't figure out a situation that calls for them. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Phantom spaces
Steve Litt schrieb: What are some of the situations in which you might want to use phantoms. Phantoms are used several times in the EmbeddedObjects manual. The Math manual describes how to use phantoms for math. regards Uwe
Re: Phantom spaces
On Nov 11, 2009, at 10:40 AM, Steve Litt wrote: What are some of the situations in which you might want to use phantoms. The whole concept sounds so Geeky I want to use them, but can't figure out a situation that calls for them. If memory serves, Peter Wilson's memoir manual has an example of using hphantom in a verse environment. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow.
Phantom spaces
In the attached lyx file, phantom at the beginning of a line results in a new-line. I have to use ctrl-space and insert a hard space to get the phantom to take any effect. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. Sam phantom.lyx Description: application/lyx
Re: Phantom spaces
Sam Liddicott schrieb: In the attached lyx file, phantom at the beginning of a line results in a new-line. This is by design. To change this, you can either add a zero space (width of 0pt) before the phantom or you force a line break before the phantom, see attached. I'm also thinking what about a phantom text style (as text styles can be nested) but this might need whatever magic is required to get phantom to work at the start of a line. A phantom is no real style and therefore not implemented as character style. For the next major LyX release LyX 1.7 it is possible to insert phantoms via the Insert menu, see http://wiki.lyx.org/LyX/NewInLyX20#commands regards Uwe phantom.lyx Description: application/lyx
Re: Phantom spaces
On Wednesday 11 November 2009 05:02:47 Sam Liddicott wrote: > In the attached lyx file, phantom at the beginning of a line results in > a new-line. I have to use ctrl-space and insert a hard space to get the > phantom to take any effect. I think the following URL answers your question: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2008-01/msg01041.html > > I'm also thinking what about a phantom text style (as text styles can be > nested) but this might need whatever magic is required to get phantom to > work at the start of a line. Thanks for telling me about \phantom, \vphantom and \hphantom. I usually use \vfill and \hfill, but these phantom commands look like they might come in handy some day. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Phantom spaces
On Wednesday 11 November 2009 09:36:07 Uwe Stöhr wrote: > Sam Liddicott schrieb: > > In the attached lyx file, phantom at the beginning of a line results in > > a new-line. > > This is by design. To change this, you can either add a zero space (width > of 0pt) before the phantom or you force a line break before the phantom, > see attached. > > > I'm also thinking what about a phantom text style (as text styles can be > > nested) but this might need whatever magic is required to get phantom to > > work at the start of a line. > > A phantom is no real style and therefore not implemented as character > style. For the next major LyX release LyX 1.7 it is possible to insert > phantoms via the Insert menu, see > http://wiki.lyx.org/LyX/NewInLyX20#commands Uwe and Sam, What are some of the situations in which you might want to use phantoms. The whole concept sounds so Geeky I want to use them, but can't figure out a situation that calls for them. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Phantom spaces
Steve Litt schrieb: What are some of the situations in which you might want to use phantoms. Phantoms are used several times in the EmbeddedObjects manual. The Math manual describes how to use phantoms for math. regards Uwe
Re: Phantom spaces
On Nov 11, 2009, at 10:40 AM, Steve Litt wrote: What are some of the situations in which you might want to use phantoms. The whole concept sounds so Geeky I want to use them, but can't figure out a situation that calls for them. If memory serves, Peter Wilson's memoir manual has an example of using hphantom in a verse environment. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow.