Tag Info

Hot answers tagged

67

I don't think there is a predefined class for menus, but you can create you own format using any of the existing document classes; after all, the menu is a unique feature that identifies a restaurant. Just as an idea (which admits many improvements), in the following example I used the web-O-mints fonts and the background package to create a frame that will ...


44

I'm glad you said: but would also be interested to see other ways it can be done. because I don't use xy-pic anymore (fantastic though it was when in the pre-TikZ days). Here's my best shot with TikZ. Here's the result: The code follows. A couple of comments on my choices. None of the libraries loaded is strictly necessary, but I felt that the ...


35

Great! The process is simple. Everything is explained on the upload page (see below for the actual links). My own guidelines are listed below. Make sure the material is licensed appropriately. Most LaTeX package are licensed under the LPPL, but you can also use the GPL or one of the Apache/BSD/MIT licenses if you wish. Make sure that you include the ...


32

Andrew has already produced a really beautiful snake (I think I never saw the diagram typeset nicer), so let me add a long exact sequence. For this I usually prefer curved arrow between the lines. These are easily produced using [out=...,in=...] giving the angles at which the lines starts and ends. \documentclass{article} \usepackage{tikz} ...


32

...just thinking that Menus and Resumés are similar in format, and templates for the latter are two-a-penny. For example, with a little lateral thinking, you could try using moderncv. Using a pruned version of the template in the package, you could do something like: \documentclass[11pt,a4paper]{moderncv} \moderncvtheme[orange]{casual} ...


30

It's impossible not to give a menu of a restaurant in Paris but I need to justify a new version for a menu. I like the menu of Gonzalo, so I try to create a variant but with tikz and tabular (I do not know yet background). I keep some part of the tabular (great idea here) and I use a macro to build a box around the menu. The macro is named \MyCadre first ...


29

I see Will has answered this, but I'm going to give the same information in a slightly different form! The upload page at http://www.ctan.org/upload contains some advice, as well as an upload form. You only have to upload the files themselves, but it is usual to include some kind of README file and also probably some documentation. If you have a package ...


26

The exam document class offers you ready-to-use environments and commands for essay-questions; a little example: \documentclass{exam} \begin{document} \begin{EnvFullwidth} \Large \textbf{Essay questions} \end{EnvFullwidth} \begin{questions} \question Explain how the cooling of matter in the centuries following the big bang has influenced the British ...


23

All (or at least most) of the default themes are available to view here. If none of these suit, I think the best bet is probably to pick one you almost like and modify it yourself. This has the advantage that you learn more about beamer, and it makes your presentations unique. The beamer manual is pretty complete and all the relevant options are ...


22

You may find the refman class a good starting point; it's designed to be an all-in-one package for technical reference manuals. Having said that, I use memoir for my technical manuals. It's very customisable, and many people have published such customisations, for example, these chapter styles. The last manual I wrote used a slightly modified version of one ...


22

Children's books are as unique as the children that read them. They are very individualistic and would be very difficult to fit them in a class. Each book deserves its own. Here is a draft for one (very rough, but just to illustrate that it is not that hard to develop a special template), and here is the code to play with: \documentclass[11pt]{book} ...


19

