{"id":2230,"date":"2023-10-16T14:28:54","date_gmt":"2023-10-16T13:28:54","guid":{"rendered":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/?page_id=2230"},"modified":"2023-11-22T00:12:22","modified_gmt":"2023-11-22T00:12:22","slug":"latex-tricks","status":"publish","type":"page","link":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/resources\/writing-report\/latex-tricks\/","title":{"rendered":"Latex tricks"},"content":{"rendered":"<ul>\n<li><strong><em>For Table, Figure and Equation references.<\/em><\/strong><\/li>\n<\/ul>\n<p>\\documentclass[10pt,final,journal,twocolumn,letterpaper]{IEEEtran}<br \/>\n:<br \/>\n\\newcommand{\\fref}[1]{Fig.~\\ref{#1}} % normally used for paper<br \/>\n%\\newcommand{\\fref}[1]{Figure~\\ref{#1}} % normally used for report<br \/>\n\\newcommand{\\tref}[1]{Tab.~\\ref{#1}} % normally used for paper<br \/>\n%\\newcommand{\\tref}[1]{Table~\\ref{#1}} % normally used for report<br \/>\n\\newcommand{\\meqref}[1]{Eq.~\\eqref{#1}}<br \/>\n\\newcommand{\\mb}{\\mathbf}<br \/>\n\\newcommand{\\tsf}{\\textsf}<br \/>\n:<br \/>\n% In the main latex report<br \/>\n\\begin{document}<br \/>\n:<br \/>\nThe system diagram is shown in \\fref{fig:1relay} and it can be modelled using \\meqref{eq:math_model}.<br \/>\n:<\/p>\n<p>\\end{document}<\/p>\n<ul>\n<li><strong><em>Version for supervisor to check, use double spacing and single column<\/em><\/strong><\/li>\n<\/ul>\n<p>\\documentclass[12pt,draftcls,onecolumn,peerreview]{IEEEtran} \u00a0 % example<\/p>\n<p>\\linespread{1.9}\u00a0\u00a0 % this give double spacing<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For Table, Figure and Equation references. \\documentclass[10pt,final,journal,twocolumn,letterpaper]{IEEEtran} : \\newcommand{\\fref}[1]{Fig.~\\ref{#1}} % normally used for paper %\\newcommand{\\fref}[1]{Figure~\\ref{#1}} % normally used for report \\newcommand{\\tref}[1]{Tab.~\\ref{#1}} % normally used for paper %\\newcommand{\\tref}[1]{Table~\\ref{#1}} % normally used for report \\newcommand{\\meqref}[1]{Eq.~\\eqref{#1}} \\newcommand{\\mb}{\\mathbf} \\newcommand{\\tsf}{\\textsf} : % In the main latex report \\begin{document} : The system diagram is shown in \\fref{fig:1relay} and it can be [&hellip;]<\/p>\n","protected":false},"author":3109,"featured_media":0,"parent":143,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2230","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/pages\/2230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/users\/3109"}],"replies":[{"embeddable":true,"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/comments?post=2230"}],"version-history":[{"count":7,"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/pages\/2230\/revisions"}],"predecessor-version":[{"id":2262,"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/pages\/2230\/revisions\/2262"}],"up":[{"embeddable":true,"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/pages\/143"}],"wp:attachment":[{"href":"https:\/\/generic.wordpress.soton.ac.uk\/sxn\/wp-json\/wp\/v2\/media?parent=2230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}