[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
Aleramo
General User

Joined: 10 Apr 2006
Posts: 8

 Posted: Fri Apr 14, 2006 4:59 am    Post subject: Newline inside bracket How can i use the command "newline" inside a bracket, when i have to import a formula with Writer? When i write newline inside a bracket, the only one thing i can see, it's the character "?", and i haven't the new line.
RGB
Super User

Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

 Posted: Fri Apr 14, 2006 5:05 am    Post subject:
Aleramo
General User

Joined: 10 Apr 2006
Posts: 8

 Posted: Fri Apr 14, 2006 5:12 am    Post subject: I am sorrow i don't understand. My situation is so: {G_{12}`=`{1} over {%pi}`sqrt{{%varepsilon} over {%mu}} `int from {0} to {%pi} {left [{sin left ( {{k_{0} W} over {2}} cos %theta right ) over {cos %theta}} right ]^{2}`{sin^{3} {%theta}} left lbrace {2 J_{0} left ( {{Y} over {%lambda_{0}} 2 %pi sin {%theta}} right ) + {J_{0} left ( {{Y`+`L} over {%lambda_{0}}2 %pi sin {%theta}} right ) }} + newline {{J_{0} left ( {{Y`+`L} over {%lambda_{0}}2 %pi sin {%theta}} right ) }} right rbrace} d{%theta}} What have i to addict at newline?
RGB
Super User

Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

Posted: Fri Apr 14, 2006 5:41 am    Post subject:

It was hard...
Here is the corrected code:
 Code: G_{12}`=`{1} over {%pi}`sqrt{{%varepsilon} over {%mu}} `int from {0} to {%pi} {left[ {sin left ( {{k_{0} W} over {2}} cos %theta right ) over {cos %theta}} right]^{2} `{sin^{3} {%theta}} left lbrace {2 J_{0} left ( {{Y} over {%lambda_{0}} 2 %pi sin {%theta}} right ) + {J_{0} left ( {{Y`+`L} over {%lambda_{0}}2 %pi sin {%theta}} right ) }} +"" right none } newline { left none {{J_{0} left ( {{Y`+`L} over {%lambda_{0}}2 %pi sin {%theta}} right ) }} d{%theta} right rbrace}

You forgot some { and } and the "none" command.
Aleramo
General User

Joined: 10 Apr 2006
Posts: 8

 Posted: Fri Apr 14, 2006 5:53 am    Post subject: Cool, now it's ok. I didn't understand what i had to addict. Thank u!!!
Aleramo
General User

Joined: 10 Apr 2006
Posts: 8

 Posted: Sun Apr 16, 2006 1:28 pm    Post subject: I am going on with the headlong i am a stupid. What is the error inside this formula? i have lost a lot of time about it. P_{rad}`=`%eta`{{lline {I_{0}} rline}^{2}} over {4 %pi^{2}} left lbrace { C`+`ln (kl)`-`C_{i} (kl)`+`{1} over {2} sin (kl)`[S_{i}(2kl)`-`2S_{i}(kl)]`+ ""{ right none newline} left none `{1} over {2} cos (kl) left [ C`+`ln left ( {kl} over 2 right )`+`C_{i}(2kl)`-`2C_{i}(kl) right ]}right rbrace
RGB
Super User

Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

Posted: Tue Apr 18, 2006 12:55 am    Post subject:

Try this:
 Code: P_{rad}`=`%eta`{{lline {I_{0}} rline}^{2}} over {4 %pi^{2}} left lbrace { C`+`ln (kl)`-`C_{i} (kl)`+`{1} over {2} sin (kl)`[S_{i}(2kl)`-`2S_{i}(kl)]`+ ""} right none newline left none `{1} over {2} cos (kl) left [ C`+`ln left ( {kl} over 2 right )`+`C_{i}(2kl)`-`2C_{i}(kl) right ]right rbrace

Aleramo
General User

Joined: 10 Apr 2006
Posts: 8

 Posted: Tue Apr 18, 2006 9:43 am    Post subject: Visto che a quello che ho capito siamo vicini di casa, ti scrivo in Italiano. Grazie mille!!!
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum