[OS X TeX] form TeXShop to LyX

RA Friedrich Vosberg rafv at me.com
Mon Oct 31 13:58:37 EDT 2011


Morning.

How can I import and use some of my personal TeXShop templates in LyX, particularly my own letter class?

If I simply try to import such a template (see below), LyX opens as follows:

%%------------------------------------------------------------------------------\myref{} \yourref{} \yourmail{} %%------------------------------------------------------------------------------\eilt{} \specialmail{} %%------------------------------------------------------------------------------

Sender Name: title

{} 

Sender Name: subject

{} %%------------------------------------------------------------------------------\begin{letter}{} %%------------------------------------------------------------------------------\fax{} %%------------------------------------------------------------------------------

Opening: 

%%------------------------------------------------------------------------------

Hier bitte den Brieftext einfgen

%%------------------------------------------------------------------------------

Closing: Mit freundlichem Gru§

%%==============================================================================\end{letter} 

What is the approach to »convert« TeXShop templates into LyX templates?

Thanks in advance for any support in this matter!

Kind regards, Friedrich

===== 8>< =====
%!TEX TS-program = fvfull
\documentclass[fvkzlttr3]{scrlttr2}
\usepackage{ratex}
\usepackage[margin]{ratexenc}
%%==============================================================================
\begin{document}
%%------------------------------------------------------------------------------
\myref{}
%
\yourref{}
%
\yourmail{}
%%------------------------------------------------------------------------------
\eilt{}
%
\specialmail{}
%%------------------------------------------------------------------------------
\setkomavar{title}{}
%
\setkomavar{subject}{}
%%------------------------------------------------------------------------------
\begin{letter}{}
%%------------------------------------------------------------------------------
\fax{}
%%------------------------------------------------------------------------------
\opening{}
%%------------------------------------------------------------------------------

Hier bitte den Brieftext einfügen

%%------------------------------------------------------------------------------
\closing{Mit freundlichem Gruß}
%%==============================================================================
\end{letter}
\end{document}
===== ><8 =====


More information about the MacOSX-TeX mailing list