This can’t be done with AutoText entry because feature doesn’t know whether you’re on a left or right page. Page parity is determined when the page is allocated and for any textual element this parity is not fixed. If you edit your text before the element it may be flushed on previous or next page and its parity is changed.
Inserted AutoText is fixed by nature and is not the tool to use here.
I assume your question is related to others you recently posted about formulas inserted with f
n
F3
. Give up with this because it inserts a 2-column table which is too rigid a schema. You must proceed manually.
Create you formula by yourself with Insert
>Object
>Formula
. The formula is anchored As character in the current paragraph. This allows you format/position the equation the way you like with a dedicated paragraph style.
Numbering the equation is the most tricky and user-unfriendly part because position properties are not recorded in frame styles (see this question).
Start by modifying frame style Frame to set its Wrap
properties (untick Allow overlap), Area
(if you want a background colour for the number) and Borders
(if you also want the number to be boxed).
- Click in the paragraph where the formula is and
Insert
>Frame
- Make sure Anchor is To paragraph
- In Position section, tick Mirror on even pages, then (and only then because this adds new possibilities in the menus)
set Horizontal Inside
relative to Outer page border
This take care of frame position. Click inside the frame to add the number (this may require you click first outside the frame to deselect it and click inside to enter “typing mode”. Insert
>Cross-reference
, Variables
tab, Number range Type.
I recommend you create a new counter Formula for you equations so that you avoid conflicts with other usages for the built-in ones (Drawing, Figure, Illustration, Table and Text). Just give it a Name to create it. Don’t bother for Value, it is automatically managed. Choose the Format and the Numbering by Chapter according to your requirements.
Once the counter is created, it is listed in Select and you only need to click on it for future numbering.
The answer given assume you are a minimum acquainted with styles. If not read the introduction to styles in the Writer Guide.
To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!
In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.