Tag Info

New answers tagged

2

Styles can greatly improve readability. Here's a proof of concept using only styles. The idea is to define a <name-of-node>pos style for each named node so that you can specify positioning by defining this style using keys like at or left etc, separately from the point of creation of the nodes. \documentclass{standalone} \usepackage{tikz} \tikzset{ ...


4

\documentclass[11pt,spanish,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} OK so far except that theses usually have chapters so book or report might be preferable. \setlength{\parskip}{2ex} \setlength{\parindent}{0pt} Better to use parskip. \usepackage{textcomp} \usepackage{url} \usepackage{graphicx} \usepackage{setspace} ...


3

You could also just define your own macro that builds the \node content.. On the left is the manually specified examples you provided and on the right are the ones obtained by calling \Node: Notes: You should use \tikzset instead of \tikzstyle as per Should \tikzset or \tikzstyle be used to define TikZ styles? Code: \documentclass{article} ...


3

I am not sure what you are really doing so this may be completely unhelpful. If so, just say and I can delete it. You can use pics to define small pictures which you can reuse later over and over. Technically, you could create a pic for each node you want and then call the relevant code at the relevant point. However, this is really an abuse of the ...


4

Possibly the pic syntax provides one fairly easy way to go: \documentclass[varwidth, border=5]{standalone} \usepackage{tikz} \tikzset{symbols/.cd, smiley/.pic={ \draw circle [radius=1/2] (225:1/3) arc (225:315:1/3) (135:1/4) circle [radius=1/32] (45:1/4) circle [radius=1/32]; } } \newcommand\tikzsymbol[2][]{\tikz\pic[#1]{symbols/#2};} ...


3

Numbering all equations makes it easier for the reader to find a specific equation. If only important equations are numbered, then you can have pages without any numbered equation, so you cannot know whether the equation you are looking for is before or after that page. The purpose of numbering equations is not to indicate which ones are important, but to ...


1

Biber works so nicely with TexPad OS X and BibDesk and with a lot of online sources. Instructions to switch from Bibtex to Biber (source) in TexPad OSX Typesets and compiles the bibliography file. The underlying bibliography engine is set in the Preferences' window (current options include BibTeX and Biber). Chain: pdfLaTeX BibTeX/Biber pdfLaTeX ...


3

BibLaTeX, especially when used with Biber, offers the most powerful and sophisticated handling of bibliographies. It has been designed with web resources in mind from the start and offers extremely nice ways to format a range of resources. For example: all entry types support the url and urldate fields for specifying URLs and dates accessed; all entry ...


1

I am gathering here choices about different methods to reference material properly with urls and other webpage-based material. Choices @misc entry type and howpublished=\url{...} field with Bibtex, instructions here BibLatex method as instructed here, I haven't been able to get it compiled nicely


3

As you seem to be concerned with \section, I'll make a couple of examples. The memoir class allows for two optional arguments to \section, one for the TOC entry and the other one for the header. In the KOMA-script classes \section has just one optional argument which should contain a list of key=value pairs (it also allows just the short version of the ...


1

The reason why \PassOptionsToPackage is used is compatibility with LyX: if a package is loaded with options both in LyX and -config.tex a clash occurs and the document is not compilable. It seemed better to have the template compilable as-is by using \PassOptionsToPackage, even though it would lead to some options not being evaluated. As reference, see the ...


14

I don't think that there is a single best practice --- it partly depends in what way your package has become obsolete. One of the strong goals of LaTeX is continued backward compatibility, i.e., the ability to reprocess old documents successfully even after a long period of time and in fact that is something tat most of the time works surprisingly well ...


7

It would be very rude to all the users who rely on your package to swap its function for an error message. I can not understand how someone ever could consider such a reckless approach. Some years ago the maintainer of Linux Libertine cut the support for pdftex and I found myself in the middle of my work towards a deadline trying desperately to get the ...



Top 50 recent answers are included