writer2latex.latex.util
public class BeforeAfter extends Object
| Method Summary | |
|---|---|
| void | add(String sBefore1, String sAfter1) Add data to the The new data will be be added "inside", thus for example
will create the pair |
| String | getAfter() Get LaTeX code to put after |
| String | getBefore() Get LaTeX code to put before |
| boolean | isEmpty() Check if this BeforeAfter contains any data |
Add data to the BeforeAfter
The new data will be be added "inside", thus for example
add("\textsf{","}");
add("\textit{","}");will create the pair \textsf{\textit{, }}
Parameters: sBefore1 LaTeX code to put before sBefore2 LaTeX code to put after
Returns: then LaTeX code
Returns: then LaTeX code
BeforeAfter contains any dataReturns: true if there is data in at least one part