# Tag Info

4

No, they're not the same. When you use \hspace*{1cm} (or whatever length), LaTeX transforms this into \@hspacer{1cm} which in turn becomes \vrule \@width \z@ \nobreak \hskip #1\hskip \z@skip as described in my answer to the question you linked. The rule is as high and deep as the horizontal box that eventually it is typeset in. On the contrary, \strut ...

9

\hspace* is also valid at the beginning of a line: \documentclass{article} \usepackage[a6paper]{geometry} \parindent=0pt \begin{document} \hrulefill\sloppy This is a sentence which makes no sense. \hspace{3cm} And so on \ldots This is a sentence which makes no sense. \hspace*{3cm} And so on \ldots This is a sentence which makes no sense. ...

0

A dirty hack and the artificial toc-entries do not provide links to the sections: \documentclass{beamer} \usetheme{Copenhagen} \begin{document} \begin{frame} \frametitle{TOC} \tableofcontents \end{frame} \section*{Intro} \addcontentsline{toc}{section}{\vskip1.5em\hskip1.2em\protect\usebeamercolor[fg]{structure}Intro} \begin{frame} \end{frame} ...

Top 50 recent answers are included