Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. RequirePackage{lineno}
  2. documentclass[aps,prl]{revtex4}
  3.  
  4. usepackage{graphicx}% Include figure files
  5.  
  6. usepackage{epstopdf}   % this graphic package converts eps to pdf for easier usage of eps files
  7.  
  8. usepackage{lpic}
  9. usepackage{amsmath,amssymb}
  10. usepackage{nicefrac}
  11. % Useful stuff
  12. usepackage[utf8]{inputenc}
  13. usepackage{hyperref}
  14. hypersetup{
  15.     colorlinks=false,       % false: boxed links; true: colored links
  16.     colorlinks=true,
  17.     linkcolor=blue,          % color of internal links (change box color with linkbordercolor)
  18.     citecolor=red,        % color of links to bibliography
  19.     filecolor=magenta,      % color of file links
  20.     urlcolor=cyan           % color of external links
  21. }
  22. usepackage{xcolor}
  23. usepackage{listingsutf8}
  24. usepackage[section]{placeins}
  25. lstset{mathescape=true}
  26. % some shortcuts for later
  27.  
  28. % extended bibliography item
  29. % mybibitem{label}{authors}{title}{year}{rest}
  30. %newcommand{mybibitem}[5]{
  31. %bibitem{#1} textsc{#2}, {it #3} ({bf #4}). #5}
  32.  
  33. newcommand{ket}[1]{left|{#1}rightrangle}
  34. newcommand{bra}[1]{leftlangle{#1}right|}
  35. newcommand{is}[1]{{color{blue} #1}}
  36.  
  37.  
  38. %renewcommand{vec}[1]{ensuremath{overrightarrow{#1}}}
  39. %usepackage{bbold}
  40.  
  41. % eprint shortcut
  42. %newcommand{eprint}[1]{
  43. %texorpdfstring{href{#1}{eprint: #1}}{eprint: #1}
  44. %}
  45. usepackage{subcaption}
  46. %usepackage{subfigures}
  47. begin{document}
  48. linenumbers
  49. begin{center}
  50. Large{textbf{Problem with Figures}}
  51. Underneath you may find some
  52. figures (figures ref{fig1:a},  ref{fig1:b},  ref{fig1:c},  ref{fig1:d},  ref{fig1:e}  ref{fig1:f})
  53. and
  54. figures (figures ref{fig2:a},  ref{fig2:b},  ref{fig2:c},  ref{fig2:d},  ref{fig2:e}  ref{fig2:f}).
  55.  
  56. begin{figure}[htp]
  57.   % Maximum length
  58.   subcaptionbox{1alabel{fig1:a}}{includegraphics[width=1.6in]{example-image-a}}hfill%
  59.   subcaptionbox{1blabel{fig1:b}}{includegraphics[width=1.6in]{example-image-a}}%
  60.  
  61.   bigskip
  62.  
  63.   % Equal length
  64.   hspace*{fill}%
  65.   subcaptionbox{1clabel{fig1:c}}{includegraphics[width=1.6in]{example-image-b}}hfill%
  66.   subcaptionbox{1dlabel{fig1:d}}{includegraphics[width=1.6in]{example-image-b}}%
  67.   hspace*{fill}%
  68.  
  69.   bigskip
  70.  
  71.   % Fixed length
  72.   centering
  73.   subcaptionbox{1elabel{fig1:e}}{includegraphics[width=1.6in]{example-image-c}}hspace{1em}%
  74.   subcaptionbox{1flabel{fig1:f}}{includegraphics[width=1.6in]{example-image-c}}
  75.     caption{Sample figures I}    
  76.     label{fig:1}
  77. end{figure}
  78.  
  79. and
  80.  
  81. begin{figure}[htp]
  82.   % Maximum length
  83.   subcaptionbox{2alabel{fig2:a}}{includegraphics[width=1.6in]{example-image-a}}hfill%
  84.   subcaptionbox{2blabel{fig2:b}}{includegraphics[width=1.6in]{example-image-a}}%
  85.  
  86.   bigskip
  87.  
  88.   % Equal length
  89.   hspace*{fill}%
  90.   subcaptionbox{2clabel{fig2:c}}{includegraphics[width=1.6in]{example-image-b}}hfill%
  91.   subcaptionbox{2dlabel{fig2:d}}{includegraphics[width=1.6in]{example-image-b}}%
  92.   hspace*{fill}%
  93.  
  94.   bigskip
  95.  
  96.   % Fixed length
  97.   centering
  98.   subcaptionbox{2elabel{fig2:e}}{includegraphics[width=1.6in]{example-image-c}}hspace{1em}%
  99.   subcaptionbox{2flabel{fig2:f}}{includegraphics[width=1.6in]{example-image-c}}
  100.     caption{Sample figures II}    
  101.     label{fig:2}
  102. end{figure}
  103.  
  104. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top