Mindblown: a blog about philosophy.
-
latex put an long arrow in text
How to put an long arrow in text? Quit easy, but don’t forget the math environment! \documentclass{article} \begin{document} Some text around the long arrow $\longrightarrow$ just for showing it. \end{document} More about the different kind of arrows you will find here.
-
minipage with defined height
Could I create a minipage with defined height? Yes, but it wouldn’t work the way I or you want. For example here is a minipage with a defined height of 2cm: \documentclass{article} \usepackage[showboxes,overlay]{textpos} \begin{document} \setlength{\parindent}{0cm} \TPshowboxestrue \begin{textblock*}{\textwidth}(1cm,1cm) \begin{minipage}[t][2cm][t]{0.4\textwidth} The height of this minipage is 2cm. The height of this minipage is 2cm. The height of […]
-
latex minipage wider than textwidth
In normale minipage examples allways textwidth would be used to determine width of minipage. But also the paperwidth could be used too. example \documentclass{article} \begin{document} \noindent \begin{minipage}{0.5\textwidth} \fbox{frame around dummy text and more} \end{minipage} \begin{minipage}{0.5\textwidth} \fbox{second framed dummy text and more} \end{minipage} \begin{minipage}{0.5\paperwidth} \fbox{frame around dummy text and more} \end{minipage} \begin{minipage}{0.5\paperwidth} \fbox{second framed dummy text […]
-
latex set font size points footnotesize normal=11
How to change font size of footnotesize to 11pt? By using renewcommand the size of footnotesize could be changed. For example if normalsize is 12pt and you want 11pt for footnotesize just \renewcommand{\footnotesize}{\small}. \documentclass[12pt]{article} \begin{document} \noindent Just a dummy text\footnote{more senseless text in 10pt}.\\ \noindent \renewcommand{\footnotesize}{\small} Just a dummy text\footnote{more senseless text now in 11pt}. […]
-
latex no new page in chapter
Or, how to stop the new page if a new chapter starts? The real question is why there is allways a new page, if chapter is used? If you take a look on book.cls you will find this: \newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{plain}% \global\@topnum\z@ \@afterindentfalse \secdef\@chapter\@schapter} to stop the new page clearpage and cleardoublepage must be deleted and […]
-
latex new page command
How to make a new page in Latex? The command \newpage will make new page but only there is somethink on the new i.e. even an empty space sign would be enough. \documentclass{article} \begin{document} How to make a new page in \LaTeX{}? \newpage command \newpage make a page break \newpage \quad % without \quad no […]
-
latex noindent
How to set noindent for all paragraphs? For all paragraphs just put after \begin{document} the command \setlength{\parindent}{0em} For one paragrah just put a \noindent before the paragraph starts.
-
latex minipage text beside figure
How to put text beside figure with minipage? We use two minipages side by side in first one we put the figure e.g. pic1 und in second one the text. The vspace command in the second minipage is only a hint, for example if the text is not enough you could push it up by […]
-
latex minipage side by side figures
To get two figures side by side just use this example: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{minipage}[c]{0.5\textwidth} \includegraphics[width=\textwidth]{figure 1} \end{minipage} \begin{minipage}[c]{0.5\textwidth} \includegraphics[width=\textwidth]{figure 2} \end{minipage} \end{document} It also works with two tables side by side.
-
latex title without date
How to get a title wihtout date? The problem is not so easy to solve because just leaving the \date command away is not a solution which works. If you want a title without date you have to use the \date command in a different way. … \title{Title} \author{Author} \date{} \begin{document} \maketitle … \end{document} Only […]
Got any book recommendations?