example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
example [2023/03/09 15:43] epsatisepexample [2024/06/19 19:50] (current) epsatisep
Line 4: Line 4:
 ==== Refnotes Plugin Usage Examples ==== ==== Refnotes Plugin Usage Examples ====
  
-This is a reference to a book [(THAPA2019)] [(OBAYASHI2020)], a Web resource [(android41)], a chapter [(REIS2020)] and to articles [(llorente2009virtual)], [(RANJITH2020)], [(LEE2018)]. This is a test with website references [(NIST:2004)][(cloudexpo2008)] and [(gartner2021)]. A new article reference to blimps [(Mahn:2006)] and a conference paper on diaper moisture [(Khan:2018)]. +These are examples of citations to books [(Thapa2019)] and [(Obayashi2020)], a chapter on a smart companion [(Reis2020)], articles on blimps [(Mahn2006)], cloud computing [(Llorente2009)], gas emissions [(Ranjith2020)], pedestrian crossing behaviour [(Sobhani2018)], smart bicycles [(Lee2018)] and diaper moisture [(Khan2018)]and to Web resources [(android41)][(cloudexpo2008)] and [(gartner2021)]. 
  
 Please use superscript and subscript annotations to write powers and indexes, //e.g.//, m<sup>2</sup> and CO<sub>2</sub>. Please use superscript and subscript annotations to write powers and indexes, //e.g.//, m<sup>2</sup> and CO<sub>2</sub>.
- 
-<WRAP centeralign> 
-<figure test> 
- 
-<WRAP group> 
-<WRAP half column> 
-{{ :eps_logo.jpg?200|Image 1}} 
-</WRAP> 
- 
-<WRAP half column> 
-{{:eps_logo.jpg?200 |Image 2}} 
-</WRAP> 
-</WRAP> 
-<caption>Figures side by side</caption> 
-</figure> 
-</WRAP> 
  
 ==== Caption Plugin Usage Examples ==== ==== Caption Plugin Usage Examples ====
Line 51: Line 35:
 </table> </table>
 </WRAP> </WRAP>
- 
- 
  
 Table {{ref>tlabel1}} shows the execution time results for each API. Table {{ref>tlabel2}} lists the fruit bought at the grocery. Table {{ref>tlabel1}} shows the execution time results for each API. Table {{ref>tlabel2}} lists the fruit bought at the grocery.
Line 85: Line 67:
 </WRAP> </WRAP>
  
-Figure {{ref>flabel2}} presents the European Project Semester (EPS) logo.+Figure {{ref>flabel2}} illustrates the placement of two images side by side.
 <WRAP centeralign> <WRAP centeralign>
 <figure flabel2> <figure flabel2>
 +<WRAP group>
 +<WRAP half column>
 +{{ :chouette.lapone.relo.4g-mocho_2.jpg?250|Image 1}}
 +</WRAP>
 +<WRAP half column>
 +{{:chouette.lapone.relo.4g-mocho_2.jpg?250 |Image 2}}
 +</WRAP>
 +</WRAP>
 +<caption>Images side by side</caption>
 +</figure>
 +</WRAP>
 +
 +Figure {{ref>flabel3}} presents the European Project Semester (EPS) logo.
 +<WRAP centeralign>
 +<figure flabel3>
 {{ :eps_logo.jpg?200 |}} {{ :eps_logo.jpg?200 |}}
 <caption>EPS logo</caption> <caption>EPS logo</caption>
Line 133: Line 130:
  
 {{tasks>[namespace]?all&[flags]}} {{tasks>[namespace]?all&[flags]}}
 +
 +==== Code Listing Example ====
 +The server code is presented in Listing  {{ref>clabel0}}.
 +
 +<codeblock clabel0>
 +<caption>Server-side code </caption>
 +<code>
 +    public class CheckersServer {
 +    private static final int PORT = 12345;
 +    private static char[][] board;
 +    private static List<ClientHandler> clients = new ArrayList<>();
 +    public static void main(String[] args) {
 +        board = new char[8][8];
 +        initializeBoard();
 +        try (ServerSocket serverSocket = new ServerSocket(PORT)) {
 +            System.out.println("Checkers Server is running...");
 +            while (true) {
 +                Socket clientSocket = serverSocket.accept();
 +                ClientHandler clientHandler = new ClientHandler(clientSocket);
 +                clients.add(clientHandler);
 +                new Thread(clientHandler).start();
 +            }
 +        } catch (IOException e) {
 +            e.printStackTrace();
 +        }
 +    }
 +</code>    
 +</codeblock>
 +
  
 ==== AV Task Box Plugin Usage Example ==== ==== AV Task Box Plugin Usage Example ====
  • example.1678376618.txt.gz
  • Last modified: 2024/02/16 19:20
  • (external edit)