Tag Info

Hot answers tagged

27

I suggest you read the booktabs package documentation. Very good advices are given in there about table formatting and I think it is a good introduction on the subject. About your example, the reference mentioned above provides the following guidelines: Never, ever use vertical rules. Never use double rules. You may also add some zebra stripes to guide ...


18

I would swap columns and rows -- at least if the content of the cell are so short as shown in your example. And I would also try to avoid "rules" in the form of color backgrounds -- in most cases a bit more space is enough. And I would always try to have column titles which are not much longer than the content of the cells. \documentclass{scrartcl} ...


13

I'd use booktabs together with xcolor to shade alternating rows: The code: \documentclass{article} \usepackage[svgnames,table]{xcolor}% note the table option \usepackage{booktabs} \begin{document} \rowcolors{2}{White}{LightBlue!30}% colors to shade rows withs \begin{tabular}{*4c}\toprule & \textbf{Heat Wheel} & \textbf{Exhaust air} & ...


8

Coding for beauty is not always easy and is time-consuming, but I think using booktabs is very sufficient and its output is decent. You can also consider using colortbl if you want some colors. Here I initially post the first solution using booktabs to give you some insight. \documentclass{article} \usepackage{booktabs} \begin{document} ...


8

You mentioned that you hand-edited all math to sans text. I don't recommend doing this: it violates the separation of church and state content and style.1 If you want/need sans-serif math, use a sans-serif math font. They are few, far between, and somewhat limited in terms of glyphs/symbols, but they do exist. For simplicity, I have used sansmath here, but ...


6

In the preamble, make sure you load amsmath: \usepackage{amsmath} Then in your document body you can use: $\check{\mathcal{R}}$ To get what you want. Just in case, if you need examples of more accents: $\dot{\mathcal{R}}$ $\ddot{\mathcal{R}}$ $\hat{\mathcal{R}}$ $\check{\mathcal{R}}$ $\grave{\mathcal{R}}$ $\acute{\mathcal{R}}$ $\tilde{\mathcal{R}}$ ...


6

For a project I had to typeset a text conversation between two people. I ended up writing a class that recreates the look and feel of the Kik messenger app. Source of the class file: % kik-android.cls % by Brian Jacobs. % April 11, 2015 % % This document class emulates the user interface of the Kik messaging % application running on an android Moto ...


4

Here's a simple way to start with fontspec, from an online kern text. Just set the font you want, enter feature file if you have one and run the file for each desired variant (bold, small caps, etc.). \documentclass{article} \usepackage{fontspec,url,microtype} \setmonofont %FeatureFile = if-you-have-it.fea, %SmallCapsFeatures = {LetterSpace = 2.0}] ...


4

When setting a fraction, I would ditch the power and use \exp. \documentclass{report} \def\LMTD{\mathrm{LMTD}} \def\disch{\mathrm{disch}} \def\ahe{\mathrm{ahe}} \begin{document} \begin{equation} T_e=\frac{T_{\disch}\cdot \exp\big(\frac{T_{\ahe}-T_{\disch}}{\LMTD}\big)-T_{\ahe}}% {\exp\big(\frac{T_{\ahe}-T_{\disch}}{\LMTD}\big)-1} \end{equation} ...


3

Here you are: \documentclass{scrreprt} \usepackage{blindtext,titlesec, titletoc} \uspackage{etoolbox} \titlecontents{chapter}[0em]% {\ifnumgreater{\thecontentslabel}{1}{\addvspace{\baselineskip}}{}}% (A) %{}% (B) {\thecontentslabel\enskip}% {}% {\quad\emph{\thecontentspage}}% []% (A) %[\addvspace{\baselineskip}] % (B) \titlecontents{section}[0em]{} ...


2

A page from class notes I used to teach differential equations. Figure created with pgfplots. Colors are easily matched with color definitions. Done with a humble experience/knowledge in LaTeX. Pure LaTeX greatness!


2

It is not very clear from your post, what you would like to have. Why should T be upright? Does it have a special meaning? In general you should type text as such (\text{}). You should wrap often used terms in new commands. Like this, you are able to change later on, if you do not like your first decision. E.g. I thought that LMTD is some acronym and set ...


1

It looks... well... basically, awful in my opinion but anyway... \documentclass[tikz, border=15]{standalone} \usetikzlibrary{decorations.text} \usepackage[nopar]{lipsum} \UnpackLipsum[1] \begin{document} \tikz\draw [gray, thick, postaction={decoration={text along path, text/.expanded=\lipsumexp}, decorate}] (0,0) \foreach \i in {0,...,20}{ -- ...



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