</license>
</info>
-<title>
- Changing The Paper Size When Printing
-</title>
+<title>Changing The Paper Size When Printing</title>
<p>
If you want to change the paper size of your document (for example, print a US Letter-sized PDF on A4 paper), you can
<title>Beamer with SyncTex</title>
<p>
-
+ Beamer is a LaTeX class for creating slides for presentations.
+</p>
+<p>
+ You can perform forward and backward search in a <em>Beamer-LaTeX</em> presentation in a similar fashion to <link xref="synctex-search">searchng</link> through other TeX files compiled with SyncTex. However the search brings you to the corresponding frame (slide), not necessarily the associated line of text. This difference is outlined in detail below.
</p>
+<section id="forward-search">
+ <title>Forward Search: From Beamer-LaTeX source to PDF (<app>Gedit</app> to <app>Evince</app>)</title>
+ <p>
+ With <link xref="synctex-search#forward-search">forward search</link>, you can click on a specific line of Beamer-LaTeX source code. The <em>top</em> of the corresponding slide in the PDF will be outlined in red. This will often be the <em>frametitle</em>.
+ </p>
+</section>
+
+<section id="backward-search">
+<note>
+ <p>
+ Before you can perform backward searching, you will need to perform a forward search from the Beamer-LateX source.
+ </p>
+</note>
+ <title>Backward Search: From PDF to Beamer-LaTeX source(<app>Evince</app> to <app>Gedit</app>)</title>
+ <p>
+ With <link xref="synctex-search#backward-search">backward search</link>, you click on some text in a slide, and the corresponding line of LaTex code that ends that particular slide is highlighted.
+ </p>
+ <code>\end{frame}</code>
+
+ <note style="bug">
+ <p>
+ Frames marked as [fragile] using the <em>listings</em> package may:
+ </p>
+
+ <list>
+ <item>
+ <p>
+ open the .vrb file that may or may not correspond to the <em>lstlisting</em>. Try clicking on the frametitle or the previious slide to get to the general location in the source.
+ </p>
+ </item>
+ <item>
+ <p>
+ cause <app>Evince</app> to close. If this happens, you will need to close <app>Gedit</app> also, and re-open both files.
+ </p>
+ </item>
+ </list>
+ </note>
+</section>
</page>
In <app>Gedit</app>, click <guiseq><gui>Tools</gui> <gui>Forward Search</gui></guiseq>. The corresponding line in the PDF will be outlined in red.
</p>
<p>
-Alternatively, you can click <keyseq><key>Ctrl</key><key>Alt</key><key>F</key></keyseq>. The corresponding line in the PDF will be outlined in red.
+Alternatively, you can click <keyseq><key>Ctrl</key><key>Alt</key><key>F</key></keyseq>, or <key>Ctrl</key>+Left Click. The corresponding line in the PDF will be outlined in red.
</p>
</item>
</steps>