Tag Info

New answers tagged

0

On Fedora 19 (and probably later distributions as well) you can install the (e.g.) multirow.sty package with the following command: yum install texlive-multirow You have to log in as root first


4

I'm not sure I fully understood the setup of your class file, the ways you load various packages, and the ways new macros are defined (or existing ones are redefined). For sure, don't load packages -- typically in files with extension .sty -- via an \input statement. Instead, use \usepackage directives. If for no other reason, you should do so because ...


1

Here's how to do this using ltxtable: Table goes in a separate file; environment longtable; with tabularx-style X column specifiers where needed. Insert the table using \LTXtable{<target-width>}{<file>}, setting the desired width and choosing the appropriate file which contains the longtable environment. One note: the center environment adds ...


3

It is unclear what the expected output should look like, but you can draw a box for short «digressions». [Edited: I'm updating my answer following @Manuel's suggestion] \documentclass[12pt]{article} \usepackage{tcolorbox} \usepackage{lipsum} \begin{document} \section{A Great Title} \lipsum[1] \begin{tcolorbox} \lipsum[1] \end{tcolorbox} \lipsum[1] ...


0

UTF 8 encoding is needed, because 'Jag är bäst' contains character which aren't supported by the default encoding of LaTeX.


0

the package name underlined and a pop-up says it's not found With a MikTeX installation, TXS checks the presence of a package by analyzing the result of mpm --list. I assume that this does not cover packages in a local tex folder. You may disable package checking at Options -> Editor -> Inline Checking -> Packages. There are some other ...


6

One possibility, via tikzmark Code \documentclass[border=1cm]{standalone} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{arrows} %\usepackage[margin=1cm]{geometry} \newcommand\tikzmark[1]{% \tikz[remember picture,baseline=(#1.base)] \node[inner sep=1pt,outer sep=2pt] (#1) {#1};% } \tikzset{myarrow/.style={line width=1mm, ...


0

No one mention tabulary. Sometimes I make tables with multiline cells in several columns, where the total width must be just \textwidth. Use tabular with p{} columns here is a pain since one must take into account \tabcolsep. For this, the sibling tabularx (cited in another answer) could make a good work ( X columns take all the available space), but ...


0

here is my solution: use \write18 to write a temp.dat file which contains 2 commands: \gdef\GITHash{...} \gedf\GITDate{...} then input that file, the \GITxxx will get defined. We can use it anywhere, e.g. running title. \makeatletter \immediate\write18{git log -1 --pretty=format:"\@backslashchar gdef\@backslashchar GITHash{\@percentchar h}\@percentchar n ...


3

A simple implementation not using a tabular internally: \documentclass{article} \makeatletter \newcommand\autorows[3]{% \begin{flushleft} \@for\tmp:=#3\do{\makebox[\dimexpr\textwidth/#1][#2]{\ignorespaces\tmp\unskip}\linebreak[0]}% \end{flushleft}} \makeatother \begin{document} \autorows{5}{l}{one, two, three, four, five, six, seven, eight, nine, ...


4

Technically you can just grab everything related to \autorows from memoir.dtx and place it in your preamble (or collect it in a style file): \documentclass{article} \makeatletter \def\ctabsetlines{% \let\hline\m@mhline \let\@BTnormal\m@m@BTnormal} \newdimen\@mincolumnwidth \newskip\ctableftskip \ctableftskip=\fill \newskip\ctabrightskip ...


3

Have you tried it like this? % arara: pdflatex \documentclass{article} \usepackage[T4]{fontenc} % loading the fc package \begin{document} \B{D}\B{d}\B{H}\B{h}\B{t}\B{T}% \m{b}\m{V}\m{C}\m{c}\m{D}% \M{d}\M{D}% \m{d}\m{E}\m{e}% \M{E}\M{e}% \m{f}\m{F}\m{G}\m{g}\m{I}\m{i}\m{J}\m{j}\m{K}\m{k}\m{N}\m{n}\m{o}\m{O}\m{P}\m{p}\m{s}\m{S}% ...


-1

That's right, I didn't know (personally, I use MiKTeX). But it's an old package (1993!) and the TeX Catalogue On Line says it is superseded by diagbox which has backwards compatibility and is included in TeX Live. If you absolutely want to install it, the files must be installed in texmf-local. More precisely, slashbox.sty and slashbox.tex shall be ...


5

The intended user documentation is encguide.pdf as returned by texdoc textcomp. If you want the actual documented source then the file is generated from ltoutenc.dtx in the base latex distribution (the same source as the fontenc package) If you run pdflatex on ltoutenc.dtx (in texmf-dist/doc/latex/base in texlive) then you will get ltoutenc.pdf, this file ...


2

There are 2 notions of packages here and they are not the same. First, there is the TeX Live idea of a package, such as helvetic. Here is what the TeX Live Manager has to say about it: $ tlmgr info helvetic package: helvetic category: Package shortdesc: URW "Base 35" font pack for LaTeX. longdesc: A set of fonts for use as "drop-in" ...


2

The package undertilde is marked as having an unclear license. As such, it can't be included in TeX Live (which only includes free software). You will have to download the package from CTAN and install it manually: see How do I install an individual package on a Linux system? for more on this (look in particular at installing a package manually).


4

The mathtime package is a very old package used for loading the first versions of what are now the MathTimePro fonts. As such, this file is not included in any TeX distribution as it requires having the fonts, which are proprietary (and not available any more). If you install the light version of the MathTimePro fonts, available at this link from PCTeX, ...



Top 50 recent answers are included