All Questions

35 views

Bibliography with names separated by a comma, not by “and”?

My text is in German yet I'm using the style alpha and not alphadin because I don't like the capitalization and the word order in the latter. The only problem I have with alpha is that it separates ...
15 views

How to change \textsc and \section font to small caps?

I'm trying to change \textsc to produce small caps from different font. As you see it isn't working. Also, I would like to change \section to use small caps as well, but in definable size. How can I ...
36 views

Annotate insertions/deletions in listings

I'd like to annotate some lines in my lstlisting environment as having been added or deleted. To do this I'd like to put a (+) or (-) symbol next to the line numbers, like this: 1 function foo ...
42 views

How to make sideways table with horizontal text in a cell?

I need to make such table in LaTeX: I came up only with this: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{table} \rotatebox{270}{ \begin{tabular}{|c|c|} \hline ...
66 views

Picture indicating the fifth roots of unity

I would like to have the unit circle, centered at the origin, on the Cartesian plane drawn. The origin is to be marked with a dot and labeled "O" and five dots are to be drawn on the circle, one on ...
30 views

How to direct Aquamacs to all .aux files such that they can be trashed?

is there a way to pass a command in the .emacs so the Aquamacs to trash all the auxiliary files keeping only pdf and tex in the folder?
122 views

Derivative of a tikz path?

I would like to draw curves that are smooth and have linear segments. These curves are to be used in the graph of one-dimensional functions, x(t). [To be used as position vs time graphs in writing ...
15 views

Customizing names of auxiliary file: safe practices?

I maintain a package (morewrites) which requires a temporary auxiliary file to function (written and read right away). This auxiliary file is currently named \jobname.mw, and a user has asked me to ...
37 views

A dynamic variable as content of a glossary entry

Based on the macro defined here, I would like to use it to create a glossary with a variable in the description. Here is my MWE: \documentclass{article} \usepackage[utf8]{inputenc} ...
59 views

What is the easiest way to accomplish textual tick labels in tikz?

Consider the following simple PV-diagram: The code below created it and the output is fine. I used kind of a workaround with an array to get the right tick labels on both of the axes. That works ...
21 views

Two vertical lines with expressions spanning a few rows between them (math)

I'm pretty new to Latex, learning it while doing. I mainly use doc and latex wiki, but there are occasions when I can't find something. I am doing some math. I need to have some math formulas followed ...
10 views

Displaying single vowel or consonant with Kotex package

The latex example below states my question. \documentclass[12pt,letterpaper]{article} \usepackage{kotex} \begin{document} I would like to display the consonants ㅇ and ㄹ along with the vowel ㅣ of the ...
49 views

Biblatex mla - no bibliography, no references, no nothing

I'm relatively new to the world of LaTeX, but so far I managed to put together a nice looking layout by browsing through StackExchange and reading manuals. Now I've been trying for 3 days to get ...
18 views

siunitx: per-mode=fraction in displaystyle with tfrac

Is it possible to display a per-mode=fraction unit as a small fraction (\tfrac) in displaystyle math mode? In the following MWE, the first output is what I want in the displaystyle math mode. ...
147 views

Texmaker- Hotkey for Toggling PDF Viewer

I'm wondering if there is a hotkey to toggle the pdf viewer on/off or if there is a way to configure such a hotkey in Texmaker?
167 views
+150

Grid system for slides

I was wondering if anyone ever tried to typeset slides with a grid layout, ie. something like (see below the tikz grid showing it). Expected functionalities: ability to write text or place image ...
49 views

How to rename an existing command?

I would like to know if renaming a command is possible in LaTeX. For instance, could I change the \section by \sec ? I read that some people used something called "alias".
4k views
+500

Showcase TeX Typography for TUG's Calendar

I'm making a calendar. The calendar will be for TUG, 2015. Last year I also made a calendar but because of time constraints most examples were graphics. Since this is a lot of work, I need your help. ...
12 views

longtable next to longtable [no multicolumn]

I'd like to place multiple tables (two or three) next to each other, with the following requirements: They need to be able to span accross pages They need to be aligned next to each other I need to ...
19 views

ToC with different title from part title in document

I'm using the code below for my \part heading style. I want to be able to modify what appears in ToC as my part name. Possibly put a different text there and also modify its font style (size, shape ...
83 views

How to vertically shift an underbrace?

Is there a way to vertically shift an underbrace downwards? My Problem is, that the underscripts in the following code overlap: \begin{equation*} \mathbf{v}_n \approx \sum_{m} ...
110 views

Dynamic project setup in TeXlipse

I'm using TeXlipse, and it has this default setup: The input file is document.tex and the output file is document.pdf. This leaves me with a lot of files named document. Having more than one project ...
46 views

How to create such a chapter style

I've been trying to create the chapter style shown in the image using memoir class but no luck with that. Can anyone help me out?
13 views

Hyperref \pageref links point to first page

In answering this question I came across an unusual feature of hyperref. The issue is that sometimes the hyperlinks generated by hyperref and \pageref point back to the first page of the document ...
148 views

What is explpreset actually for?

showexpl package is intended to show (La)TeX, TikZ, PSTricks codes and their coressponding rendered outputs at the same time (either horizontally or vertically). Note that it cannot be used to ...
10 views

Listing numbers depend on the global call of explpreset, is it a feature or a bug?

Listing numbers depend on the global call of explpreset, is it a feature or a bug? The following code explains what I mean. \documentclass[preview,border=12pt,12pt]{standalone} \usepackage{xcolor} ...
50 views

Iterate over pages and set variable

I am looking for a way to take the output of a pageref, iterating through, and assigning a property to each of those pages. Specifically, I want to take this: \documentclass{article} ...
10 views

Inserting caption for listings in LyX

I'm using LyX 2.1.1 and want to put captions for listings. I can do this by using LaTeX code in ERT but would like to do by using LyX built-in capabilities of Insert > Program Listing. Any help ...
12 views

Latex acronym package: english terms with german translation

im writing an german text with latex where im using the acronym package where it looks like this: Situation Awareness (SA) But when i have english terms i have to declare them with the german ...
8 views

TeXstudio Not Previewing Bib Entries

TeXstudio has stopped previewing my bib entries as I start to cite them. I am running TeXstudio version 2.8.2, and BibLaTeX with Biber. All I get is suggested codes that matches what I type, but not ...
18 views

Line breaks in custom command that uses tabular environment

I am using a resume template I found here - http://www.davidgrant.ca/latex_resume_template There is a custom command, based around the tabular environment, which is in the MWE below. I would like to ...
61 views

How to use Eastern Armenian month names instead of Western Armenian?

When using for example the datetime package and printing month names, LaTeX uses Western Armenian month names: Յունուար Փետրուար Մարտ Ապրիլ Մայիս Յունիս Յուլիս Օգոստոս Սեպտեմբեր Հոկտեմբեր Նոյեմբեր ...
34 views

Remove a dot from a style!

I'm using the code below to create a theorem style. The style, however, leave a dot after the title in the title box. I want to remove that. Any ideas? \documentclass{article} ...
20 views

Underlined journal names in bibliographystyle of apacite with natbibapa option

I am using these commands: \usepackage[natbibapa]{apacite} and later: \bibliographystyle{apacite} I would like to keep the natbib option because my text already uses citep and citet a lot. The ...
39 views

Japanese and Cyrillic text side by side

I want to write a document in Latex containing Japanese and Cyrillic characters. I have tried many example documents, but so far all have either failed to compile, or have compiled without the ...
27 views

Set tipa font to Times for phonetic characters

I've read in the tipa manual that you can have the tipa font set as Computer Modern (the default) or Times. I'm using Libertine, so Computer Modern doesn't look great, and Times would look better. ...
55 views

bibliography not referencing glossary

My glossary contains definitions from WiKipedia, which I would like to reference as a quote with a /cite command to my bibliography. My bibliography is using hyperrefs to link to the positions within ...
30 views

Having multiple contradictory options, how to handle them?

Lets say you are writing a package, which has the usual pair of draft and final-mode. But how should I handle, if this package gets the global option final and the local draft? Consider the ...
54 views
+50

babel + hyperref: »redefining shorthand« several times per page

consider the following code: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{hyperref} \usepackage{blindtext} \begin{document} \Blindtext\Blindtext\Blindtext ...
22 views

Brackets in two different align “lines” [duplicate]

i want to use a big bracket (\left( , \right)) in an align-enviroment over two lines, so that \begin{align} 0=\left(a+b+c \\ +d+e\right) \end{align} which is not possible, because Latex want me ...
29 views

printglossaries, makeglossaries: (0 entries accepted, 0 rejected)

I'm trying to create a glossary for my document but am having trouble getting it to show up. The last three lines of my document are: \newpage \printglossaries \end{document} I've also got: ...
4k views

Left/Right across multi-line equation

I have a multi-line equation that I want to have matching sized parentheses. The advice I read online was to use \left( equation \right. \\ left. rest-of-equation \right) . However, this syntax leaves ...
21 views

Prepend and append options to options list in environment

I need to define a macro superenv that expands to the usage of an environment which accepts key-value options. superenv should have three arguments: the environment name, the list of options, and the ...
6k views

Draw mechanical springs in TikZ

Currently I am using the following path style to draw springs in TikZ \tikzstyle{spring}=[thick,decorate,decoration={zigzag,pre length=0.1cm,post length=0.1cm,segment length=6}] for example ...
34 views

probsoln's solution environment in beamer documentclass

When compiling this piece of code \documentclass{beamer} %%% save beamer's solution' environment as beamersolution': %\let\beamersolution\solution %\let\endbeamersolution\endsolution %%% ...
29 views

Arch Linux: fontspec does not find system fonts

I am running an Arch Linux / Windows 7 dual boot laptop. The windows partition is mounted under arch and i made the windows fonts usable with ln -s /windows/Windows/fonts/ ...
12 views

How do I use fonts from TeX Live in Graphviz?

So I need to set my fonts for dot the way the pt to be the same as in pdflatex - so I'm looking for a way to use the same fonts pdflatex uses. Note also, that I'm unsure whether cm-super or cm-unicode ...
217 views

Lyx on Ubuntu 14.04: Spell checker has no dictionaries

Situation: I'm trying to spell check for German in Lyx on Ubuntu 14.04. Currently I'm having Enchant selected under Preferences, but I'm open to any alternative to gain "in document" spell checking ...