quotation example improvements
This commit is contained in:
		
							parent
							
								
									dbb2bbef0b
								
							
						
					
					
						commit
						041936a483
					
				| @ -88,14 +88,14 @@ | |||||||
| \setbeamercolor{quote}{parent=normal text, bg=black!15} | \setbeamercolor{quote}{parent=normal text, bg=black!15} | ||||||
| \setbeamercolor{quote symbol}{fg=red} | \setbeamercolor{quote symbol}{fg=red} | ||||||
| \setbeamercolor{quote source}{parent=quote} | \setbeamercolor{quote source}{parent=quote} | ||||||
| \setbeamercolor{quote line top}{fg=red} | \setbeamercolor{quote line top}{fg=} | ||||||
| \setbeamercolor{quote line bottom}{fg=red} | \setbeamercolor{quote line bottom}{fg=} | ||||||
| 
 | 
 | ||||||
| \setbeamercolor{quotation}{parent=normal text, bg=black!15} | \setbeamercolor{quotation}{parent=normal text, bg=black!15} | ||||||
| \setbeamercolor{quotation source}{parent=quote} | \setbeamercolor{quotation source}{parent=quote} | ||||||
| \setbeamercolor{quotation symbol}{fg=blue} | \setbeamercolor{quotation symbol}{fg=blue} | ||||||
| \setbeamercolor{quotation line top}{fg=blue} | \setbeamercolor{quotation line top}{fg=} | ||||||
| \setbeamercolor{quotation line bottom}{fg=blue} | \setbeamercolor{quotation line bottom}{fg=} | ||||||
| 
 | 
 | ||||||
