|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwriter2latex.latex.util.BeforeAfter
public class BeforeAfter
Utility class to hold LaTeX code to put before/after other LaTeX code
| Constructor Summary | |
|---|---|
BeforeAfter()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String sBefore1,
java.lang.String sAfter1)
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{, }} |
java.lang.String |
getAfter()
Get LaTeX code to put after |
java.lang.String |
getBefore()
Get LaTeX code to put before |
boolean |
isEmpty()
Check if this BeforeAfter contains any data |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeforeAfter()
| Method Detail |
|---|
public void add(java.lang.String sBefore1,
java.lang.String sAfter1)
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{, }}
sBefore1 - LaTeX code to put beforesBefore2 - LaTeX code to put afterpublic java.lang.String getBefore()
public java.lang.String getAfter()
public boolean isEmpty()
BeforeAfter contains any data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||