Here is a solution with xy-pic. For the snake lemma: \documentclass{minimal} \usepackage[all,cmtip]{xy} \usepackage{amsmath} \DeclareMathOperator{\coker}{coker} \newcommand*\pp{{\rlap{\('\)}}} \begin{document} % \[ \xymatrix@!{ && {\ker(a)} \ar[r] & {\ker(b)} \ar[r] & {\ker(c)} ...


17

This is what I'm using for small cheat sheets. It is derived from some sheet I found out there, unfortunately, I cannot recall whom should I credit... Anyway, there you go: \documentclass[10pt,landscape]{article} \usepackage{multicol} \usepackage{calc} \usepackage{ifthen} \usepackage[landscape]{geometry} \usepackage{amsmath,amsthm,amsfonts,amssymb} ...


17

You can avoid the paragraph indention for specific paragraphs with the \noindent macro. If you want to disable it globally you could use \setlength{\parindent}{0pt}. However, I would not recommend changing it globally in your case, because that's effectively changes the template, even if the actual file isn't modified.


16

The very recent version of the subcaption package will even issue an error: ! Package caption Error: The `subcaption' package does not work correctly (caption) in compatibility mode. The only way to get around this is to specify the option compatibility=false to the caption package: \documentclass{cifa} \usepackage{subcaption} ...


15

The first question you need to answer before you embark on such an endeavour is the raison d'être for writing a new class. In many cases a small package might be a better idea. I would start from using and understanding an existing class such as classicthesis, make a list of the changes that you want and then fork it into something new. My suggestion is ...


14

I don't have a empty document to put here right now, but start with a article \documentclass[10pt,a4paper]{article} Then include some packages (http://tex.stackexchange.com/questions/553/what-packages-do-people-load-by-default-in-latex) \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[english]{isodate} \usepackage[parfill]{parskip} ...


14

The labels package is excellent for this, if you want to hand-craft the layout within the card. Thanks, @MartinScharrer, for your excellent suggestion. Here's a small(?), imperfect example for people to play with: % !TEX TS-program = xelatex \documentclass[a4paper,9pt,oneside,landscape]{memoir} \usepackage{fontspec} \usepackage[newdimens]{labels} ...


14

Some additions that I did not see in the links provided by Seamus: The progressbar Beamer theme with a customizable progress bar at the frame bottom The Keynote theme


13

Suppose you want to use a New! Shiny! LaTeX package. First you'll need to make sure that the LaTeX program can find the important files. Usually, you'll get a .cls file or a .sty file, sometimes more things. These need to go into the search path of LaTeX. Now, if you only use it for one single project, you can (on most installations) just put the files in ...


13

First of all, I can only chime in with commentors to say that TeX is certainly one of the best systems you can find for this kind of task. As your question is not very specific and some pointers have already been given, let me just give some examples for comparable uses and suggestions for proceeding further. Feel free to ask more specific questions ;-) ...


13

I'm not sure whether you are looking for design advice of advice about packages and classes that are likely to be useful. In my experience, most "business report" documents seem to have the following features (compared to "standard" LaTeX documents): The textblock is relatively wide (in other words, margins are smaller). The font used is not Computer ...


12

The bioinfo class loads the flushend package which (according to the UK TeX FAQ in a "somewhat dangerous" way) balances the columns at the end of a two-column document. You should be able to switch off balancing by adding \raggedend to your preamble.


12

For fonts, you can use pdffonts: $ pdffonts charismanie.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- BQFNPY+TimesNewRomanPS-ItalicMT CID TrueType yes yes yes 59 0 UQUJMH+Centennial-Roman CID TrueType yes yes yes ...


12

Following up on Yiannis' answer, I think you will feel the need to write a class instead of a package only if you work in a field that requires rather specific things which are currently not offered by standard classes and packages. So this would mainly apply if you are working in the humanities or social sciences, for which the main classes will be memoir, ...


12

You can do it by using TikZ and the background package (needs two runs to work correctly): \documentclass{scrartcl} \usepackage[margin=25mm]{geometry} \usepackage{tikz} \usepackage{lipsum} \usepackage{background} \SetBgContents% { \begin{tikzpicture}[remember picture, overlay] \draw [line width=0.3pt,color=gray,step=0.5cm] (current page.south west) ...


12

Well, if you want an invitation card, what about gcard? You can combine this with Andrew Stacey's fantastic birthday cake code in How can I draw a cake using TikZ? (Here, I removed two candles to suit your case). And you get \documentclass[10pt]{article} \usepackage{tikz} \usepackage{gcard} \begin{document} \begin{frontcover} \begin{center} ...


11

Most sites point to the options below for formal letters: akletter for German business letters; newlfm for US-centric letters, faxes and memos; dinbrief for German letters; brief in the Dutch ntgclass bundle; scrlttr2 in the KOMA-Script bundle. Here is my .tex code for a formal letter or an invoice based on scrlttr2 (part of KOMA-script). I found ...


11

This messages are not errors but warnings/informations. They inform you that a certain combination of font features (e.g. a tt-font in bold + italic + small caps) doesn't exist and that LaTeX used a fallback. This messages are quite common and in more than 90% of all cases the substitution is ok.


11

For ConTeXt, I have written a module, t-filter, that provides a nice user-interface for running external programs on a file. Using that module, you can write: \usemodule[filter] \defineexternalfilter [markdown] [filter={pandoc -t context -o \externalfilteroutputfile}] after which you can use \processmarkdownfile{....} to convert a markdown ...



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