# All Questions

29 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 ...
95 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: Յունուար Փետրուար Մարտ Ապրիլ Մայիս Յունիս Յուլիս Օգոստոս Սեպտեմբեր Հոկտեմբեր Նոյեմբեր ...
73 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} ...
41 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/ ...
25 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 ...
15 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 ...
133 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} ...
13 views

### How to make \chapter and \part align right and get a quote under them?

Consider this example: http://jmvdveer.home.xs4all.nl/algol68g.pdf Section and chapter titles are set so they align with the right margin, how do I do that? and more importantly, how do I make them ...
13 views

### Tex with arabic letters and Pakoma

I'm working on books written in Arabic language, we build the book as XML file from which we generate Tex and PDF. My question is about page break, with Tex files written in English we use Pakoma ...
21 views

### Tikz generated EPS not opening with other applications like illustrator or GIMP?

A similar question has already been asked but hasn't got an answer. I am generating EPS images using tikz externalise library. When I use those EPS images back in a different latex document they work ...
54 views

### Problem due to an image inserted in a table

This is my follow up question. My previous question is here: How can I do the following in latex Problem: If I add the image in my table, I get the following output as shown in the image below. Why ...
59 views

### How to get simple margins of 2cm?

I have been trying for several days to get simple margins like a Word Document. I have started to learn latex 1 month ago, so Im not very familiar with its strange margins !! Anyways, I would like to ...
46 views

### testing parameter values with \ifx

Let's say that I would like to redefine \@seccntformat so that whenever the section counter is printed, it is prefixed by Section, but other counters should no be changed. Here is my failed attempt: ...
48 views

### How can I do the following in latex [duplicate]

I am new to latex. I have recently started to work with it. I have basic understanding. But still I am trying hard to get the things done. I am struck here. I want some thing like this below on my ...
23 views

### Strange extra line after forloop in a tabular table

I'm trying to generate table lines (tabular environment) with forloop macro. I've got strange extra line after forloop. \documentclass {article} \usepackage [utf8] {inputenc} \usepackage [english] ...
59 views

### How can i change “Table” words in the list of table to bold?

