lyx-users Digest, Vol 70, Issue 8

Keith Sloan keith at sloan-home.co.uk
Thu Jan 28 23:23:54 UTC 2021


tda.cls attached


> Message: 2
> Date: Thu, 28 Jan 2021 15:01:45 -0500
> From: Richard Kimberly Heck <rikiheck at lyx.org>
> To: parubin73 at gmail.com, lyx-users at lists.lyx.org
> Subject: Re: Importing tex file into Lyx
> Message-ID: <56e9d0fd-296a-650b-eeeb-fa53fc70437e at lyx.org>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> On 1/28/21 2:48 PM, Paul A. Rubin wrote:
>> On 1/28/21 10:54 AM, Keith Sloan wrote:
>>> My Uni has supplied me with a tex template that they want me to use.
>>> I have tried opening a new Lyx document and then importing the tex
>>> file but I get an error see attached.
>>> An error occurred while running:
>>> $$s/../MacOS/text2lyx -f "casestudy.tex"
>>> "casestudy.lyx"
>>>
>>> I am on Mac Catalina 10.15.7
>>>
>>> I note the tex file has near the beginning
>>>
>>> %Example of use of Time Domain Astrophysics latex class
>>> \documentclass{tda}
>>>
>>> And they are also supplying a file tda.cls
>>>
>>> Not sure where to go to diagnose the problem.
>>> Hope somebody can help advise
>>>
>>> ========== Art & Ceramics ===========
>>> https://www.instagram.com/ksloan1952/
>>>
>> I think you are going to have to do the following:
>>
>>   1. Install tda.cls in your LaTeX setup (park it in an appropriate
>>      location and make sure your LaTeX installation can find it).
>>   2. Create a LyX layout file for the tda class, and store that in your
>>      local LyX directory.
>>   3. Reconfigure LyX so it finds the new layout.
>>
>> See chapter 5 of the LyX Customization manual for details.
>>
> If you're lucky, the tda template will be based upon some standard LaTeX
> template (e.g., report or book), and you can get a working layout very
> simply: Copy report.layout (say) to tda.layout, and put that into your
> LyX user directory. Look at the tda.cls file (or post it here). You are
> likely to find some material that shows what it is based upon.
>
> Riki
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210128/40bf2ade/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 28 Jan 2021 15:06:31 -0800 (PST)
> From: Rich Shepard <rshepard at appl-ecosys.com>
> To: lyx-users at lists.lyx.org
> Subject: Document tab blank
> Message-ID: <alpine.LNX.2.20.2101281458560.3106 at salmo.appl-ecosys.com>
> Content-Type: text/plain; charset="us-ascii"; Format="flowed"
>
> This is one I've not seen before. I'm using lyx-2.3.6.1.
>
> I opened a .lyx document in a new tab and the title does not display in the
> tab. It's plain white (see attached screenshot.) Closing and reloading lyx
> makes no difference.
>
> Ideas?
>
> Rich
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: lyx-screenshot.png
> Type: image/png
> Size: 21191 bytes
> Desc:
> URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210128/f0b62265/attachment.png>
>
> ------------------------------
>
> Subject: Digest Footer
>
> lyx-users mailing list
> lyx-users at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
> ------------------------------
>
> End of lyx-users Digest, Vol 70, Issue 8
> ****************************************

-- 
========== Art & Ceramics ===========
https://www.instagram.com/ksloan1952/

-------------- next part --------------
\ProvidesClass{tda}[Time Domain Astrophysics template]

% load in the main exam class with appropriate options
\LoadClass[11pt,a4paper]{exam} 

%space out the lines by 25% more than the default (basically 1.5 line spacing)
%\linespread{1.25}

%load in some commonly needed packages 
\RequirePackage{ifthen,amsmath,amssymb,amsthm,bm,graphicx,color,natbib}

%increase the printed page area width
\extrawidth{0.75cm}

%increase header space on title page only
\extraheadheight[1.5cm]{0cm}

%setup page headers/footers for first and subsequent pages
\pagestyle{headandfoot}
\lhead{}
\chead[\bfseries \Large \thecourse\\
\thetopic]{}
\lfoot{\footnotesize Astrophysics Research Institute, Liverpool John Moores University\\ \thecourse:\ \thetopic}
\cfoot{}
\rfoot{Page \thepage{} of \numpages}
\footrule

% define newcommands for user set page header details
\newcommand*{\course}[1]{\def\thecourse{#1}}
\newcommand*{\topic}[1]{\def\thetopic{#1}}


More information about the lyx-users mailing list