Hello,
is there a way to create a label/reference in Beamer for a section/subsection number (like in a \documentclass{article}) instead of reference to frame number?
e.g:
\section{Smth} \label{s:smth}
\subsection{anth} \label{ss:anth}
\begin{frame}{First frame}
\ref{s:smth} % output: 1
\ref{ss ...
Search found 9 matches
- Sat Nov 22, 2008 9:29 pm
- Forum: Document Classes
- Topic: Beamer: label/reference to sections and subsections
- Replies: 0
- Views: 4350
- Thu Jul 31, 2008 9:53 pm
- Forum: General
- Topic: SOLVED Multiple versions of a document from one source file
- Replies: 12
- Views: 16749
SOLVED Multiple versions of a document from one source file
Yes, exactly, so thanks again.T3. wrote: Anyway, the most important thing is that you've found a solution that satisfies you.
Best regards,
nieproszenieja
- Thu Jul 31, 2008 7:04 pm
- Forum: General
- Topic: SOLVED Multiple versions of a document from one source file
- Replies: 12
- Views: 16749
SOLVED Multiple versions of a document from one source file
The idea to use '\jobname' for variant switching is nice, especially that you also get a differently named document for each variant. Below is a solution that will allow you to keep the setup code for all the variants in your main file.
\def\DefaultSetup{YourMainFileName}
\ifx\jobname\DefaultSetup ...
\def\DefaultSetup{YourMainFileName}
\ifx\jobname\DefaultSetup ...
- Thu Jul 31, 2008 2:17 am
- Forum: General
- Topic: SOLVED Multiple versions of a document from one source file
- Replies: 12
- Views: 16749
SOLVED Multiple versions of a document from one source file
From optional.sty:
"Enable multiple versions of a document to be printed from one source file, especially if most of the text is shared between versions."
Package optional is very similar to comment, but it is more flexible and there is an easier way to declare which parts of source should be ...
"Enable multiple versions of a document to be printed from one source file, especially if most of the text is shared between versions."
Package optional is very similar to comment, but it is more flexible and there is an easier way to declare which parts of source should be ...
- Wed Jul 30, 2008 8:00 pm
- Forum: General
- Topic: SOLVED Multiple versions of a document from one source file
- Replies: 12
- Views: 16749
SOLVED Multiple versions of a document from one source file
I'm not sure what are you trying to achieve exactly. Do you mean activation/deactivation of document fragments without making changes to your source file? If that's the case then you could move the setup of the comment package from the source to the command line like this: latex \RequirePackage ...
- Wed Jul 30, 2008 6:03 pm
- Forum: General
- Topic: SOLVED Multiple versions of a document from one source file
- Replies: 12
- Views: 16749
SOLVED Multiple versions of a document from one source file
Perhaps another topic will help you in finding a solution to this issue [1]. There have been given some interesting approaches.
[1] managed compilation
Thank you for response.
Still I can't write Makefile without sed, which can produce from one source file a few versions of document, although ...
[1] managed compilation
Thank you for response.
Still I can't write Makefile without sed, which can produce from one source file a few versions of document, although ...
- Wed Jul 30, 2008 4:58 pm
- Forum: General
- Topic: SOLVED Multiple versions of a document from one source file
- Replies: 12
- Views: 16749
SOLVED Multiple versions of a document from one source file
Hello,
let's assume, that I have a latex file:
\documentclass{article}
\begin{document}
\begin{itemize}
\item First item
\item Second item
\end{itemize}
\end{document}
I need to produce from this file three different versions of document, e.g. first version only with first item, second with second ...
let's assume, that I have a latex file:
\documentclass{article}
\begin{document}
\begin{itemize}
\item First item
\item Second item
\end{itemize}
\end{document}
I need to produce from this file three different versions of document, e.g. first version only with first item, second with second ...
- Wed Jul 09, 2008 1:34 am
- Forum: General
- Topic: Indent full paragraph
- Replies: 8
- Views: 138015
Indent full paragraph
\documentclass{article}
\usepackage{lipsum}
\begin{document}
%(some code....)
\hangindent=1cm
\lipsum[1]
\end{document}
Replace 1cm with \parindent (\hangindent=\parindent), the result will be quite the same as yours.
You can also put 'setlength{\parindent}{1cm}' before '\hangindent=1cm ...
- Tue Jul 08, 2008 10:59 pm
- Forum: General
- Topic: Indent full paragraph
- Replies: 8
- Views: 138015
Re: Indent full paragraph
There is a better way to do this - command ' \hangindent=length ' (e.g. \hangindent=1cm, etc.) inside paragraph do the trick.