Alle Tabellen auf eine Seite
Verfasst: Di 13. Aug 2019, 20:33
Hallo an Alle,
wie in dem Minimalbeispiel zu sehen ist, werden die Tabellen auf zwei Seiten verteilt.
Offensicht lich ist aber noch genug Platz vorhanden.
Wie schaffe ich es nun die Tabellen auf eine Seite zu bringen?
Danke für Eure Hilfe und Tipps.
Bis dann ...
MfG
Günter
wie in dem Minimalbeispiel zu sehen ist, werden die Tabellen auf zwei Seiten verteilt.
Offensicht lich ist aber noch genug Platz vorhanden.
Wie schaffe ich es nun die Tabellen auf eine Seite zu bringen?
Danke für Eure Hilfe und Tipps.
Bis dann ...
MfG
Günter
\documentclass[a4paper,landscape,11pt]{scrartcl} \usepackage{geometry} \geometry{ left=3cm, right=3cm, top=2cm, bottom=2cm % bindingoffset=5mm } \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{eso-pic,calc} \usepackage{graphicx} \usepackage{scrpage2} \pagestyle{scrheadings} \clearscrheadfoot \ofoot[\pagemark]{\pagemark} \chead{\huge{\textbf{{tmux} cheat sheet}}} \usepackage{lipsum} \usepackage{booktabs} \makeatletter \AddToShipoutPicture{% \begingroup \setlength{\@tempdima}{15mm}% \setlength{\@tempdimb}{\paperwidth-2\@tempdima}% \setlength{\@tempdimc}{\paperheight-2\@tempdima}% \linethickness{1mm}% Breite der Linie \put(\LenToUnit{\@tempdima},\LenToUnit{\@tempdima}){% \framebox(\LenToUnit{\@tempdimb},\LenToUnit{\@tempdimc}){}}% \endgroup } \makeatother% \begin{document} \noindent \begin{minipage}[b]{0.75\textwidth} \begin{tabular}{|l|} \hline \textbf{General}\\ \hline prefix \\ CTRL + :\\ start new \\ tmux \\ start new session with name \\ tmux new -s myname \\ attach \\ tmux a \# \\ attach to named tmux a -t myname \\ list sessions \\ tmux ls \\ kill sessions \\ tmux kill-sessions -t myname \\ \hline \end{tabular} % \hfill \begin{tabular}{|l|l|} \hline \textbf{Panes(split)} & \\ \hline \% & vertical split \\ " & horizontal split \\ o & swap panes \\ q & show numbers \\ x & kill \\ + & break into window \\ - & restore from window \\ & toggel to layouts \\ \{ & move left \\ \} & move right \\ z & toggle zoom ls \\ \hline \end{tabular} \end{minipage}% %\hfill \begin{minipage}[b]{0.25\textwidth} \begin{tabular}{|l|l|l|} \hline \textbf{Copy mode} & & \\ \hline \textbf{Function} & \textbf{vi} & \textbf{emacs}\\ back to indentaion & \texttt{\^{}} & \texttt{M-m}\\ start selection & \texttt{space} & \texttt{C-space} \\ clear selection & \texttt{ESC} & \texttt{C-g} \\ copy selection & \texttt{ENTER} & \texttt{M-w} \\ cursor down & \texttt{j} & \texttt{down} \\ cursor up & \texttt{k} & \texttt{up} \\ cursor right & \texttt{l} & \texttt{right} \\ cursor left & \texttt{h} & \texttt{left} \\ delete line & \texttt{d} & \texttt{C-u} \\ delete to end of line & \texttt{D} & \texttt{C-k} \\ end of line & \texttt{\$} & \texttt{C-e} \\ start of line & \texttt{0} & \texttt{C-e} \\ next page & \texttt{C-f} & \texttt{PgDn} \\ next word & \texttt{w} & \texttt{M-f} \\ past buffer & \texttt{c} & \texttt{C-y} \\ quit mode & \texttt{q} & \texttt{Esc} \\ scroll up & \texttt{K} & \texttt{C-up} \\ scroll down & \texttt{J} & \texttt{C-down} \\ search again & \texttt{n} & \texttt{n} \\ search backward & \texttt{?} & \texttt{C-r} \\ search forward & \texttt{/} & \texttt{C-s} \\ \hline \end{tabular} \end{minipage} %Zeile 2 %\vskip1ex \noindent \begin{minipage}[b]{0.75\textwidth} \begin{tabular}{|l|l|} \hline \textbf{Sessions} & \\ \hline S & list sessions \\ \$ & rename sessions \\ \hline \end{tabular} \hspace{1.5cm} \begin{tabular}{|l|l|} \hline \textbf{Commands} & \\ \hline resize.pane -D 20 & resize down \\ resize.pane -U 20 & resize up \\ resize.pane -L 20 & resize left \\ resize.pane -R 20 & resize right \\ \$ & rename sessions \\ \hline \end{tabular} \end{minipage}% %\hfill %\begin{minipage}[b]{0.25\textwidth} % \begin{tabular}[b]{|c|c|c|} % \hline % & F & Test \\ % Test & A & B \\ % Test & C & D \\ % \hline % \end{tabular} %\end{minipage} %Zeile 3 \vskip1ex \begin{minipage}[b]{0.75\textwidth} \begin{tabular}{|l|l|} \hline \textbf{Windows /tabs)} & \\ \hline c & create window \\ w & list window \\ n & next window \\ p & previous window \\ f & find window \\ , & name window \\ \& & kill window \\ \hline \end{tabular} % \hfill \begin{tabular}{|l|l|} \hline \textbf{Misc)} & \\ \hline d & detach \\ t & clock \\ ? & list shortcuts \\ : & prompt \\ \hline \end{tabular} \end{minipage}% %\hfill \begin{minipage}[b]{0.25\textwidth} \begin{tabular}{|l|} \hline \textbf{Reload)} \\ \hline \$ tmux source-file \~/.tmux.conf \\ \hline \end{tabular} \end{minipage} \end{document}