Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
example [2023/03/09 15:43] – epsatisep | example [2024/06/19 19:50] (current) – epsatisep | ||
---|---|---|---|
Line 4: | Line 4: | ||
==== Refnotes Plugin Usage Examples ==== | ==== Refnotes Plugin Usage Examples ==== | ||
- | This is a reference | + | These are examples of citations |
Please use superscript and subscript annotations to write powers and indexes, //e.g.//, m< | Please use superscript and subscript annotations to write powers and indexes, //e.g.//, m< | ||
- | |||
- | <WRAP centeralign> | ||
- | <figure test> | ||
- | |||
- | <WRAP group> | ||
- | <WRAP half column> | ||
- | {{ : | ||
- | </ | ||
- | |||
- | <WRAP half column> | ||
- | {{: | ||
- | </ | ||
- | </ | ||
- | < | ||
- | </ | ||
- | </ | ||
==== Caption Plugin Usage Examples ==== | ==== Caption Plugin Usage Examples ==== | ||
Line 51: | Line 35: | ||
</ | </ | ||
</ | </ | ||
- | |||
- | |||
Table {{ref> | Table {{ref> | ||
Line 85: | Line 67: | ||
</ | </ | ||
- | Figure {{ref> | + | Figure {{ref> |
<WRAP centeralign> | <WRAP centeralign> | ||
<figure flabel2> | <figure flabel2> | ||
+ | <WRAP group> | ||
+ | <WRAP half column> | ||
+ | {{ : | ||
+ | </ | ||
+ | <WRAP half column> | ||
+ | {{: | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Figure {{ref> | ||
+ | <WRAP centeralign> | ||
+ | <figure flabel3> | ||
{{ : | {{ : | ||
< | < | ||
Line 133: | Line 130: | ||
{{tasks> | {{tasks> | ||
+ | |||
+ | ==== Code Listing Example ==== | ||
+ | The server code is presented in Listing | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | public class CheckersServer { | ||
+ | private static final int PORT = 12345; | ||
+ | private static char[][] board; | ||
+ | private static List< | ||
+ | public static void main(String[] args) { | ||
+ | board = new char[8][8]; | ||
+ | initializeBoard(); | ||
+ | try (ServerSocket serverSocket = new ServerSocket(PORT)) { | ||
+ | System.out.println(" | ||
+ | while (true) { | ||
+ | Socket clientSocket = serverSocket.accept(); | ||
+ | ClientHandler clientHandler = new ClientHandler(clientSocket); | ||
+ | clients.add(clientHandler); | ||
+ | new Thread(clientHandler).start(); | ||
+ | } | ||
+ | } catch (IOException e) { | ||
+ | e.printStackTrace(); | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
==== AV Task Box Plugin Usage Example ==== | ==== AV Task Box Plugin Usage Example ==== |