Auch wenn es vermutlich eine dumme Frage ist: wie kann man die Schriftart von bestimmten Umgebungen ändern, z.B. quote?
Vielen Dank,
Reiner
Auch wenn es vermutlich eine dumme Frage ist: wie kann man die Schriftart von bestimmten Umgebungen ändern, z.B. quote?
Vielen Dank,
Reiner
Wieso sollte dies eine dumme Frage sein?
Zur Antwort:
Ich hatte mir mal letztes Jahr ein Makro namens \AtBeginEnvironment dafür gebastelt:
Vielleicht gibt es auch ein existierendes Paket, was irgendwas in der Art anbietet.Code:\documentclass{article} \makeatletter % Axel Sommerfeldt % \href{mailto:caption@sommerfee.de}{\texttt{caption@sommerfee.de}} % 2007/01/07 \providecommand*\AtBeginEnvironment[1]{% \@ifundefined{#1}% {\@latex@error{Environment #1 undefined}\@ehc \@gobble}% {\@ifundefined{ABE@env@#1}% {\expandafter\let\csname ABE@env@#1\expandafter\endcsname \csname #1\endcsname \expandafter\let\csname ABE@hook@#1\endcsname\@empty \@namedef{#1}{\@nameuse{ABE@hook@#1}\@nameuse{ABE@env@#1}}}% {}% \expandafter\g@addto@macro\csname ABE@hook@#1\endcsname}} \@onlypreamble\AtBeginEnvironment \makeatother \AtBeginEnvironment{quote}{\itshape} \begin{document} Some text. \begin{quote} Hello World! \end{quote} Some text. \end{document}
Liebe Grüße,
Axel
csquotes
siehe für Quellcode zum Einbinden:
http://www.matthiaspospiech.de/latex.../7/#toc-zitate
Matthias
Vielleicht weil da folgender Code steht:
MatthiasCode:\usepackage[% babel, % the style of all quotation marks will be adapted % to the document language as chosen by 'babel' german=quotes, % Styles of quotes in each language english=british, french=guillemets ]{csquotes} % All facilities which take a 'cite' argument will not insert % it directly. They pass it to an auxiliary command called \mkcitation % which may be redefined to format the citation. \renewcommand*{\mkcitation}[1]{{\,}#1} \renewcommand*{\mkccitation}[1]{ #1} \SetBlockThreshold{2} % Anzahl von Zeilen \newenvironment{myquote}% {\begin{quote}\small}% {\end{quote}}% \SetBlockEnvironment{myquote}
Lesezeichen