Tag Info

Hot answers tagged

5

minipage are vertically centred by default, use [t] for example \begin{minipage}[t]{0.4\textwidth} so they align on their top line


5

Here is an example of using parshape: Code: \documentclass{article} \begin{document} \parshape=13 0pt 0.4\textwidth 0pt 0.4\textwidth 0pt 0.4\textwidth 0pt 0.4\textwidth 0pt 0.4\textwidth 0pt 0.4\textwidth 0.6\textwidth 0.35\textwidth 0.6\textwidth 0.35\textwidth 0.6\textwidth 0.35\textwidth 0.6\textwidth 0.35\textwidth 0.6\textwidth 0.35\textwidth ...


5

Not really pure latex markup but.... \documentclass{article} \begin{document} \setbox0\vbox{\hsize=3cm\raggedright 1 The quick brown fox jumps over the lazy dog. 2 The quick brown fox jumps over the lazy dog. 3 The quick brown fox jumps over the lazy dog. 4 The quick brown fox jumps over the lazy dog. 5 The quick brown fox jumps over the lazy dog. 6 The ...


5

Here is a primitive model to be served as a starting point. \documentclass{article} \usepackage[a4paper,margin=0in,top=1.5mm,bottom=1.5mm]{geometry} \usepackage{tikz} \begin{document} \begin{tikzpicture}[remember picture,overlay] \foreach \x in {1.5,43.5,...,295.5}{ \draw[very thick,blue] ([yshift=-\x mm]current page.north west) -- ([yshift=-\x ...


4

One way is to add some phantom text in both columns so that each bullet points "takes" up the same number of lines: Notes: Also added [t] to align the columns at the top Code: \documentclass{beamer} \begin{document} \begin{frame}{An Example of using columns in beamer} \begin{columns} \begin{column}[t]{0.48\textwidth} ...


4

That comes due to \section{\scshape Introduction}. If you want to get rid of it totally, just delete that line or even better use \section[]{\scshape Introduction}. Note the empty [], the optional argument.


3

Here is a solution via two new commands : \parallelcontent and \parallelitem. \documentclass{beamer} \newcommand\parallelcontent[2]{ \begin{columns}[t] \column{0.48\textwidth} #1 \column{0.48\textwidth} #2 \end{columns} } \newcommand\parallelitem[2]{ \parallelcontent {\begin{itemize} \item #1 \end{itemize}} {\begin{itemize} \item #2 ...


3

If you want to align entries, use a tabular \documentclass[a4paper,12pt]{scrartcl} \usepackage{booktabs} \begin{document} \noindent \begin{tabular*}{\textwidth}{ r@{ }l @{\extracolsep{\stretch{2}}} l @{\extracolsep{\stretch{1}}} l@{} } \toprule a. & Questionnaire Number/ID: \dots &&\\ b. & Name of Community: \dots ...


2

Add few \struts: \documentclass[a4paper,12pt]{scrartcl} % --- Language Settings: ------------------------------------------------------ \usepackage{bbm, amssymb, amsmath, amsfonts}%fonttypes, mathtypes, etc. \usepackage[german,ngerman,english]{babel} %English and German for fancyref % --- Textformat: ...


2

Instead of coding specfic widths it is better to set the width of the minipage to be 0.33\linewidth and the height to be 0.14\textheight: Code: \documentclass{article} \usepackage[a4paper,margin=0in]{geometry} \newcommand*{\MyContent}{% Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam sed nunc nec urna semper faucibus et eu dui. Fusce et ...


2

You can have a much simpler code with the makecell package, using its \rothead command without having to use a minipage. Set the width of the rotated headings to the length of the longest heading line, and the trick is done. The makecell package allows for line breaks in cells while keeping them centred (by default) both vertically and horizontally. In ...


1

It seems that it was a plain oversight on my side. As Harish Kumar and John Kormylo point out I just have to remove the [t] parameter in the minipage definition inside the lrbox. [...] \newsavebox{\eheaderbox} \begin{lrbox}{\eheaderbox}% \begin{minipage}{.5\textwidth} % remove HERE \begin{flushleft} [...]



Only top voted, non community-wiki answers of a minimum length are eligible