I am looking to write a 'house style' guide for my organisation.  As a house style we want to continually be updating and maintaining it (perhaps with a new edition every year or so).  I want to write it in LaTeX (of course!), but I am having trouble finding out how to organise it.  (I could do this by hand, but then where's the fun of LaTeX in automation?). As many organisations and universities have a house style guide these days, I hope this question is of general use. A style guide  (at least as I write one) is organised first by theme, and then alphabetically.  The theme sections I can do as ordinary chapters, but I am having trouble figuring out how to organise my sections alphabetically.  glossaries and similar aren't really for writing a style guide—they are designed to be additional matter to a main text, rather than (as I want) the main text is itself alphabetised.   Perhaps a package for making a dictionary could be adapted? To give a concrete example, I would like to find a way to organise the  'sections' below alphabetically automatically.  (Of course, there's no reason they have to be 'sections' \documentclass{book}  \begin{document}  \chapter{Spelling and Punctuation} \section{Commas} \section{Full Stops} \section{Exclamation marks}   \chapter{Names} \section{Universities} \section{Surnames} \section{Cities}  \end{document}
122831
Is it possible to tell latex, that it should sort the sections you used in your document according to their alphabetical order in the final pdf document? I.e. I want to have something like this  \begin{document} \section{A} \section{C} \section{B} \end{document}   and in the pdf I get the result as  A B C   Is that possible, and if yes, how? Putting the sections into separate files is not preferred (but possible if scripted) due to having ~300 sections. Edit: I can also rewrite it as   \begin{sortEnvironment}{Title} Content \end{sortEnvironment}   if that makes it easier.
56650
What is the best way of editing an existing LaTeX table? I need to swap the order of two columns and can't think of an efficient way of doing this.  My table is a long creature of the following structure:  A &amp;     -0.523 &amp;      26.94 &amp;     0.8243 &amp;     0.0000 &amp;     -12.67 \\ B &amp;     -0.614 &amp;      30.02 &amp;     0.8509 &amp;     0.0000 &amp;     -13.12 \\ C &amp;     -0.630 &amp;      32.92 &amp;     0.9254 &amp;     0.0000 &amp;     -21.45 \   I need to change the values so that it is:   A &amp;     26.94 &amp;      -0.523 &amp;     0.8243 &amp;     0.0000 &amp;     -12.67 \\ (etc)   The thoughts that I had were to import it into Excel and to drag columns around, and then use the concatenate() function to produce the number &amp; number structure. I feel like there might be a better way of doing this that I am unaware of.
97883
I am trying to put fancyhdr custom style on all pages except first one, but it either shows up on all of them, or on none, I can't make this style to go from second page, im new to latex, so any help is welcome.
6609
I'm writing specifications using Word documents with a general style like this:  # Heading 1 intro paragraph * bullet1 * bullet2 * bullet3  # Heading 2 intro paragraph * bullet1 * bullet2  # Heading 3 intro paragraph * bullet1 * bullet2 * bullet3 * bullet4 * bullet5   I want each heading, intro paragraph, and associated bullets to stay together whenever possible. As such, I have styles for each with the Paragraph option "Keep with Next" checked. However, this results in everything sticking together too tightly.  To fix it I currently go to the last bullet in each list and change its style to one that does not have "Keep with Next" checked. For example, the bullets have a style "ReqBullet" and I create another style "LastReqBullet" that inherits from "ReqBullet", but which has "Keep with Next" turned off.  (I could alternatively override the setting on each bullet, but doing it via a style makes it easier to apply, and also easier to see where it is set.)  Using manual style application is slightly cumbersome, and error-prone. If I add a new item to the end, I have to swap styles. Often I will forget to apply the style until I realize that the formatting is wonky.  The question  Is there a way hidden in the bowels of the Style settings to say either:   Keep this paragraph with the next but only if it's the same style, or I don't care what the previous paragraph told you, do NOT keep me with it (which I could apply to  the headings)
103287
How do I use the style beamer uses for the table of contents in other slides? I.e., make enumerates rather big and bold etc. Ideally, I'd like to do something like  \begin{frame}{My Outline}   \styleframeastoc % NOT working, obviously.   \begin{enumerate}      ...   \end{enumerate} \end{frame}   Background  I want to define my own outline where below each heading there is a one-sentence explanation of what I'm gonna cover in that section. I.e.:   First Approach  A very simple and straightforward approach that however only works in an ideal world. Second Approach  Refinement of the first approach to ... ...   I figured that it would be easiest to not use the actual TOC mechanism for that, but rather insert the respective slides "manually" (there are only 5 or so sections anyways).
2902
I am doing summer project in maths and I have to type my report. I am good with the latex I write on mathstack that I have learned through experience but when it comes to softwares, I do not know anything like those commands \begin \end does not make sense to me.   Is there any software which can automatically put these commands in, so that in b/w we can type whatever stuff we want?  Also if not, at least you guys can tell me if there is any latex software which shows the output on half of screen(right half), as I type on left half and compile, (I saw it somewhere).  Anyways, I have to download a software and will have to go through some you tube videos, so please suggest me relatively easy Latex software.  Thanks!  P.S. Please edit the tags as you wish, I did not understand many tags here.
83288
So for a report my teacher gave us exact prerequisite for the layout. He wants in text footnote citations in the author-year style and the bibliography in  the APA (5th) style. EDIT: The reference list should be numberd and sorted according to the appearence and I think corresponding to the footnote number.  Because I do not want to merge 5 .doc (MS Word) files from my group members and format everything in MS Word I need to get this to work in LaTeX.  Currently I am trying to get this to work with biblatex and Biber, but the combination of the two styles turns out to be very difficult to me. I am not set on biblatex. So, if it can be done with BibTeX or whatever, that is fine.
8024
Forgive the stupid simplicity of this question, and please feel free to refer me to an older answer. I'm not quite familiar enough with LaTeX terminology to have found it.  All I want to do is set a different default format for my section titles. Instead of just being bolded and slightly larger than the main text, I'd like them to be of normal weight, the same size as the main text, and all caps.   I'm using the article class.
81973
I'm writing my thesis and I woud like to add a minitoc at the beginning of each chapter. However, I don't like the standard format where the titles of the sections are listed as in the main TOC and I would like to align the titles on the same row (a format I saw in several books), maybe sperated by a comma or a textbullet. I mean something like this:     Chapter 1      Contents      1.1 Sec 1, 1.2 Sec 2, 1.3 Sec3, 1.4 Sec 4   I can do this for the main TOC through the titletoc package, but I need it for minitoc. Is there a way to have this customization of the minitoc? Thank you in advance.
64497
I'm writing a technical documentation and I want to explain step-by-step how to go through various menus.  For example I used to write Open with &gt; VLC media player.  That's how it looks in Windows 8:     What I want in Latex should looks similar to this: light grey box, dark grey border and black windows-like font.    I've seen , suggesting the package  - but it looks very old fashioned - are there any more modern approaches?
70856
I would very much like that the the appendix sections of the Table of Contents doesn't have a section numbers, dots, and page numbers. If I do the following  \documentclass{article} \usepackage{tocloft} \addtocontents{toc}{\cftpagenumbersoff{section}} \renewcommand{\cftdot}{} \begin{document} \tableofcontents \newpage \section{Appendix} \section*{Another Letter} \addcontentsline{toc}{section}{Another Letter} \end{document}   then the section "Another Letter" is left aligned, so it doesn't look like the  others.  Question  Is it possible to have "Another Letter" styled the same way as normal TOC entries, but just without section number, dots, and page number?
36861
The following  (links to pdf) in the  has no provided source. The book  by Ash and Gross seems to use a similar style. Where can I find hints for typesetting publication standard articles/books as above in TeX. I looked around a bit but couldnt find much from else from keyword searches.  Particularly, I am looking at the chapter headings, title page design, and the mirror effect. Sorry for the title, as I dont really know what its called.
107591
I am writing a book consisting of different chapters (each stored in an extra tex-file) and want to add numbers to each of the chapters' titles (MWE below). So for example, right now what my table of contents looks like is:  Chapter Title  1 Section Title  1.1 Subsection Title  2 Section Title  2.1 Subsection Title   But what I want it to look like is this:  1 Chapter Title  1.1 Section Title  1.1.1 Subsection Title  1.2 Section Title  1.2.1 Subsection Title  The structure of my project sort of looks like this:  \documentclass[runningheads,a4paper]{llncs} \usepackage{standalone} \input{preamble.tex} \begin{document} \tableofcontents \input{Chapter1.tex} \input{Chapter2.tex} \end{document}   With the Chapters each having their own titles. Thanks in advance for your help, I hope it became clear what I'm trying to achieve, please feel free to correct me if I'm doing something wrong as I am still pretty new to this platform.
47863
I’m writing a document in the latex and it contains some BNF grammar noations in several places of the documents. (I used verbatim package in order to write these BNF grammar notations)  Now I want to add a new section to the document that shows name of all grammar notation and their page numbers. This should be similar to “List of Figures” page.  I’m new to Latex and your help will be very helpful for me.  Thanks
69800
I am having difficulties with setting up the layout of my bibliography. I would like to have a numeric style which does a none sorting so its order is as it appears in the text. Plus I would like my bibliography entry to look like this (so authoryear style):     References      [1] Surname, Y.G. Year. Title ...   I don't know what to do and can't come up with anymore keywords to look for it. I just started using biblatex.  My setup is as follows:  \documentclass[12pt,a4paper]{scrartcl} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{csquotes} \usepackage{textcomp} \usepackage{hyperref}  \usepackage[     backend=biber,     bibstyle=authoryear,     citestyle=numeric-comp     sorting=none, ]{biblatex}  \bibliography{mybib}  \begin{document}  Structures \cite{definition}  \newpage  \printbibliography  \end{document}
70179
I have many style files (and one or two class files) that I've written in my local texmf tree.  Most were simple things that got me out of some trouble and which I put in to a style file in case I needed them again.  One or two are quite complicated (probably unnecessarily).  My thinking is that I should add some documentation to these files.  Mainly for myself: although my reasoning for defining stuff the way I did was perfectly clear when I did it, it may not be so clear next year when I try to use it again (or, worse, try to modify it again).  Also for others since I do sometimes share these files, either with collaborators or with anyone who says, "Hey, that's neat!  How did you do that?".  But definitely not for uploading to CTAN.  So I'd like to add some basic documentation to these files.  As it is just for myself, I don't feel that I want to do too much, so what I'd like is a system that is as close to the following parameters as possible:   It should be "in file": I want to be able to add the documentation for a command right where the command is defined. The format should be readable when not compiled: this is a corollary of the above, since if I want to be able to read it there and then, I don't want to have to compile it first. But it should be compilable so that I can send it to someone else if I want to and they don't have to wade through the style/class file to find the documentation. However, the compiled form doesn't have to be all that pretty.   Is there such a system?  Searching for 'documentation' on CTAN is like searching for snow in Norway - there's plenty of it but, to an outsider, it's hard to figure out what is the right type of snow.  If there isn't a system that does what I describe, I'd be happy to hear of others' experiences in trying to do this (I'd be happy to hear them anyway, in fact).
35856
Suppose I've just made the switch to . I have chosen one of the built-in styles (numeric, alphabetic, authoryear, authortitle, verbose) or of the custom styles available at CTAN, and I've figured out how to sort/compress citations. The bibliography and the in-text-citations look approximately like I want, but need to be tweaked. I've taken a look at the biblatex documentation for advice, but it is somewhat daunting. How do I get started? To add some focus, customization in the following areas would come in handy:   Suppressing of specific BibTeX fields (e.g., publisher); Formatting of fields for specific entry types (e.g., titles of articles not inside quotation marks); Formatting of citation postnotes (i.e., getting rid of "p."/"pp."); Spacing and punctuation in the bibliography (e.g., commas instead of periods as unit separators); Order of first names and last names of authors/editors in the bibliography; Order of certain fields in the bibliography (e.g., swapping location and publisher); Language-specific terms (e.g., replacing "References" with "Works Cited").   Finally, assuming that I'll want to use my style adjustments in a multitude of documents: Where do I put the relevant macro stuff?