I am preparing a thesis format for my university. They want bold all Table words in list of tables. Relevant part of the codes given below. \def\listoftables{\thispagestyle{empty} \oneandhalfspacing ...
46 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 ...
41 views

### Arrange three images (with an own caption for each) in two rows using subfig package

I would like to arrange three figures like this: a long one on the left and two smaller square ones right to it (above each other). All three images need to have a separate caption. I am using the ...
48 views

### using paracol with breakable box (tcolorbox)

see this MWE \documentclass{article} \usepackage{lipsum} \usepackage{tcolorbox} \usepackage{paracol} \tcbuselibrary{breakable} \begin{document} \begin{paracol}{2} \begin{rightcolumn} \lipsum[1-2] ...
22 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 ...
161 views

### How much space is a line, vertically?

How much space is a line, vertically ? E.g. something like "1.5em" ?
42 views

### How can we change allowframebreaks numbering in the title?

\documentclass{beamer} \begin{document} \section{Proposed Methods} % motivation for creating this theme \begin{frame}[allowframebreaks]{Proposed Methodology} \renewcommand{\baselinestretch}{1.5} % ...
30 views

### How to keep a nice table, it won't line up properly

Basically i'm trying to make a 2x8 table with a variable in the first column with horizontal lines but it won't line up and keeps adding the word "height" into the table when viewed as a pdf. I can't ...
26 views

### Page breaks and memory [duplicate]

Note the following passage in the TeXbook (p. 110) TeX breaks lists of lines into pages by computing badness ratings and penalties, more or less as it does when breaking paragraphs into lines. ...
93 views

### why pdf file is empty? Latex generates no output, no error

one of the auto-generated latex code, for some reason, generates no output in pdf. I made a MWE that has this latex code in it, all inside $....$, and then run pdflatex but the file is empty. ...
40 views

### Enhancing images

Can someone please help me with enhancing images and increasing dpi in Latex? I have come a long way, but took FOREVER to figure out how to format a table, and then format equations and matrices - I ...
78 views

### How to get Arial Narrow typeface in section header in pdflatex

I am new to LaTeX, so I hope this is not obvious, but have searched for straightforward documentation on how to do this and can't find it. I am creating a chapter for a book that has very specific ...
27 views

### LYX - Conditional Sections

I've created an automatic report for my company that gets some input datasets and automatically returns a data analysis report with texts, figures, tables, and some data analysis results. Depending on ...
31 views

### Some commands don't come out in the pdf - TeXmaker

I'm just starting to learn how to use the program and watching tutorials online, at the moment I'm using TexMaker. Everything seems to be going just fine however when I try to use the commands \title, ...
24 views

### Force \displaystyle throughout document (including subscripts and fractions)

How do I force \displaystyle to all instances inside fractions, superscripts, and subscripts throughout the entire document (including intext)? Basically I am looking for something that effects ...
74 views

### TikZ in Beamer: subscope does not inherit visible on from parent scope

In the MWE below, I define a macro \markxy that draws dashed lines from a point to the x and y axes to indicate the x/y coordinates. Since I don't want the dashed lines to be drawn over my other "more ...
53 views

### DALEIF1 margin top

I am new guy on texstackexchange... I am using the daleif1 theme for my heading : \documentclass{memoir} \usepackage{color,calc,graphicx,soul,fourier} ...
164 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 ...
116 views

### Why is the \underbrace off the line?

I have the following problem with \underbrace: As you can see, the third underbrace and its comment are not in the line with the first two. Here is my code: \documentclass[a4paper,12pt]{article} ...
29 views

### Reference list: Suppressing dots after companies names using biblatex

\documentclass[12pt,ngerman,twoside]{article} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[backend=biber,style=apa]{biblatex} \usepackage[german=quotes]{csquotes} ...
52 views

### Slanted fractions

I'm trying to develop a command to typeset slanted fractions. I know about nicefrac and xfrac packages, have tried both, and disliked both. At the moment, in text mode I use \nicefrac with a bit of ...
35 views

### How to change the font family to default for math codes in beamer?

My compiled math font family is not like a default one(e.g., the font used in MahtJaX), but it is same as the text font family. My example code and it's complied one are shown below. ...
24 views

### Printing a handout of a Beamer presentation, the resulting pdf is shrinked!

I use the following code to produce handouts of my presentations. When I open the resulting pdf with a pdf viewer, it is viewed correctly, but when I print it, it is always printed very small, no ...
41 views

### TikZ: Unexpected difference between \draw and — vs \path and edge

While modifying this answer for my own use, I encountered something unexpected. In my experience, using \draw (1) -- (2) is equivalent to \path (1) edge (2). However, adding the option to draw or ...
16 views

### Include SVG aligns/centers different when used with “newcommand”? [duplicate]

this is my first post in this forum, but i have been here a thousand times, enjoying the high-quality answers to often also good quality questions. So i try my best to also provide all needed ...
31 views

### PSTricks package giving xkeyval error

I have been trying to solve this error by myself but did not find a way. So if someone out there can help me, any help is greatly appreciated! I use Texmaker to run MikTex 2.9. I want to use the ...
25 views

### Creating Direct Limits and Inverse Limits using Tikz

I am trying to make something that looks like I am trying to go from here (works): \begin{tikzcd} A \arrow{r}\arrow{rd} &B \arrow{d}\arrow[leftarrow]{r} &C \arrow{ld}\\ &D \end{tikzcd} ...
41 views

### Math mode space after id

I need to write idb in math mode. But a space appears after id and I get id b. How can I remove this space? Code example: $idb$
24 views

### Filtering key-value options

I want to define a new environment whose implementation depends on another environment. The first environment should accept a list of key-value options. Some of these options are for use only on this ...
54 views

### TikZ Tree Rectangle around nodes

below you can see my code of a tree besides a table. Now I would like to insert some rectangles and ellipses around the nodes. Can someone show me how I can do this. I tried it but it did not work. ...
20 views

### How to write an algorithm in french? [Errors]

I am trying to write my algorithm in french language. I found this solution which works for me but with errors. The errors are: \algorithmicendelsif undefined \algorithmicendif undefined ...
80 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 ...
19 views

### My \printnomenclature doest not work

I am using package \usepackage{nomencl}and I have the following format and I save it as chapters.txt in Texworks \documentclass[12pt,titlepage,a4paper]{book} \linespread{1.5} ...