# Tag Info

6

Just for fun: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \gdef\shift{0} \foreach \x in {1,...,100}{ \pgfmathsetmacro\r{random(0,5)} \xdef\shift{\shift,\r} } \foreach \sh in {0,...,5}{ \gdef\rec{0} \foreach \s [count=\c] in \shift { \ifnum\s=\sh \xdef\rec{\rec,\c} \fi } \begin{scope} \clip ...

12

Procrastination team, represent! This is just too easy with TikZ ;-) Now with correct colors, correct font and the code matches the picture. You will need to use xelatex or lualatex to typeset. \documentclass{article} \pagestyle{empty} \usepackage{fontspec} \setmainfont{Calibri} \usepackage{tikz,xcolor,mwe} \definecolor{cvgreen}{HTML}{92D14F} ...

2

Like this? The arrows are centered wrt the entire node. I used a tabular inside \SB: \documentclass{article} \usepackage{tikz,xcolor, fontspec, schemata} \usetikzlibrary{shapes,arrows,positioning, decorations.pathreplacing} \setmainfont{Arial} \begin{document} \tikzset{block/.style={align=center}, line/.style = {draw,-latex',ultra thick}} ...

1

(don't vote I'll delete later but too long for a comment) I get no error. Add \listfiles and then check the file dates in the list shown at the end of your run. *File List* report.cls 2007/10/19 v1.4h Standard LaTeX document class size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option) amssymb.sty 2013/01/14 v3.01 AMS font symbols ...

3

scrjura The package scrjura is intended for drafting legal documents according to German standards. The design of the package allows in general writing contracts, verdicts and even a special kind of books we call commentary ("Kommentar"). "In general" means that the basic structures have been written, but so far only the branch to write contracts has been ...

6

scrlfile Package scrlfile mostly gives powers to package authors, but a normal user can take advantage of this package as well. Suppose you want to run some code, but only if a special package is loaded. Or maybe you want to prevent to load this package after all. No problem. Feature overview scrlfile gives you the possibility to run code ...

14

scrextend This package makes basic features of KOMA-Script classes available for other classes, so it extends them. It is mainly meant for document writers, but could also be used by package and class writers. Description is found in main KOMA-Script documentation. As explicitly stated in documentation this package should not be used together with a ...

13

Package list (links behind package names lead to answers): scrbase scrdate and scrtime scrextend – makes some features of the KOMA-Script classes available for other classes. scrjura – contract environment for advocates and scholary persons in law scrlayer scrlayer-notecolumn scrlayer-scrpage as successor of legacy package scrpage2 (which has itself an ...

4

Ok, I took a look into Best practice on organising your preamble that @Mico recommended and it had exactly the same problem but hard to find. Additionally @David Carlisle explained that if a preamble gets too huge I can move the whole preamble to an sty file. While a lot of good pointers were made in the other post, after playing a while with the sty I can ...

2

I would try something like this: \documentclass[a4paper,oneside,12pt]{report} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% PACKAGES & SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[english]{babel} % formatting rules for the English language \usepackage[T1]{fontenc} % proper formatting for ...

0

I need to run sudo tlmgr install ec in the terminal. It works fine now. Thanks for your comments.

4

balance.sty belongs to the preprint bundle. In Ubuntu and Debian Linux, the repository package texlive-latex-extra (see file list) contains the preprint bundle. So you can install it by sudo apt-get install texlive-latex-extra in a terminal window, or use your Ubuntu package manager for the installation. CTAN writes about it: preprint – A bundle of ...

4

You need neither adjustwidth nor hangparas: \documentclass[a4paper,11pt]{article} \usepackage{lipsum} \newenvironment{outpar} {\par\setlength{\parindent}{-0.25in}} {\par} \begin{document} \lipsum[1] \begin{outpar} \textbf{One.}\quad Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some ...

1


1

I did something similar for styles in graph theory. Assuming you're on a UNIX-based system (or on Windows with Cygwin/MinGW installed), you can use the install tool coupled with a lesser-known use of kpsewhich: SONI_DIR=kpsewhich -var-value TEXMFHOME/tex/latex/soni/ install -m 755 -d $SONI_DIR install -m 644 soni-er.sty$SONI_DIR Just stick all of ...

2

As the question is so open, this is my suggestion, using the bclogo package: \documentclass[twocolumn]{article} \usepackage{microtype} \usepackage{lipsum} % dummy text \usepackage[tikz]{bclogo} \newcommand\FancyBox[2]{% \begin{bclogo}[couleur=yellow!15!orange!05, logo=\Huge\bcplume, arrondi=0.3, ombre=true, couleurOmbre=gray, couleurBarre=orange!30, ...

1

Without anything fancy and with tabular: \documentclass{article} \usepackage{array} \newcolumntype{R}{p{\dimexpr0.88\textwidth-2\tabcolsep\relax}} \newcolumntype{L}{p{0.12\textwidth}} \newenvironment{play}[1][Player]{% \noindent\tabular{@{}L>{\raggedright\arraybackslash}R@{}} \textbf{#1:} &% }% {\endtabular}% \begin{document} \section{A section} ...

4

Probably tcolorbox can give you a start point... Code \documentclass{article} \usepackage{tcolorbox} \usepackage{lipsum} % just for the example \begin{document} \section{A section} \lipsum[1-3] \section{Fancy section} \begin{tcolorbox}[colback=yellow!50] \textbf{Player}: Hi! How are you? \end{tcolorbox} \begin{tcolorbox}[colback=green!50] ...

3

Mercurial This is a hack to say the least, but I can just as well show some code. I write the current revision and information on which files have been modified into drafts in the following way. I build the documents with Latexmk. In latexmkrc I add: require('scripts/writeLatexHgInfo.pl'); writeLatexHgInfo('.hginfo'); writeLatexHgInfo.pl contains: ...

6

You can "extract" only that symbol from MnSymbol and use it in your document. This is the code to extract \leftpitchfork: \DeclareFontFamily{U} {MnSymbolA}{} \DeclareFontShape{U}{MnSymbolA}{m}{n}{ <-6> MnSymbolA5 <6-7> MnSymbolA6 <7-8> MnSymbolA7 <8-9> MnSymbolA8 <9-10> MnSymbolA9 <10-12> MnSymbolA10 ...

1

I always end up loading the same packages, some of which were suggested by some answers to this question, such as hyperref, amsmath, nag, etoolbox, xparse, and others. I created a style file latexdev.sty that I use in almost all my notes and publications, which loads all these standard packages: https://github.com/olivierverdier/latexdev

12

Here's one possibility using the sidebar outer theme; the background canvas template was used to include the image in the background; the headline and frametitle templates were also redefined to take into account the width of the left image: \documentclass{beamer} \useoutertheme{sidebar} \makeatletter \setbeamertemplate{frametitle} {% ...

1

I include: \usepackage{outlines} in my preamble. outlines is a quick and easy way to generate hierarchically embedded lists. Especially useful when I'm drafting up a paper (I like to outline it) or if I'm quickly typing up notes, e.g., at a conference.

9

Note that I do not actually recommend you do the following. But, since you ask: You can force TeX/LaTeX to issue the directive \displaystyle automatically whenever you initiate inline-math mode -- via either an opening-\$ or a \( instruction -- by inserting the following command in your document's preamble: \everymath{\displaystyle} Again, I do not ...

5


Top 50 recent answers are included