Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.73 KB | None | 0 0
  1. \documentclass[aip, % Title and author aligned to the left
  2. amsmath,amssymb, % Maths stuff
  3. reprint, % 2 column and title not on its own page
  4. author-year % for the reference list
  5. ]{revtex4-1}
  6.  
  7. \usepackage{graphicx}
  8. \usepackage[paperwidth=210mm,paperheight=297mm,centering,left=1.8cm,top=1.8cm,right=1.8cm,bottom=1.8cm]{geometry} % a4 paper and margins
  9.  
  10. %%% If you want it to all use sans font
  11. %\usepackage{sansmathfonts}
  12. %\usepackage[scaled=0.95]{helvet}
  13. %\renewcommand{\familydefault}{\sfdefault}
  14.  
  15. \linespread{1.2} % Spacing
  16.  
  17. % Changes table and figure names and numbering
  18. \renewcommand{\figurename}{Figure}
  19. \renewcommand{\tablename}{Table}   
  20. \renewcommand{\thetable}{\arabic{table}}
  21. \renewcommand{\thefigure}{\arabic{figure}}
  22.  
  23. \usepackage{lipsum} %%%% Delete this thing
  24.  
  25. \begin{document}
  26.  
  27. \title[Header title
  28. ]{Title}
  29.  
  30. \author{Author}
  31.  
  32. \date{\today}
  33.  
  34. \maketitle
  35.  
  36. \section{Section 1}
  37.  
  38. \lipsum
  39.  
  40. \section{Section 2}
  41.  
  42. \begin{figure*}
  43. \includegraphics{figure1.png}
  44. \caption{caption for figure 1 - This is a wide figure using both columns}
  45. \end{figure*}
  46.  
  47. \lipsum[1]
  48.  
  49. \begin{figure}
  50. \includegraphics{figure2.png}
  51. \caption{caption for figure 2 - This is a figure in just 1 column}
  52. \end{figure}
  53.  
  54. \lipsum[2]
  55.  
  56. \begin{table}
  57. \begin{tabular}{|l|l|l|l|}\hline
  58. This is & Just a & Random & Table \\ \hline
  59. a & b & c & d \\
  60. 1 & 2 & 3 & 4 \\ \hline
  61. \end{tabular}  
  62. \caption{caption for table 1 - single column}
  63. \end{table}
  64.  
  65. \lipsum[3-6]
  66.  
  67. \begin{table*}
  68. \begin{tabular}{|l|l|l|l|}\hline
  69. This is & Just a & Random & Table \\ \hline
  70. a & b & c & d \\
  71. 1 & 2 & 3 & 4 \\ \hline
  72. \end{tabular}  
  73. \caption{caption for table 2 - double column}
  74. \end{table*}
  75.  
  76. \section*{Section without a number}
  77.  
  78. \lipsum[7-10]
  79.  
  80. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement