Guest User

Untitled

a guest
Oct 17th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. documentclass{article}
  2.  
  3. usepackage{algorithm}
  4. usepackage{algorithmicx}
  5. usepackage{algpseudocode}
  6. setlength{intextsep}{2pt}
  7.  
  8. begin{document}
  9. section{A}
  10. There is the first group of algorithm
  11. begin{figure*}[htbp]
  12. begin{minipage}[t]{.49textwidth}
  13. begin{algorithm}[H]
  14. renewcommand{thealgorithm}{}
  15. begin{algorithmic}[1]
  16. caption{$A_{1}left( x_{1} right)$}
  17. State $y_{1} leftarrow fleft( x_{1} right)$
  18. Return $y_{1}$
  19. end{algorithmic}
  20. end{algorithm}
  21. end{minipage}
  22. hfill
  23. begin{minipage}[t]{.49textwidth}
  24. begin{algorithm}[H]
  25. renewcommand{thealgorithm}{}
  26. begin{algorithmic}[1]
  27. caption{$A_{2}left( x_{2} right)$}
  28. State $y_{2} leftarrow fleft( x_{2} right)$
  29. Return $y_{2}$
  30. end{algorithmic}
  31. end{algorithm}
  32. end{minipage}
  33. end{figure*}
  34.  
  35. Blah, blah, blah...
  36. section{B}
  37. Blah, blah, blah...
  38. section{C}
  39. There is the second group of algorithm
  40. begin{figure*}[htbp]
  41. begin{minipage}[t]{.49textwidth}
  42. begin{algorithm}[H]
  43. renewcommand{thealgorithm}{}
  44. begin{algorithmic}[1]
  45. caption{$C_{1}left( x_{1} right)$}
  46. State $y_{1} leftarrow fleft( x_{1} right)$
  47. Return $y_{1}$
  48. end{algorithmic}
  49. end{algorithm}
  50. end{minipage}
  51. hfill
  52. begin{minipage}[t]{.49textwidth}
  53. begin{algorithm}[H]
  54. renewcommand{thealgorithm}{}
  55. begin{algorithmic}[1]
  56. caption{$C_{2}left( x_{2} right)$}
  57. State $y_{2} leftarrow fleft( x_{2} right)$
  58. Return $y_{2}$
  59. end{algorithmic}
  60. end{algorithm}
  61. end{minipage}
  62. end{figure*}
  63. end{document}
Add Comment
Please, Sign In to add comment