Hi all,

I'm writing an essay and want to try writing it in lyx. The level I am
at now is that I've managed to write some simple mathematical equations,
but not much more. 

I'm interested in your opinions on whether the following is a good and
feasible way to write my document. What I want to achieve is:
1. I want to separate content from layout "completely".
2. I want to complete the entire content before I work on the design and
even before I find out about the details of some latex functions. (When
all content is completed, I will know exactly what layout the different
sections should have).

I will show what I mean using one simple and one less simple example. 

Simple example: 
When writing an integral, I want to use a function/macro/similar that I
define on my own, say \Cust_int, which doesn't deal with layout at all.
Say I write the command \Cust_int{A}{B}{f(x)*x}{x}{Label_SimpleFunc},
meaning integral from "A" to "B" of "f(x)*x" with respect to "x",
labeled with "Label_SimpleFunc". At first, \Cust_int should simply
generate \intop_{A}^{B}f(x)*x\text{d}x\label{eq:Label_SimpleFunc}. Not
until I'm done with all the content in the essay, I will work on the
Cust_int function (and other user defined functions) to generate the
layout I need.

Less simple example:
When writing equations, I want to comment the steps. Say I define
Cust_equation and \Cust_CommentedEquality and run it like this:
\begin{Cust_equation}f(x)\Cust_CommentedEquality{Usage of the definition
of ...}g(x)*h(x)\Cust_CommentedEquality{Since ...}i(x)\end{Cust_equation}. At 
first, this could just generate the equation without the comments. When I'm 
done with all the content in the essay, I want to make the output look like in 
the attached image. (I do not know how that latex code would look like, but 
that is kind of the point, that I want to start with the content and find out 
about the latex commands when the content is done).

In addition to the above specific examples, my idea is to do similarly
with mathematical theorems, mathematical lists of assumptions,
references to other articles etc.


Your opinions are appreciated. Thanks in advance!

/David

<<attachment: CommentedEquation.gif>>

Reply via email to