Re: How to edit postscript?
> Dear list, > > I have a document that is confidential, and I will export it when > finished into postscript. > > I would then like to take the postscript and either put black boxes over > the confidential stuff or remove it. But what remains must be > pixel-accurate compared to the uncencored version - if possible. > > I figure this is possible in ps, just subtract text and add box objects > - but I have no idea how to do it. > > Are there any editors I can get my hands on that will do that? I've not tried this myself but you might want to check out pstoedit and edit the result with xfig. According to the docs pstoedit will also produce Latex2e O/P. Tom. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:+44 (0) 1784 472794
Layout file for JLTP
Dear All, I am thinking of writing an article for publication in JLTP (Journal of Low Temperature Physics) and was wondering if anybody has produced a .layout file from the jltp.cls (Latex 2e) file supplied by the publisher? If so, would you be prepared to let me have a copy? Thanks. Tom Crane -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:01784 472794
\cite in \caption
Dear All, I have encountered the following problem with exported Latex from Lyx 1.0.4. I put a citation reference inside a table caption. A manual fix is to edit the Latex O/P and prefix the \cite with a \protect. Does anybody know if this has been fixed in the latest version of Lyx? Regards Tom. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:01784 472794
Revtex and wide abstract
Dear All, I am attempting to write a paper in Lyx (v.1.0.4) using Revtex (not Revtex4, in compatibility mode) but I cannot get wide abstracts to work with two column format. I have put a complete example downloaded from APS' eprint server which compiles and renders correctly with Latex but will not import in Lyx, on ftp://www.mklab.rhbnc.ac.uk/pub/tom/eprint.zip. Import fails with, reLyX, the LaTeX to LyX translator. Revision date 1999/05/02 Reading LaTeX command syntax (stripe.tex: Splitting Preamble Creating LyX preamble Reading layout file Cleaning... Use of uninitialized value at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 358, chunk 249. Expecting `$', got `}'=`' in ` \label{fig:2} \end{figure} ' at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 358, chunk 249. Expecting `$$', got \end in ` ' at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 397, chunk 249. Can't locate object method "environment" via package "Text::TeX::Begin::Group" at /usr/local/bin/../share/lyx/reLyX/Text/TeX.pm line 400, chunk 249. Exited due to fatal Error! Hacking the eprint example's Latex source to remove the \wideabs surrounding the title,pacs,abstract etc. will allow Lyx to import it but then of course I'm back with the narrow abstract or single columns. Any ideas? Thanks Tom Crane. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:01784 472794
Re: Formatting of multiline equations
Hi, Thanks for your followup. "Mr. Geepus the Sweeper" wrote: > You should be able to achieve something of the sort by doing this: > > 1. In the Math Editor, type out "f(x)=x*2" (or \times or \cdot or > whatever). > > 2. Now, go to the Math Panel and open the Delimiters dialog; set the left > and right delimiters to whatever you need, and hit Ok. > > 3. Within the delimiters you just inserted, insert a Matrix with however > many rows and columns you want... in your example above, you'd probably want > two columns so you could left-justify your terms, but you could just use one > column if you're not picky. The delimiters will grow to surround the entire > matrix. You can even nest matrices; they look odd in LyX, but the printed > output will still be nice. > I have followed your instructions but I cannot get it to give the O/P I need. I have attached a demo .lyx file to better illustrate the point. Do you have any more suggestions? Thanks again. Tom. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:01784 472794 #This file was created by Mon Oct 25 21:19:09 1999 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass revtex \begin_preamble %\documentstyle[preprint,prl,aps,epsf]{revtex} \def \rem#1 {{}} \def \com#1 {{\bf \it #1 }} \def \p#1 {{\bf #1 \par }} %\def \rej#1 {{\small \it #1 }} \def \rej#1 {{}} \def \endnote#1 {{\small [#1]}} \def \deg#1 {$#1^\circ$} %% Tom's defs... \def \hbn#1 {$h$-BN} \def \3he#1 {$^{3}$He} \end_preamble \options prl,aps,epsf \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 2 \papersides 2 \paperpagestyle default \layout Standard The main problem with this equation is that the bracket sizes don't match up. The justification I could live with. \layout Standard \begin_inset Formula \begin{eqnarray*} r(w)= & & z+\exp \left[ -\int ^{b}_{a}\left( 2x-5y\right) \left\{ \frac{2}{5}P_{1}(t)\exp \left( -a\left( u_{y}-u_{x}\right) w\right) +\right. \right. \\ & & 6P_{1}(t)\exp \left( -au_{y}w\right) +\\ & & \left. \left. 3G_{2}(\tau )\exp \left( -a\left( u_{y}+u_{x}\right) w\right) \right\} dt\right] \end{eqnarray*} \end_inset \layout Standard Following your method (I think!) gives this which is not what I need -- the [{}] need to open on the first line of the matrixed-bit and close on the 3rd line of the matrixed bit as the above equation does. \layout Standard \begin_inset Formula \[ r(w)=z+\exp \left[ -\int ^{b}_{a}\left( 2x-5y\right) \left\{ \begin{array}{cc} & \frac{2}{5}P_{1}(t)\exp \left( -a\left( u_{y}-u_{x}\right) w\right) +\\ & 6P_{1}(t)\exp \left( -au_{y}w\right) +\\ & 3G_{2}(\tau )\exp \left( -a\left( u_{y}+u_{x}\right) w\right) \end{array}\right\} dt\right] \] \end_inset \the_end
Formatting of multiline equations
Dear All, I am having difficulty formatting & justifying multiline equations in LyX (1.0.4). I want to spead across, say, 3 lines, an equation containing at least one nested level of parentheses. eg. Illustrating my point using the fixed font of this mailer I am trying to get something like, f(x) = x*2 (z+3{aterm + another_term + a_third term}) I would like to make Latex use a 'largish' round-bracket & brace - as it would if my equation was all on a single line. How can I do this?? TIA Tom. -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax: 01784 472794
Comment environment
Dear All, I am attempting to use the "comment paragraph environment" in LyX v1.0.3. I cannot find a menu pulldown for this feature. More importantly the M-p S-C key-sequence only gives a "Layout comment not known" error in the minibuffer. My documentclass is "Article (Revtex)". Does anybody know what problem/fix is? Thanks -- Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill, Egham, Surrey, TW20 0EX, England. Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] SPAN: 19.875 Fax:01784 472794