More exquisite bugfixes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@102 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
26de5a45df
commit
f19433e716
10 changed files with 95 additions and 43 deletions
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2011-03-22)
|
||||
* Version 1.2 (2011-03-29)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -57,6 +57,19 @@ public class BeforeAfter {
|
|||
sBefore+=sBefore1; sAfter=sAfter1+sAfter;
|
||||
}
|
||||
|
||||
/** <p>Add data to the <code>BeforeAfter</code></p>
|
||||
* <p>The new data will be be added "outside", thus for example</p>
|
||||
* <ul><li><code>enclose("\textsf{","}");</code>
|
||||
* <li><code>enclose("\textit{","}");</code></ul>
|
||||
* <p>will create the pair <code>\textit{\textsf{</code>, <code>}}</code></p>
|
||||
*
|
||||
* @param sBefore1 LaTeX code to put before
|
||||
* @param sAfter1 LaTeX code to put after
|
||||
*/
|
||||
public void enclose(String sBefore1, String sAfter1) {
|
||||
sBefore=sBefore1+sBefore; sAfter+=sAfter1;
|
||||
}
|
||||
|
||||
/** <p>Add the content of another <code>BeforeAfter</code> to this <code>BeforeAfter</code></p>
|
||||
* <p>The new data will be be added "inside"</p>
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue