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 16:04] epsatisepexample [2026/02/26 16:57] (current) epsatisep
Line 4: Line 4:
 ==== Refnotes Plugin Usage Examples ==== ==== Refnotes Plugin Usage Examples ====
  
-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)]. +These are examples of citations to books [(Thapa2019)] and [(Obayashi2020)], a chapter on a smart companion [(Reis2020)], articles on IoT [(Hamza2023)], 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>.
- 
  
 ==== Caption Plugin Usage Examples ==== ==== Caption Plugin Usage Examples ====
Line 36: 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 69: Line 66:
 </figure> </figure>
 </WRAP> </WRAP>
- 
  
 Figure {{ref>flabel2}} illustrates the placement of two images side by side. Figure {{ref>flabel2}} illustrates the placement of two images side by side.
-  
 <WRAP centeralign> <WRAP centeralign>
 <figure flabel2> <figure flabel2>
Line 83: Line 78:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
-<caption>Figures side by side</caption>+<caption>Images side by side</caption>
 </figure> </figure>
 </WRAP> </WRAP>
Line 97: Line 92:
 ==== MathJax Plugin Usage Example ==== ==== MathJax Plugin Usage Example ====
  
-Equation \ref{eq:cosinesimilarity} represents the cosine similarity between two vectors of features. This similarity measurement takes values in the range of $[0,1]$ [(bandyopadhyay2013unsupervised)].+Equation \ref{eq:cosinesimilarity} represents the cosine similarity between two vectors of features. This similarity measurement takes values in the range of $[0,1]$ [(Bandyopadhyay2013)].
 This is an in line expression $a+b=c$. This is an in line expression $a+b=c$.
  
Line 107: Line 102:
 </WRAP> </WRAP>
  
-As [(bandyopadhyay2013unsupervised)] states, the most popular similarity metrics are the distance and the cosine similarity. The distance-based metrics include the Euclidean distance, the Hamming distance or the Chebyshev distance, among others.+As [(Bandyopadhyay2013)] states, the most popular similarity metrics are the distance and the cosine similarity. The distance-based metrics include the Euclidean distance, the Hamming distance or the Chebyshev distance, among others.
  
 Equation \ref{eq:euclideandistance} displays the Euclidean distance formula. Equation \ref{eq:euclideandistance} displays the Euclidean distance formula.
Line 118: Line 113:
 </WRAP> </WRAP>
  
-==== Todo Plugin Usage Example ====+/* 
 + ==== Todo Plugin Usage Example ====
  
 For project management For project management
Line 128: Line 124:
 ~~NOCACHE~~ ~~NOCACHE~~
 ~~TODOLIST~~ ~~TODOLIST~~
 +*/
  
 +/*
 ==== Task Plugin Usage Example ==== ==== Task Plugin Usage Example ====
  
Line 146: Line 143:
 DESCRIPTION: Perform a market research concerning your product. DESCRIPTION: Perform a market research concerning your product.
 </task> </task>
 +*/
 +==== 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>
 ===== Bibliography ====== ===== Bibliography ======
  • example.1678377888.txt.gz
  • Last modified: 2023/03/09 16:04
  • by epsatisep