1
vote
0answers
29 views

Is there such a thing as `\sectionref{}`?

My sections are labeled, for example, as "5.3," where the 5 is the chapter number and the 3 is the section number. Using \ref{} to refer to that section would produce "5.3"; however, I would only like ...
3
votes
1answer
81 views

Why won't ball show up? \ball is undefined control sequence

%A.DOCUMENTCLASSes. %The document class produces a style for the document. %Most papers work fine with the next one. %For letter style see the letter document on the website. % For presentations, see ...
2
votes
2answers
17 views

Misalignment chapter titles with hang option of titlesec package and redefined \cleardoublepage

When I redefine the command \cleardoublepage to include the words "This page has been intentionally left blank", the titles of the chapters are misaligned. \documentclass{book} \usepackage[a4paper, ...
6
votes
1answer
44 views

Thumb index for parts

I found this script but couldn't manage to adjust it for parts. Here's what I got so far: \documentclass{book} \usepackage{background} \usetikzlibrary{calc} \usepackage{ifthen} \usepackage{lipsum} ...
5
votes
1answer
23 views

How to change number style in bibliography for biblatex

I wonder how to change the way that references are listed so that it is of the format 1. rather than [1]? I give a slightly complicated example where I am also reversing the numbers and adding a ...
1
vote
0answers
34 views

How do I tell Texmaker where to look for packages

I recently installed texlive from the internet (using tar found here). When the installation finished, I added the following lines to /etc/bash.bashrc: ...
8
votes
1answer
141 views

This elliptical-orbit diagram compiled fine with TikZ 2.10 but fails with TikZ 3.0. Why?

I borrowed some code on Kepler's 2nd Law from the linked post here on TeX answered by Tosco. I haven't compiled the document it is in awhile but needed today. When I did, I was told dimension too ...
1
vote
0answers
21 views

How to include LaTeX package in R Markdown? [migrated]

I am writing a report with Rmd in RStudio via knitr package. I want to write a indicator variable symbol in the report, like How do you get \mathbb{1} to work (characteristic function of a set)?. ...
0
votes
0answers
22 views

basic beamerposter example, keyval error

I found a beamerposter example at this url: http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php The content suggests that a number of packages may be required, therefore, I use the ...
3
votes
0answers
24 views

PgfPlots bar with missing data causes columns to be “misplaced”

I looked for a similar problem here in SE but I couldn't find it. It's just driving me crazy :| Here is a MWE: \documentclass[xcolor=dvipsnames, 10pt, pdflatex]{beamer} \usepackage[utf8x]{inputenc} ...
1
vote
0answers
83 views

Why do fonts look thinner in adobe and different and richer in sumatra pdf

Same question posted on other portal : Why do fonts look thinner in adobe and different and richer in sumatra pdf. Sumatra Adobe Adobe reader settings:
3
votes
2answers
42 views

Changing your bullet points in beamer block, maybe boadilla?

Can anyone give me a list of the different styles of bullets in beamer? I am looking for the command that will give me the typical 3d looking blue ball in a block I know where to input it in my ...
6
votes
2answers
51 views

Seemingly trivial: verbatim, newenvironment, and colorbox

I am, once again, trying to achieve what seems like a trivial goal. I want to use \newenvironment to define a verbatim environment with a background color. I need to define my own environment because ...
0
votes
1answer
17 views

How do I get rid of vim-latex's output from PDF viewing?

I use vim with VIM-LaTeX. I can use \ll to compile and \lv to view. I've set the following options in my .vimrc file: let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat='pdf' When I type \lv, ...
2
votes
1answer
41 views

a beginner trying out beamer, can't get it to itemize

I can't get this to itemize, I just want a couple bullet points in my block sorry for the lengthy header its my professors lol %A.DOCUMENTCLASSes. %The document class produces a style for the ...
1
vote
1answer
59 views

Simple vertical text in TikZ

How do we write this title vertically in TikZ - similar to vertical text (not in table)?: T T I H T I I M L S S Y E
3
votes
2answers
36 views

Table of Contents within Appendix

My Minimum Working Example: \documentclass{article} \usepackage{appendix} \begin{document} \section{My First Section} \section{My Second Section} \begin{appendices} \section*{My First Appendix} ...
0
votes
0answers
7 views

Skipping ticks in pgfplots plot [duplicate]

I have frequently the problem that too many data points are available for the x axis, I want to show them all in the actual plot, but I would like to show only a subset of the ticks. For instance, if ...
8
votes
2answers
150 views

How does expansion matter?

\newcount\@repeat% \def\repeat#1#2{% \@repeat#1\relax% \ifnum#1>\z@\relax% \advance\@repeat by -1\relax% \repeat{\@repeat}{#2}#2% \fi}% \repeat{2}{1}\\% \repeat{11}{f}\\% ...
2
votes
1answer
23 views

Vertical alignment of image an text within tabular environment placed in header using fancyhdr package

The adjustbox package provides a way to vertically align image and a paragraph of text within the tabular environment; I have included an example which shows this: mwea.tex \documentclass{article} ...
3
votes
0answers
28 views

“n.d.[a]” missing in bibliography [duplicate]

Basically I am trying to implement this solution: http://tex.stackexchange.com/a/127158/17533 using this MWE: \documentclass{scrartcl} ...
1
vote
0answers
30 views

How to align/wrapping pstricks figures and text [on hold]

I´m trying to put easily 3 pstricks pictures in a row (or in a column). I was trying with wrapfigure with no success, so I found any info about subfigure... but I´m trying and LaTeX tell me: ...
5
votes
2answers
104 views

Detect whether I'm in a \footnote?

How do I detect whether I'm in a \footnote environment or not?
0
votes
1answer
47 views

Combining biber with BibLaTeX

I'm trying to use BibLaTeX, is there any other solution instead of using biber to display bibliography ? if it is, does it allow the edition of biblographies refenrences to this format ...
3
votes
2answers
41 views

Detect whether I'm on a left- or right-hand page? [duplicate]

How do I detect whether I'm on a left- or right-hand page? I would like to define a custom command with a conditional statement that executes a certain command if it's on a left-hand page and another ...
8
votes
1answer
69 views

Problems understanding definition of \newif

Reading http://profs.sci.univr.it/~gregorio/introtex.pdf, I have come across the definition of \newif on page 75: \def\newif#1{\@ifdefinable{#1}{\@newif#1}} \def\@newif#1{\count@\escapechar ...
0
votes
0answers
29 views

Some table references sometimes not working

I'm having a problem with \ref to some of my tables. I have lots of tables via several \input{} commands. Some files contain only one table, others multiple tables. The problem is that some of the ...
3
votes
2answers
37 views

How to align table and caption when table is centered on page

I haven't been able to figure out the best way to set up my tables. These are the features that they are supposed to have: Should be centered on page Caption should be "justified" and aligned with ...
3
votes
3answers
69 views

how to resize easily a pstricks picture?

I test my figures in an standalone file, and when I obtain what I want, I pass to my main file with text. How can I do to adapt the size? Because, sometimes I want to put 3 images in a row and I ...
4
votes
1answer
153 views

How to draw a timeline?

How to draw something like this?
0
votes
0answers
24 views

Make left-hand pages' `\marginpar` text right-aligned [duplicate]

\marginpars only appear on the right margins of right-hand pages of my manuscript. For left-hand pages, they are are so far to the left that they aren't even on the page. The reason is because the ...
3
votes
0answers
46 views

Legal concerns in using/modifying/releasing codes [on hold]

In order to meet my needs, I copied 2+62 lines from a .sty file available from the Internet, and removed 10 lines, and added 12+18 lines of codes, resulting in a total of 84 lines in a new .sty file. ...
1
vote
0answers
26 views

Error \pdfendlink ended up in different nesting level than > \pdfstartlink

When compiling this tex file in ShareLaTeX, I get the following error: Error in English1213/LaTeX_English_def.tex (line 96): pdfTeX error (ext4): \pdfendlink ended up in different nesting level ...
0
votes
0answers
30 views

A command for including a folder of macros

Is there any command to include a folder of macros(such as sty,def,... files) in preamble like one for grapphics (\graphicspath{{figures/}}‎‎).
0
votes
0answers
56 views

\in and \forall symbols [on hold]

Here is my code \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[chapter]{algorithm} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{spacing}{1.2} ...
2
votes
0answers
53 views

LuaLaTeX error when compiling visual counter

I asked a question about visual counters in beamer, for which I got this answer. Now I need to compile it by LuaLaTeX in order to use the package luapersian(below code), but it returns some errors. ...
2
votes
1answer
29 views

mdframed: how to prevent a box from splitting?

I would like to prevent an mdframed box to split. I know it could sound absurd, since mdframed is designed to allow splitting but if it could be done, I would be interested in modifying mdframed so ...
8
votes
4answers
176 views

How to merge two tabulars into a single table the width of the column?

I am asking for advice on achieving two separate effects in the table environment. (1) I have two tables with a different number of columns. I need to merge them into a single table. I have this ...
6
votes
1answer
38 views

Cross-reference of custom environments created with environ and TikZ package

Problem: I want to create an environment named Example, and the environment has a counter (number within chapter). I want to refer to the counter for illustration just as the table, figure and ...
4
votes
2answers
51 views

Text Wrapping in tikz node doesn't work

I would like have a few fixed nodes of size 1cm x 1cm. However, the text inside these nodes should wrap around. I used the following questions help to figure out about wrapping text. However it ...
8
votes
1answer
74 views
+150

mdframed: how to prevent a box from splitting if the remaining content (or the initial content) is too small?

Question I would like to prevent mdframed to split a box too early or too late. By this, I mean that I would like the remaining part of the box to always be greater than a fixed length, given before. ...
1
vote
3answers
71 views

Text in quote style with caption

I need to put a output of a program in a quote stile but i need to put a \caption tag like an image or a table. I need to do something like: text other text ... Output X: something What i can do ...
3
votes
1answer
53 views

bmatrix no new row

I use: \[ M= \begin{bmatrix} 1 & 2 & 3 & 4 & 5\\ 3 & 4 & 5 & 6 & 7\\ \end{bmatrix} \] and as a result i have only one row. 1 is combined with 3, 2 with ...
3
votes
1answer
25 views

How to exclude code from spell-checking in LyX?

I'm writing a technical document in LyX (version 2.0.5.1 for Windows) and I'm using Hunspell for spell checking. Throughout the text, there are code snippets which I've formatted with the "Code" text ...
3
votes
1answer
25 views

Angle quotes with csquotes and T2A encoding

I'd like to get this: I can easily get this via \usepackage[T1]{fontenc} and the use of \usepackage[german=guillemets]{csquotes} But for Russian I need [T2A]{fontenc} and the inner quotes get ...
2
votes
1answer
53 views

How to get float numbers as parameter of \newcommand

I have defined a \newcommand function like into this code: \documentclass{scrartcl} \usepackage{pbox,calc} \newcounter{pointsExo} \setcounter{pointsExo}{4} \newcounter{pointsSousTotal} ...
5
votes
2answers
47 views

How to use/define a customized parameter?

I´m generating any grpahs... and I´m playing with any linewidhts values so I would like to type on the beginning of the .TEX a line similar to width1=0.1cm width2=0.15cm width2=0.20cm to avoid ...
1
vote
1answer
17 views

Lyx error: Could not find bind file: ertWarning

I use Lyx 2.0.2 under Linux and I've never hat problems. Since yesterday Lyx does not recognize short cuts. Every time when I try to configure Lyx using the Lyx gui (tools - new configuration) I get ...
5
votes
1answer
46 views

Adding Background color to Columns [duplicate]

I am using a two column article and I want to have a background color for only the columns instead of the entire page. How can I do that ? I am using the following template. I would also like to have ...
2
votes
1answer
44 views

Labelling edges drawn by the draw to command

consider the following code: \documentclass{article} \usepackage[version=0.96]{pgf} \usepackage{tikz} \usetikzlibrary{arrows,shapes,automata,petri} \tikzset{ place/.style={ circle, ...

15 30 50 per page