In Writer, I’ve entered the following formula:
matrix{
Q # "=" # alignl{sum from{"chaque communauté"} ( "connexions observées entre les membres de la communauté" - "connexions attendues si réparties de façon aléatoire" )} ##
Q # "=" # alignl{sum from{i} ( e_ii - a_i^2 )}
}
Of course, this looks horrible because “chaque communauté” and the other text strings used as terms are far too long on a single line, so I’d like to wrap them. I know that I have to do this manually in formulas using newline
, but that doesn’t seem to work for anything that’s within curly brackets. For example, I can’t do:
{"chaque" newline "communauté"}
In fact, I can’t even create a line break between parentheses. The following does not work either:
( "chaque" newline "communauté" )
But it works fine if it’s not between any other grouping operators, so that the following does work:
"chaque" newline "communauté"
I’ve looked through the documentation to see if there was another way to create line breaks but I couldn’t find anything. Is there some workaround for this? I can’t imagine I’m the first person who’s ever tried to enter a long string of text in a formula.