Re: Come rendere visibili gli spazi?

#44141
Up
0
Down
::


Questo un documento quasi minimale:
`\documentclass[a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,german,italian]{babel}

\usepackage[babel,italian=guillemets]{csquotes}
\usepackage[style=philosophy-classic]{biblatex}

\bibliography{philosophy-examples}

\def\dovisiblespace{%
\setbox0\hbox{\textvisiblespace}%
\dimen0=\wd0\relax
\hskip1ptplus2pt
\cleaders\box0\hskip\dimen0
\hskip1ptplus2pt}
{\obeyspaces\gdef\activatevisiblespace{\let =\dovisiblespace}}

\newenvironment{visiblespace}
{\par\obeyspaces\activatevisiblespace}
{\par}

\begin{document}
\begin{visiblespace}
Qui gli spazi sono visibili \cite{knuth:ct:a}

\printbibliography
\end{visiblespace}

\end{document}`

Il record è questo:

`@book{knuth:ct:a,
Author = {Knuth, Donald E.},
Date = {1984},
Hyphenation = {american},
Indexsorttitle = {The TeXbook},
Indextitle = {\TeX book, The},
Location = {Reading, Mass.},
Publisher = {Addison-Wesley},
Shorttitle = {\TeX book},
Sorttitle = {Computers & Typesetting A},
Title = {The \TeX book}}`
Si trova anche nel file philosophy-examples.bib, nella cartella /doc/latex/biblatex-philosophy

Ciao
Ivan

Go to top