| \setbeamercolor{section in toc}{parent={normal text}} | \setbeamercolor{section in toc}{parent={normal text}} | ||||||
| \setbeamercolor{subsection in toc}{parent={normal text}} | \setbeamercolor{subsection in toc}{parent={normal text}} | ||||||
|  | |||||||
| @ -519,8 +519,8 @@ | |||||||
|   \usebeamertemplate{verse begin} |   \usebeamertemplate{verse begin} | ||||||
|   \usebeamerfont*{verse}% |   \usebeamerfont*{verse}% | ||||||
|   \list{}{ |   \list{}{ | ||||||
|     \leftmargin    2em |     \leftmargin    2.5em | ||||||
|     \rightmargin   2em |     \rightmargin   2.5em | ||||||
|     \parsep        1ex |     \parsep        1ex | ||||||
|   }% |   }% | ||||||
|   \item\relax |   \item\relax | ||||||
| @ -691,17 +691,17 @@ | |||||||
|   \setbox0=\hbox{\usebeamertemplate{quote symbol}\unskip}% |   \setbox0=\hbox{\usebeamertemplate{quote symbol}\unskip}% | ||||||
|   \ifdim\wd0=0pt |   \ifdim\wd0=0pt | ||||||
|     \list{}{ |     \list{}{ | ||||||
|       \leftmargin    1em |       \leftmargin    2.5em | ||||||
|       \rightmargin   1em |       \rightmargin   2.5em | ||||||
|       \parsep        0.2ex |       \parsep        1ex | ||||||
|     }% |     }% | ||||||
|     \item\relax% |     \item\relax% | ||||||
|   \else |   \else | ||||||
|     \list{}{ |     \list{}{ | ||||||
|       \leftmargin    2.5em |       \leftmargin    2.5em | ||||||
|       \rightmargin   2em |       \rightmargin   2.5em | ||||||
|       \labelsep      1.5ex |       \labelsep      1.5ex | ||||||
|       \parsep        0.2ex |       \parsep        1ex | ||||||
|     }% |     }% | ||||||
|     \item[\usebeamertemplate{quote symbol}]\relax% |     \item[\usebeamertemplate{quote symbol}]\relax% | ||||||
|   \fi% |   \fi% | ||||||
|  | |||||||
| @ -360,11 +360,13 @@ | |||||||
|     Here we even start a second paragraph. |     Here we even start a second paragraph. | ||||||
|   \end{quotation} |   \end{quotation} | ||||||
|   \vfill |   \vfill | ||||||
|   Quote something else of somebody else (empty source argument): |   Quote something else of somebody else: | ||||||
|   \begin{quote} |   \begin{quote}[Me And Myself] | ||||||
|     A \verb!quote! environment. |     A \verb!quote! environment. There is a lot to talk about and | ||||||
|  |     it really takes a lot of words to express this. Most likely this | ||||||
|  |     does not fit into a single line. | ||||||
|      |      | ||||||
|     With a second line. |     Here we even start a second paragraph. | ||||||
|   \end{quote} |   \end{quote} | ||||||
|   \vfill |   \vfill | ||||||
|   Here is a poem: |   Here is a poem: | ||||||
| @ -386,7 +388,7 @@ | |||||||
|     \texttt{\textbackslash setbeamertemplate\{quote symbol\}[#1]} |     \texttt{\textbackslash setbeamertemplate\{quote symbol\}[#1]} | ||||||
|   \end{small} |   \end{small} | ||||||
|   \quotedemo |   \quotedemo | ||||||
|   \setbeamertemplate{quote symbol}[closequote] |   \setbeamertemplate{quote symbol}[openquote] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| \newcommand{\quotesymbolfontdemo}[1]{ | \newcommand{\quotesymbolfontdemo}[1]{ | ||||||
| @ -400,11 +402,12 @@ | |||||||
| 
 | 
 | ||||||
| \begin{frame}[fragile]{Quote symbol settings} | \begin{frame}[fragile]{Quote symbol settings} | ||||||
|   \quotesymboldemo{default} |   \quotesymboldemo{default} | ||||||
|   \quotesymboldemo{openquote} |  | ||||||
|   \quotesymboldemo{closequote} |   \quotesymboldemo{closequote} | ||||||
|  |   \quotesymboldemo{openquote} | ||||||
|   \quotesymbolfontdemo{phv} |   \quotesymbolfontdemo{phv} | ||||||
|   \quotesymbolfontdemo{pnc} |   \quotesymbolfontdemo{pnc} | ||||||
|   \quotesymbolfontdemo{qcs} |   \quotesymbolfontdemo{pbk} | ||||||
|  |   %\quotesymbolfontdemo{qcs} | ||||||
| \end{frame} | \end{frame} | ||||||
| 
 | 
 | ||||||
| \newcommand{\quotesourcedemo}[1]{ | \newcommand{\quotesourcedemo}[1]{ | ||||||
| @ -413,6 +416,7 @@ | |||||||
|     \texttt{\textbackslash setbeamertemplate\{quote source\}[#1]} |     \texttt{\textbackslash setbeamertemplate\{quote source\}[#1]} | ||||||
|   \end{small} |   \end{small} | ||||||
|   \quotedemo |   \quotedemo | ||||||
|  |   \setbeamertemplate{quote source}[rightline] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| \begin{frame}[fragile]{Source settings for quote and quotation environments} | \begin{frame}[fragile]{Source settings for quote and quotation environments} | ||||||
| @ -469,7 +473,6 @@ | |||||||
|   \quotecolordemo{}{blue} |   \quotecolordemo{}{blue} | ||||||
|   \quotecolordemo{red}{blue} |   \quotecolordemo{red}{blue} | ||||||
| \end{frame} | \end{frame} | ||||||
| 
 |  | ||||||
| \setbeamertemplate{quote begin}[lines][0.5pt] | \setbeamertemplate{quote begin}[lines][0.5pt] | ||||||
| \setbeamertemplate{quote end}[lines][0.5pt] | \setbeamertemplate{quote end}[lines][0.5pt] | ||||||
| \setbeamercolor{quote line top}{fg=} | \setbeamercolor{quote line top}{fg=} | ||||||
| @ -481,6 +484,7 @@ | |||||||
|     \texttt{\textbackslash setbeamercolor\{quote\}\{fg=#1, bg=#2\}}\\ |     \texttt{\textbackslash setbeamercolor\{quote\}\{fg=#1, bg=#2\}}\\ | ||||||
|   \end{small} |   \end{small} | ||||||
|   \quotedemo |   \quotedemo | ||||||
|  |   \setbeamercolor{quote}{fg=normal text.fg, bg=black!15} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| \begin{frame}[fragile]{Colors and fonts for quote and quotation environments} | \begin{frame}[fragile]{Colors and fonts for quote and quotation environments} | ||||||
| @ -490,7 +494,6 @@ | |||||||
|   \setbeamerfont{quote}{size=\normalsize, shape=\slshape} |   \setbeamerfont{quote}{size=\normalsize, shape=\slshape} | ||||||
|   \quoteboxdemo{blue}{} |   \quoteboxdemo{blue}{} | ||||||
|   \quoteboxdemo{red}{black!15} |   \quoteboxdemo{red}{black!15} | ||||||
|   \setbeamercolor{quote}{fg=normal text.fg, bg=black!15} |  | ||||||
|   \setbeamercolor{quote symbol}{fg=green} |   \setbeamercolor{quote symbol}{fg=green} | ||||||
|   {\small \verb!\setbeamercolor{quote symbol}{fg=green}!\\} |   {\small \verb!\setbeamercolor{quote symbol}{fg=green}!\\} | ||||||
|   \quotedemo |   \quotedemo | ||||||
| @ -502,6 +505,7 @@ | |||||||
|   {\small \verb!\setbeamerfont{quote source}{size=\tiny}!\\} |   {\small \verb!\setbeamerfont{quote source}{size=\tiny}!\\} | ||||||
|   \quotedemo |   \quotedemo | ||||||
|   \setbeamercolor{quote source}{fg=} |   \setbeamercolor{quote source}{fg=} | ||||||
|  |   \setbeamerfont{quote source}{size=\normalsize} | ||||||
| \end{frame} | \end{frame} | ||||||
|   |   | ||||||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user